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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-10-01T07:42:49.415Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 872f2c34ff232af1e65ad2df86d61163c8ffad42; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before f66012909e7bf383fcdc5850709ed5716073fdc4; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 7e287256904ee796c9477e3ec92b07f236481ef3; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 1f0797f17927b5cad0fb7eced422f9a7c30a3191; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 0ef7058b4dc6fcef622ac23b45225db57f17b83f; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before dda6ec365ab04067adae40ef17015db447e90736; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before 3baa1da473e6e50281324ff1d332d1a07a3bb02e; from 81819f0fc8285a2a5a921c019e3e3d7b6169d225 before b4efccec8d06ceb10a7d34d7b1c449c569d53770; 2.6.22 (not affected: before 2.6.22; from 5.4.299 up to 5.4.*; from 5.10.243 up to 5.10.*; from 5.15.192 up to 5.15.*; from 6.1.151 up to 6.1.*; from 6.6.105 up to 6.6.*; from 6.12.46 up to 6.12.*; from 6.16.6 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.22 before 5.4.299; from 5.5 before 5.10.243; from 5.11 before 5.15.192; from 5.16 before 6.1.151; from 6.2 before 6.6.105; from 6.7 before 6.12.46; from 6.13 before 6.16.6; 6.17
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-39902](https://www.cve.org/CVERecord?id=CVE-2025-39902), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-39902](https://nvd.nist.gov/vuln/detail/CVE-2025-39902), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39902 · Whole record: https://cve.day/CVE-2025-39902.json · Rebuilt by cve.day 2026-11-25T22:59:05.384Z
