Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50129

published high CVSS 3.1 · 7.0

RDMA/srpt: Fix a use-after-free

Published
18 Jun 2025, 11:02:55 UTC
Updated
05 Aug 2026, 08:57:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa42d985bd5b234da8b61347a78dc3057bf7bb94d to < de95b52d9aabc979166aba81ccbe623aaf9c16a1 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < e60d7e2462bf57273563c4e00dbfa79ee973b9e2 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 4ee8c39968a648d58b273582d4b021044a41ee5e · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 388326bb1c32fcd09371c1d494af71471ef3a04b · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < b5605148e6ce36bb21020d49010b617693933128 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.3 (affected) · 0 to < 3.3 (unaffected · semver) · 5.10.137 through 5.10.* (unaffected · semver) · 5.15.61 through 5.15.* (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-020 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/srpt: Fix a use-after-free Change the LIO port members inside struct srpt_port from regular members into pointers. Allocate the LIO port data structures from inside srpt_make_tport() and free these from inside srpt_make_tport(). Keep struct srpt_device as long as either an RDMA port or a LIO target port is associated with it. This patch decouples the lifetime of struct srpt_port (controlled by the RDMA core) and struct srpt_port_id (controlled by LIO). This patch fixes the following KASAN complaint: BUG: KASAN: use-after-free in srpt_enable_tpg+0x31/0x70 [ib_srpt] Read of size 8 at addr ffff888141cc34b8 by task check/5093 Call Trace: <TASK> show_stack+0x4e/0x53 dump_stack_lvl+0x51/0x66 print_address_description.constprop.0.cold+0xea/0x41e print_report.cold+0x90/0x205 kasan_report+0xb9/0xf0 __asan_load8+0x69/0x90 srpt_enable_tpg+0x31/0x70 [ib_srpt] target_fabric_tpg_base_enable_store+0xe2/0x140 [target_core_mod] configfs_write_iter+0x18b/0x210 new_sync_write+0x1f2/0x2f0 vfs_write+0x3e3/0x540 ksys_write+0xbb/0x140 __x64_sys_write+0x42/0x50 do_syscall_64+0x34/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 </TASK>

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The UAF is reached through local configfs operations on the LIO/srpt target hierarchy (enable store as in the KASAN report, and world-readable TPG attrib show handlers that call srpt_tpg_to_sport), not via remote SRP/RDMA connection processing. AC:H - The use-after-free only appears after srpt_remove_one frees struct srpt_port (RDMA device unbind/hot-remove/module teardown) while LIO configfs still holds references into the embedded srpt_port_id/se_wwn; an unprivileged attacker cannot induce that RDMA lifetime transition. PR:L - After the dangling state exists, CONFIGFS_ATTR show handlers such as srpt_tpg_attrib_*_show are mode S_IRUGO and dereference the freed sport via wwn->priv, so a normal unprivileged local user can trigger the UAF by reading those attributes without root or init-namespace capabilities. UI:N - Exploitation is just reading or writing the already-present configfs attributes; no separate victim action such as mounting a filesystem or opening a user-supplied file is required. S:U - This is a standard in-kernel use-after-free within the host kernel’s authority and does not cross a VM, IOMMU, or other security-authority boundary. C:H - Use-after-free of srpt_port/srpt_port_id lets an attacker reuse the freed object and obtain arbitrary kernel read primitives, so confidentiality impact is High under kernel UAF guidance. I:H - The same heap UAF is exploitable via spraying/reallocation for corruption of kernel objects and control-flow hijacking, so integrity impact is High. A:H - The demonstrated KASAN use-after-free in srpt_enable_tpg and equivalent dangling dereferences in attrib paths can oops/panic the kernel, so availability impact is High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a42d985bd5b234da8b61347a78dc3057bf7bb94d to < de95b52d9aabc979166aba81ccbe623aaf9c16a1 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < e60d7e2462bf57273563c4e00dbfa79ee973b9e2 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 4ee8c39968a648d58b273582d4b021044a41ee5e (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 388326bb1c32fcd09371c1d494af71471ef3a04b (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < b5605148e6ce36bb21020d49010b617693933128 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.3 (affected)0 to < 3.3 (unaffected · semver)5.10.137 through 5.10.* (unaffected · semver)5.15.61 through 5.15.* (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

RDMA/srpt: Fix a use-after-free

Provenance

Schema
5.2
Searchable
yes
Content hash
c42940f5f98baf83f32042045984a2c5f59143af724d8446724ee788551f71ac
Ingested
23 Sep 2026, 08:04:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected