ext4: xattr: fix null pointer deref in ext4_raw_inode()
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 4 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.237 to before 5.10.248; 5.15.181 to before 5.15.198; 6.1.135 to before 6.1.160; 6.6.88 to before 6.6.120; 6.12.24 to before 6.12.64; 5.4.293 to before 5.5; 6.13.12 to before 6.14; 6.14.3 to before 6.15 | 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 5.5, 6.14, 6.15 | Patch available | CNA |
| Linux | Linux | 6.15 and later | 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.237 to before 5.10.248; 5.15.181 to before 5.15.198; 6.1.135 to before 6.1.160; 6.6.88 to before 6.6.120; 6.12.24 to before 6.12.64; 5.4.293 to before 5.5; 6.13.12 to before 6.14; 6.14.3 to before 6.15 Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 5.5, 6.14, 6.15 Patch available CNA
- Linux VendorLinux Affected 6.15 and later Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 5.5, 6.14, 6.15
- Fix · CNA Linux (Linux) Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68820
- 2026-10-03 Alias added: GHSA-mp4c-25vm-9w6p
- 2026-10-19 Weakness changed · CISA ADP
References
Other 7
- https://git.kernel.org/stable/c/b72a3476f0c97d02f63a6e9fff127348d55436f6
- https://git.kernel.org/stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3
- https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f
- https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec
- https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2
- https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142
- https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-68820 · CVE Program
- CVE-2025-68820 · NVD
- FIRST EPSS
- GHSA-mp4c-25vm-9w6p · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68820 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences