CVE-2025-68820
NoneCVSS
—
EPSS
0.2%
Published
Jan 13, 2026
CISA due date
—
Cloudanix analysis
A flaw in how Linux handles file attributes on certain disk formats can make the whole computer crash without warning.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Null pointer dereference in ext4_xattr_inode_dec_ref_all() after ext4_get_inode_loc() fails and leaves iloc.bh as NULL, causing ext4_raw_inode() to crash the kernel.
Why it matters to the business
Unexpected system crashes or denial of service on Linux systems using ext4 filesystems with extended attributes, potentially disrupting operations on servers or devices; high ecosystem prevalence increases exposure for organizations running unpatched kernels.
How an attack unfolds
An attacker with local access or ability to trigger filesystem corruption can cause ext4_get_inode_loc() to fail (e.g., via -EFSCORRUPTED), then invoke xattr reference decrement paths that blindly dereference the NULL buffer head, leading to kernel panic.
How to fix it
Upgrade Linux kernel to version 5.10.248 or later, or apply commit b72a3476f0c97d02f63a6e9fff127348d55436f6 in the stable tree; rebuild and reboot affected systems with the fixed kernel.
How to confirm the fix worked
Verify running kernel version against fixed releases; inspect ext4 source for presence of error checks around ext4_get_inode_loc() and iloc.bh before xattr reference handling; test with corrupted filesystem images that previously triggered the path.
Typical attack path
- Gain local access or control filesystem metadata to induce ext4_get_inode_loc() failure
- Trigger xattr operations that call ext4_xattr_inode_dec_ref_all() without checking for prior errors
- Cause null dereference in ext4_raw_inode() resulting in kernel crash or potential memory corruption
How to detect it
Review kernel logs (dmesg, /var/log/kern.log, journalctl) for null pointer dereference oops mentioning ext4_raw_inode, ext4_xattr_inode_dec_ref_all, or ext4_get_inode_loc failures; correlate with recent xattr or inode operations on ext4 mounts.
- ext4_raw_inode
- ext4_xattr_inode_dec_ref_all
- ext4_get_inode_loc.*EFSCORRUPTED
- kernel: BUG: unable to handle kernel NULL pointer dereference
What your security team should do
- Prioritize kernel upgrades on all production ext4 systems within standard patch windows
- Monitor for kernel oops/panic reports involving ext4 xattr functions
- Consider filesystem integrity checks (fsck) on high-risk volumes to reduce trigger conditions
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 0 | 5.10.248 |
| Mageia:9 | kernel | 0 | 6.6.120-1.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.120-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.1.14-14.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-88.mga9 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.26.1.160000.2.7 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.26.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.26.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel