# CVE-2025-39902: mm/slub: avoid accessing metadata when pointer is invalid in object\_err()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-01T07:42:49.415Z
- **Modified:** 2026-10-19T21:10:00.160Z

## 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

## 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

- Linux: \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< 872f2c34ff232af1e65ad2df86d61163c8ffad42; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< f66012909e7bf383fcdc5850709ed5716073fdc4; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< 7e287256904ee796c9477e3ec92b07f236481ef3; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< 1f0797f17927b5cad0fb7eced422f9a7c30a3191; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< 0ef7058b4dc6fcef622ac23b45225db57f17b83f; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< dda6ec365ab04067adae40ef17015db447e90736; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< 3baa1da473e6e50281324ff1d332d1a07a3bb02e; \>= 81819f0fc8285a2a5a921c019e3e3d7b6169d225, \< b4efccec8d06ceb10a7d34d7b1c449c569d53770 (cvelist)
- Linux: 2.6.22 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/872f2c34ff232af1e65ad2df86d61163c8ffad42>
- patch: <https://git.kernel.org/stable/c/f66012909e7bf383fcdc5850709ed5716073fdc4>
- patch: <https://git.kernel.org/stable/c/7e287256904ee796c9477e3ec92b07f236481ef3>
- patch: <https://git.kernel.org/stable/c/1f0797f17927b5cad0fb7eced422f9a7c30a3191>
- patch: <https://git.kernel.org/stable/c/0ef7058b4dc6fcef622ac23b45225db57f17b83f>
- patch: <https://git.kernel.org/stable/c/dda6ec365ab04067adae40ef17015db447e90736>
- patch: <https://git.kernel.org/stable/c/3baa1da473e6e50281324ff1d332d1a07a3bb02e>
- patch: <https://git.kernel.org/stable/c/b4efccec8d06ceb10a7d34d7b1c449c569d53770>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39902>

HTML: <https://flawdb.com/CVE-2025-39902> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39902>
