Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 93%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem… (CVE-2025-38022)

0
Medium
Published: 06/18/2025 (06/18/2025, 10:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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().

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream EUS (v.9.4)Red Hat Enterprise Linux BaseOS EUS (v.9.4)Red Hat CodeReady Linux Builder EUS (v.9.4)<5.15.0-1103.110~20.04.1<5.15.0-1110.119~20.04.1<5.15.0-1103.112~20.04.1<5.15.0-173.183~20.04.1<5.15.0-1097.100~20.04.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/25/2026, 05:01:14 UTC

Technical Analysis

The advisory covers four distinct vulnerabilities in the Linux kernel: CVE-2025-38022 fixes a use-after-free read in the RDMA core during device registration; CVE-2025-38568 addresses a stack out-of-bounds write in the multi-queue priority scheduler's traffic control entry parsing; CVE-2025-40294 resolves an out-of-bounds write in Bluetooth management that could cause information disclosure and denial of service; and CVE-2025-40322 fixes an out-of-bounds read in font glyph handling leading to similar impacts. These vulnerabilities are rated as moderate severity by Red Hat and affect Red Hat Enterprise Linux 9.4 Extended Update Support and related variants. The advisory provides updated kernel packages to remediate these issues.

Potential Impact

Successful exploitation of these vulnerabilities may allow an attacker to cause denial of service or gain unauthorized information disclosure on affected systems running the vulnerable Linux kernel versions. The issues involve memory safety errors such as use-after-free and out-of-bounds accesses in critical kernel components, which can compromise system stability and confidentiality.

Mitigation Recommendations

Red Hat has released updated kernel packages that address these vulnerabilities. Users of Red Hat Enterprise Linux 9.4 Extended Update Support and related variants should apply the security update as detailed in the Red Hat advisory RHSA-2026:2594. A system reboot is required for the update to take effect. No additional mitigations are specified by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:2594
Cve Count
4
Additional Cves
["CVE-2025-38568","CVE-2025-40294","CVE-2025-40322"]
Cvss Version
null

Threat ID: 6a3caf104853345fc153cadf

Added to database: 06/25/2026, 04:31:12 UTC

Last enriched: 06/25/2026, 05:01:14 UTC

Last updated: 08/24/2026, 22:52:05 UTC

Views: 141

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses