CVE-2025-68820: ext4: xattr: fix null pointer deref in ext4_raw_inode()
In the Linux kernel, the following vulnerability has been resolved:
ext4: xattr: fix null pointer deref in ext4rawinode()
If ext4getinodeloc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4xattrinodedecrefall() lacks error checking, this will lead to a null pointer dereference in ext4rawinode(), called right after ext4getinodeloc().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68820?
CVE-2025-68820 has been classified with a high severity rating due to its potential to cause a null pointer dereference, leading to system crashes.
What systems are affected by CVE-2025-68820?
CVE-2025-68820 affects the Linux kernel, specifically versions that implement the ext4 file system.
How do I fix CVE-2025-68820?
To fix CVE-2025-68820, update your Linux kernel to the patched version that addresses the null pointer dereference in ext4_raw_inode().
What are the potential consequences of exploiting CVE-2025-68820?
Exploitation of CVE-2025-68820 could lead to system crashes, data loss, or denial of service.
Is CVE-2025-68820 a critical vulnerability?
While not classified as critical, CVE-2025-68820 poses significant risks and should be addressed promptly to maintain system stability.