CVE-2025-39902
mm/slub: avoid accessing metadata when pointer is invalid in object_err()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 872f2c34ff232af1e65ad2df86d61163c8ffad42; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < f66012909e7bf383fcdc5850709ed5716073fdc4; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 7e287256904ee796c9477e3ec92b07f236481ef3; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 1f0797f17927b5cad0fb7eced422f9a7c30a3191; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 0ef7058b4dc6fcef622ac23b45225db57f17b83f; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < dda6ec365ab04067adae40ef17015db447e90736; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 3baa1da473e6e50281324ff1d332d1a07a3bb02e; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < b4efccec8d06ceb10a7d34d7b1c449c569d53770
- Anyone running Linux 2.6.22
Vulnerability facts
- Affected
- Linux >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 872f2c34ff232af1e65ad2df86d61163c8ffad42; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < f66012909e7bf383fcdc5850709ed5716073fdc4; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 7e287256904ee796c9477e3ec92b07f236481ef3; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 1f0797f17927b5cad0fb7eced422f9a7c30a3191; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 0ef7058b4dc6fcef622ac23b45225db57f17b83f; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < dda6ec365ab04067adae40ef17015db447e90736; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 3baa1da473e6e50281324ff1d332d1a07a3bb02e; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < b4efccec8d06ceb10a7d34d7b1c449c569d53770; Linux 2.6.22
- Fixed in
- Linux 872f2c34ff232af1e65ad2df86d61163c8ffad42, Linux 7e287256904ee796c9477e3ec92b07f236481ef3, Linux 1f0797f17927b5cad0fb7eced422f9a7c30a3191, Linux 0ef7058b4dc6fcef622ac23b45225db57f17b83f, Linux 3baa1da473e6e50281324ff1d332d1a07a3bb02e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/slub: avoid accessing metadata when pointer is invalid in object_err() object_err() reports details of an object for further debugging, such as the freelist pointer, redzone, etc. However, if the pointer is invalid, attempting to access object metadata can lead to a crash since it does not point to a valid object. One known path to the crash is when alloc_consistency_checks() determines the pointer to the allocated object is invalid because of a freelist corruption, and calls object_err() to report it. The debug code should report and handle the corruption gracefully and not crash in the process. In case the pointer is NULL or check_valid_pointer() returns false for the pointer, only print the pointer value and skip accessing metadata.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 872f2c34ff232af1e65ad2df86d61163c8ffad42; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < f66012909e7bf383fcdc5850709ed5716073fdc4; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 7e287256904ee796c9477e3ec92b07f236481ef3; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 1f0797f17927b5cad0fb7eced422f9a7c30a3191; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 0ef7058b4dc6fcef622ac23b45225db57f17b83f; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < dda6ec365ab04067adae40ef17015db447e90736; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 3baa1da473e6e50281324ff1d332d1a07a3bb02e; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < b4efccec8d06ceb10a7d34d7b1c449c569d53770 | — | cvelist |
| Linux | 2.6.22 | — | 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-39902. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39902.md Affected: Linux >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 872f2c34ff232af1e65ad2df86d61163c8ffad42; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < f66012909e7bf383fcdc5850709ed5716073fdc4; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 7e287256904ee796c9477e3ec92b07f236481ef3; >= 81819f0fc8285a2a5a921c0… Fixed in: Linux 872f2c34ff232af1e65ad2df86d61163c8ffad42, Linux 7e287256904ee796c9477e3ec92b07f236481ef3, Linux 1f0797f17927b5cad0fb7eced422f9a7c30a3191, Linux 0ef7058b4dc6fcef622ac23b45225db57f17b83f, Linux 3baa1da473e6e50281324ff1d332d1a07a3bb02e 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
Patches
- https://git.kernel.org/stable/c/872f2c34ff232af1e65ad2df86d61163c8ffad42
- https://git.kernel.org/stable/c/f66012909e7bf383fcdc5850709ed5716073fdc4
- https://git.kernel.org/stable/c/7e287256904ee796c9477e3ec92b07f236481ef3
- https://git.kernel.org/stable/c/1f0797f17927b5cad0fb7eced422f9a7c30a3191
- https://git.kernel.org/stable/c/0ef7058b4dc6fcef622ac23b45225db57f17b83f
- https://git.kernel.org/stable/c/dda6ec365ab04067adae40ef17015db447e90736
- https://git.kernel.org/stable/c/3baa1da473e6e50281324ff1d332d1a07a3bb02e
- https://git.kernel.org/stable/c/b4efccec8d06ceb10a7d34d7b1c449c569d53770
FAQ
Is CVE-2025-39902 being exploited?
There is no confirmed exploitation: CVE-2025-39902 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39902?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39902?
Linux >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 872f2c34ff232af1e65ad2df86d61163c8ffad42; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < f66012909e7bf383fcdc5850709ed5716073fdc4; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 7e287256904ee796c9477e3ec92b07f236481ef3; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 1f0797f17927b5cad0fb7eced422f9a7c30a3191; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 0ef7058b4dc6fcef622ac23b45225db57f17b83f; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < dda6ec365ab04067adae40ef17015db447e90736; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < 3baa1da473e6e50281324ff1d332d1a07a3bb02e; >= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, < b4efccec8d06ceb10a7d34d7b1c449c569d53770; Linux 2.6.22.
Is there a fix for CVE-2025-39902?
Yes. Fixed in Linux 872f2c34ff232af1e65ad2df86d61163c8ffad42, Linux 7e287256904ee796c9477e3ec92b07f236481ef3, Linux 1f0797f17927b5cad0fb7eced422f9a7c30a3191, Linux 0ef7058b4dc6fcef622ac23b45225db57f17b83f, Linux 3baa1da473e6e50281324ff1d332d1a07a3bb02e. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-39902?
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.