CVE-2025-39902
mm/slub: avoid accessing metadata when pointer is invalid in object_err()
Check your servers for CVE-2025-39902
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39902 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.03% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before 872f2c34ff232af1e65ad2df86d61163c8ffad42 affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before f66012909e7bf383fcdc5850709ed5716073fdc4 affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before 7e287256904ee796c9477e3ec92b07f236481ef3 affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before 1f0797f17927b5cad0fb7eced422f9a7c30a3191 affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before 0ef7058b4dc6fcef622ac23b45225db57f17b83f affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before dda6ec365ab04067adae40ef17015db447e90736 affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before 3baa1da473e6e50281324ff1d332d1a07a3bb02e affected from 81819f0fc8285a2a5a921c019e3e3d7b6169d225, before b4efccec8d06ceb10a7d34d7b1c449c569d53770
Other versions: unaffected
|
| Linux |
affected 2.6.22 unaffected before 2.6.22 unaffected from 5.4.299 up to and including 5.4.* unaffected from 5.10.243 up to and including 5.10.* unaffected from 5.15.192 up to and including 5.15.* unaffected from 6.1.151 up to and including 6.1.* unaffected from 6.6.105 up to and including 6.6.* unaffected from 6.12.46 up to and including 6.12.* unaffected from 6.16.6 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39902 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39902
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39902
trivy image --scanners vuln IMAGE | grep CVE-2025-39902
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/872f2c34ff232af1e65ad2df86d61163c8ffad42 git.kernel.org
- https://git.kernel.org/stable/c/f66012909e7bf383fcdc5850709ed5716073fdc4 git.kernel.org
- https://git.kernel.org/stable/c/7e287256904ee796c9477e3ec92b07f236481ef3 git.kernel.org
- https://git.kernel.org/stable/c/1f0797f17927b5cad0fb7eced422f9a7c30a3191 git.kernel.org
- https://git.kernel.org/stable/c/0ef7058b4dc6fcef622ac23b45225db57f17b83f git.kernel.org
- https://git.kernel.org/stable/c/dda6ec365ab04067adae40ef17015db447e90736 git.kernel.org
- https://git.kernel.org/stable/c/3baa1da473e6e50281324ff1d332d1a07a3bb02e git.kernel.org
- https://git.kernel.org/stable/c/b4efccec8d06ceb10a7d34d7b1c449c569d53770 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-39902 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse