CVE-2025-68820
ext4: xattr: fix null pointer deref in ext4_raw_inode()
Check your servers for CVE-2025-68820
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-68820 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:
ext4: xattr: fix null pointer deref in ext4_raw_inode()
If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all() lacks error checking, this will lead to a null pointer dereference in ext4_raw_inode(), called right after ext4_get_inode_loc().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 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
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, before b72a3476f0c97d02f63a6e9fff127348d55436f6 affected from f737418b6de31c962c7192777ee4018906975383, before 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3 affected from cf9291a3449b04688b81e32621e88de8f4314b54, before 190ad0f22ba49f1101182b80e3af50ca2ddfe72f affected from 362a90cecd36e8a5c415966d0b75b04a0270e4dd, before b5d942922182e82724b7152cb998f540132885ec affected from eb59cc31b6ea076021d14b04e7faab1636b87d0e, before 5b154e901fda2e98570b8f426a481f5740097dc2 affected from c8e008b60492cf6fd31ef127aea6d02fd3d314cd, before ce5f54c065a4a7cbb92787f4f140917112350142 affected from c8e008b60492cf6fd31ef127aea6d02fd3d314cd, before b97cb7d6a051aa6ebd57906df0e26e9e36c26d14 affected 6aff941cb0f7d0c897c3698ad2e30672709135e3 affected 3bc6317033f365ce578eb6039445fb66162722fd affected 836e625b03a666cf93ff5be328c8cb30336db872 affected from 5.10.237, before 5.10.248 affected from 5.15.181, before 5.15.198 affected from 6.1.135, before 6.1.160 affected from 6.6.88, before 6.6.120 affected from 6.12.24, before 6.12.64 affected from 5.4.293, before 5.5 affected from 6.13.12, before 6.14 affected from 6.14.3, before 6.15
Other versions: unaffected
|
| Linux |
affected 6.15 unaffected before 6.15 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 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-68820 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68820
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-68820
trivy image --scanners vuln IMAGE | grep CVE-2025-68820
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/b72a3476f0c97d02f63a6e9fff127348d55436f6 git.kernel.org
- https://git.kernel.org/stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3 git.kernel.org
- https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f git.kernel.org
- https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec git.kernel.org
- https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2 git.kernel.org
- https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142 git.kernel.org
- https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68820 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse