# CVE-2025-68820: ext4: xattr: fix null pointer deref in ext4\_raw\_inode()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-13T15:29:23.351Z
- **Modified:** 2026-11-10T13:18:02.443Z

## Who should check

- Anyone running Linux \>= 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, \< b72a3476f0c97d02f63a6e9fff127348d55436f6; \>= f737418b6de31c962c7192777ee4018906975383, \< 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3; \>= cf9291a3449b04688b81e32621e88de8f4314b54, \< 190ad0f22ba49f1101182b80e3af50ca2ddfe72f; \>= 362a90cecd36e8a5c415966d0b75b04a0270e4dd, \< b5d942922182e82724b7152cb998f540132885ec; \>= eb59cc31b6ea076021d14b04e7faab1636b87d0e, \< 5b154e901fda2e98570b8f426a481f5740097dc2; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< ce5f54c065a4a7cbb92787f4f140917112350142; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< b97cb7d6a051aa6ebd57906df0e26e9e36c26d14; 6aff941cb0f7d0c897c3698ad2e30672709135e3; 3bc6317033f365ce578eb6039445fb66162722fd; 836e625b03a666cf93ff5be328c8cb30336db872; …
- Anyone running Linux 6.15

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

## Affected and fixed versions

- Linux: \>= 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, \< b72a3476f0c97d02f63a6e9fff127348d55436f6; \>= f737418b6de31c962c7192777ee4018906975383, \< 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3; \>= cf9291a3449b04688b81e32621e88de8f4314b54, \< 190ad0f22ba49f1101182b80e3af50ca2ddfe72f; \>= 362a90cecd36e8a5c415966d0b75b04a0270e4dd, \< b5d942922182e82724b7152cb998f540132885ec; \>= eb59cc31b6ea076021d14b04e7faab1636b87d0e, \< 5b154e901fda2e98570b8f426a481f5740097dc2; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< ce5f54c065a4a7cbb92787f4f140917112350142; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< b97cb7d6a051aa6ebd57906df0e26e9e36c26d14; 6aff941cb0f7d0c897c3698ad2e30672709135e3; 3bc6317033f365ce578eb6039445fb66162722fd; 836e625b03a666cf93ff5be328c8cb30336db872; … (cvelist)
- Linux: 6.15 (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-68820. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68820.md
Affected: Linux >= 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, < b72a3476f0c97d02f63a6e9fff127348d55436f6; >= f737418b6de31c962c7192777ee4018906975383, < 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3; >= cf9291a3449b04688b81e32621e88de8f4314b54, < 190ad0f22ba49f1101182b80e3af50ca2ddfe72f; >= 362a90cecd36e8a5c415966…
Fixed in: Linux 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3, Linux 190ad0f22ba49f1101182b80e3af50ca2ddfe72f, Linux 5b154e901fda2e98570b8f426a481f5740097dc2

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-68820 being exploited?

There is no confirmed exploitation: CVE-2025-68820 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68820?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68820?

Linux \>= 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, \< b72a3476f0c97d02f63a6e9fff127348d55436f6; \>= f737418b6de31c962c7192777ee4018906975383, \< 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3; \>= cf9291a3449b04688b81e32621e88de8f4314b54, \< 190ad0f22ba49f1101182b80e3af50ca2ddfe72f; \>= 362a90cecd36e8a5c415966d0b75b04a0270e4dd, \< b5d942922182e82724b7152cb998f540132885ec; \>= eb59cc31b6ea076021d14b04e7faab1636b87d0e, \< 5b154e901fda2e98570b8f426a481f5740097dc2; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< ce5f54c065a4a7cbb92787f4f140917112350142; \>= c8e008b60492cf6fd31ef127aea6d02fd3d314cd, \< b97cb7d6a051aa6ebd57906df0e26e9e36c26d14; 6aff941cb0f7d0c897c3698ad2e30672709135e3; 3bc6317033f365ce578eb6039445fb66162722fd; 836e625b03a666cf93ff5be328c8cb30336db872; …; Linux 6.15.

### Is there a fix for CVE-2025-68820?

Yes. Fixed in Linux 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3, Linux 190ad0f22ba49f1101182b80e3af50ca2ddfe72f, Linux 5b154e901fda2e98570b8f426a481f5740097dc2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68820?

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

- other: <https://git.kernel.org/stable/c/b72a3476f0c97d02f63a6e9fff127348d55436f6>
- other: <https://git.kernel.org/stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3>
- other: <https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f>
- other: <https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec>
- other: <https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2>
- other: <https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142>
- other: <https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-68820>

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