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-2025-38022

published high CVSS 3.1 · 7.8

RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem

Published
18 Jun 2025, 09:28:29 UTC
Updated
05 Aug 2026, 11:59:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux53e9a5a692f839780084ad81dbd461ec917f74f7 to < ba467b6870ea2a73590478d9612d6ea1dcdd68b7 · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < 5629064f92f0de6d6b3572055cd35361c3ad953c · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < 312dae3499106ec8cb7442ada12be080aa9fbc3b · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < 17d3103325e891e10994e7aa28d12bea04dc2c60 · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < 10c7f1c647da3b77ef8827d974a97b6530b64df0 · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < 03df57ad4b0ff9c5a93ff981aba0b42578ad1571 · 779e0bf47632c609c59f527f9711ecd3214dccb0 to < d0706bfd3ee40923c001c6827b786a309e2a8713 · 9b54e31fd08f8d8db507d021c88e760d5f8e4640 · 5.10.4 to < 5.10.248 · 5.4.86 to < 5.5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.30 through 6.12.* (unaffected · semver) · 6.14.8 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-091 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-110 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1053 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.31.1.el10_1 ALSA-2026:1690
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.31.1.el10_1 ALSA-2026:1690
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1210 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.100.1.rt7.441.el8_10 ALSA-2026:1661
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 perf Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.100.1.el8_10 ALSA-2026:1662
AlmaLinux 9 kernel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.30.1.el9_7 ALSA-2026:2212

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/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 strlen+0x93/0xa0 lib/string.c:420 __fortify_strlen include/linux/fortify-string.h:268 [inline] get_kobj_path_length lib/kobject.c:118 [inline] kobject_get_path+0x3f/0x2a0 lib/kobject.c:158 kobject_uevent_env+0x289/0x1870 lib/kobject_uevent.c:545 ib_register_device drivers/infiniband/core/device.c:1472 [inline] ib_register_device+0x8cf/0xe00 drivers/infiniband/core/device.c:1393 rxe_register_device+0x275/0x320 drivers/infiniband/sw/rxe/rxe_verbs.c:1552 rxe_net_add+0x8e/0xe0 drivers/infiniband/sw/rxe/rxe_net.c:550 rxe_newlink+0x70/0x190 drivers/infiniband/sw/rxe/rxe.c:225 nldev_newlink+0x3a3/0x680 drivers/infiniband/core/nldev.c:1796 rdma_nl_rcv_msg+0x387/0x6e0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2e5/0x450 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x53a/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmsg+0x16d/0x220 net/socket.c:2652 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f This problem is similar to the problem that the commit 1d6a9e7449e2 ("RDMA/core: Fix use-after-free when rename device name") fixes. The root cause is: the function ib_device_rename() renames the name with lock. But in the function kobject_uevent(), this name is accessed without lock protection at the same time. The solution is to add the lock protection when this name is accessed in the function kobject_uevent().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

80

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Both sides of the race are reached via `sendmsg()` on a local NETLINK_RDMA socket (`rdma_nl_rcv_msg` → `nldev_newlink` / `nldev_set_doit`), which requires local system access. No remote peer data reaches the vulnerable code. AC:L - The attacker controls both sides of the race, looping RDMA_NLDEV_CMD_NEWLINK in one thread and RDMA_NLDEV_CMD_SET (rename) in another; `enable_device_and_get()` marks the device DEVICE_REGISTERED and drops to refcount 2 before the unprotected `kobject_uevent()`, leaving a reliably hittable window that syzkaller reproduced. PR:L - The gate is `netlink_capable(skb, CAP_NET_ADMIN)`, which checks init_user_ns and so is not obtainable via `unshare -Urn`, but CAP_NET_ADMIN in the initial user namespace is routinely delegated to non-root, container-confined workloads (Docker/K8s do not enable user namespaces by default, and RDMA/SR-IOV network plugins commonly run with `--cap-add=NET_ADMIN`). Scored as a low-privileged principal rather than real host root. UI:N - The attacker triggers both the device registration and the concurrent rename entirely on its own via netlink; no victim action is involved. S:U - The use-after-free is in kernel slab memory and its impact stays within the kernel's security authority; no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The freed `kobj->name` slab object is `strlen`'d and `memcpy`'d into the `DEVPATH=` uevent variable that is broadcast to userspace listeners and the uevent helper, so reallocated kernel heap contents are disclosed outside the kernel, and the unterminated `strlen` reads out of bounds past the freed chunk. I:H - This is a slab use-after-free where the attacker can spray the freed kmalloc chunk and control the data the kernel then consumes; per UAF-class scoring the reallocation primitive is treated as exploitable for kernel state corruption, and the resulting bogus DEVPATH also drives userspace device management onto the wrong sysfs path. A:H - KASAN reports a slab-use-after-free read that can fault and oops when the backing page is freed or under KFENCE/page poisoning, and `kobject_get_path()`'s `retry` loop can spin under a sustained rename storm, both causing denial of service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 53e9a5a692f839780084ad81dbd461ec917f74f7 to < ba467b6870ea2a73590478d9612d6ea1dcdd68b7 (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < 5629064f92f0de6d6b3572055cd35361c3ad953c (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < 312dae3499106ec8cb7442ada12be080aa9fbc3b (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < 17d3103325e891e10994e7aa28d12bea04dc2c60 (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < 10c7f1c647da3b77ef8827d974a97b6530b64df0 (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < 03df57ad4b0ff9c5a93ff981aba0b42578ad1571 (affected · git)779e0bf47632c609c59f527f9711ecd3214dccb0 to < d0706bfd3ee40923c001c6827b786a309e2a8713 (affected · git)9b54e31fd08f8d8db507d021c88e760d5f8e4640 (affected · git)5.10.4 to < 5.10.248 (affected · semver)5.4.86 to < 5.5 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.30 through 6.12.* (unaffected · semver)6.14.8 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

2

Linux · cna

RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
dbcef3761fec22e1565fb5de6100cb51e2afa90a2f6cccca6655005065bca134
Ingested
23 Sep 2026, 08:46:29 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