CVE-2025-40348
slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts
Mitigation
- Upgrade Linux to 6ed8bfd24ce1cb31742b09a3eb557cd008533eec or later.
- Upgrade Linux to 6.17.6 or later.
Who should check
- Anyone running Linux >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec
- Anyone running Linux >= 6.12.54, < 6.12.56; >= 6.17.4, < 6.17.6
Vulnerability facts
- Affected
- Linux >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec; Linux >= 6.12.54, < 6.12.56; >= 6.17.4, < 6.17.6
- Fixed in
- Linux 7c34feda6a9a203c9744281f1b6671b7dad2012d, Linux 6ed8bfd24ce1cb31742b09a3eb557cd008533eec, Linux 6.12.56, Linux 6.17.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec | — | cvelist |
| Linux | >= 6.12.54, < 6.12.56; >= 6.17.4, < 6.17.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40348. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40348.md Affected: Linux >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec; Linux >= 6.12.54, < 6.12.5… Fixed in: Linux 7c34feda6a9a203c9744281f1b6671b7dad2012d, Linux 6ed8bfd24ce1cb31742b09a3eb557cd008533eec, Linux 6.12.56, Linux 6.17.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-40348 being exploited?
There is no confirmed exploitation: CVE-2025-40348 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40348?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40348?
Linux >= 715b6a5b41dae39baeaa40d3386b548bb278b9c2, < c7af5300d78460fc5037ddc77113ba3dbfe77dc0; >= 07e38a54cabd9b4de7ceb7f075f29ffa463e458a, < 7c34feda6a9a203c9744281f1b6671b7dad2012d; >= f7381b9116407ba2a429977c80ff8df953ea9354, < 6ed8bfd24ce1cb31742b09a3eb557cd008533eec; Linux >= 6.12.54, < 6.12.56; >= 6.17.4, < 6.17.6.
Is there a fix for CVE-2025-40348?
Yes. Fixed in Linux 7c34feda6a9a203c9744281f1b6671b7dad2012d, Linux 6ed8bfd24ce1cb31742b09a3eb557cd008533eec, Linux 6.12.56, Linux 6.17.6. Upgrade Linux to 6ed8bfd24ce1cb31742b09a3eb557cd008533eec or later. Upgrade Linux to 6.17.6 or later.
How do I check if I'm affected by CVE-2025-40348?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.