CVE-2025-40348
Last modified
CVE-2025-40348 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts If two competing threads enter alloc_slab_obj_exts() and one of them fails to allocate the object extension vector, it might override the valid slab->obj_exts allocated by the other thread with OBJEXTS_ALLOC_FAIL. This will cause the thread that lost this race and expects a valid pointer to dereference a NULL pointer later on. Update slab->obj_exts atomically using cmpxchg() to avoid slab->obj_exts overrides by racing threads. Thanks for Vlastimil and Suren's help with debugging.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts If two competing threads enter alloc_slab_obj_exts() and one of them fails to allocate the object extension vector, it might override the valid slab->obj_exts allocated by the other thread with OBJEXTS_ALLOC_FAIL. This will cause the thread that lost this race and expects a valid pointer to dereference a NULL pointer later on. Update slab->obj_exts atomically using cmpxchg() to avoid slab->obj_exts overrides by racing threads. Thanks for Vlastimil and Suren's help with debugging.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec |
| Linux | Linux | >= 6.12.54, < 6.12.56; >= 6.17.4, < 6.17.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40348?
How severe is CVE-2025-40348?
How do I fix CVE-2025-40348?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40342In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-40343In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40344In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40345In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40346In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40347In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-40349In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-4035A flaw was found in libsoup. When handling cookies, libsoup …4.3
- CVE-2025-40350In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40351In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40352In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40353In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40348?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
