CVE-2025-68820
ext4: xattr: fix null pointer deref in ext4_raw_inode()
Reported by linux · Published January 13, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-livepatch-6.1.161-183.298 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.64-87.122.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.64-87.122.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.64-87.122.amzn2023 |
| perf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel-livepatch-6.12.64-87.122 | Amazon Linux | 1:1.0-0.amzn2023 |
11 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3, f737418b6de31c962c7192777ee4018906975383, cf9291a3449b04688b81e32621e88de8f4314b54 |
| Linux | Linux | 6.15, 0, 5.10.248 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.161-183.298 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.6, 3.1.7 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.7, 3.1.6 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.12.64-87.122 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.7, 3.1.6 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.7 |
…and 20 more
Timeline
- Jan 13, 2026 CVE Published
- Jan 14, 2026 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (132 in total, the first dated here)
- Mar 29, 2026 Security Advisory (138 in total, the first dated here)
- Sep 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-68820
vulnetix vdb fixes CVE-2025-68820
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68820/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart