CVE-2026-98885
ima: return error early if file xattr cannot be changed
Check your servers for CVE-2026-98885
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98885 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ima: return error early if file xattr cannot be changed
During early boot, the filesystem is read-only and any changes to xattrs are not allowed. This fails in case of ext4 because changing xattr starts an ext4 transaction which fails with the following warning.
WARNING: fs/ext4/ext4_jbd2.c:75 at ext4_journal_check_start+0x63/0xa0 [ext4], CPU#1: systemd-sysroot/561 CPU: 1 UID: 0 PID: 561 Comm: systemd-sysroot Not tainted 6.19.12-1-default #1 PREEMPT(voluntary) openSUSE Tumbleweed c2dfc3c9d9f6f1233251c5d4410574fe82a348ee Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown 02/02/2022 RIP: 0010:ext4_journal_check_start+0x63/0xa0 [ext4] Call Trace: __ext4_journal_start_sb+0x3e/0x180 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1] ext4_xattr_set+0x104/0x150 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1] __vfs_setxattr+0x9a/0xd0 __vfs_setxattr_noperm+0x76/0x1f0 ima_appraise_measurement+0x23e/0xe40 ima_d_path+0x5a/0xd0 process_measurement+0xb29/0xc40 ? copy_from_kernel_nofault+0x21/0xe0 ? fscrypt_file_open+0xc0/0xe0 ? ext4_file_open+0x60/0x490 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1] ? bpf_prog_31efb7c56239148b_restrict_filesystems+0xab/0x126 ? __bpf_prog_exit+0x23/0xd0 ? __bpf_tramp_exit+0xd/0x50 ? bpf_trampoline_6442530367+0x9f/0xea ima_file_check+0x57/0x80 security_file_post_open+0x50/0xf0 path_openat+0x493/0x1650 do_filp_open+0xc7/0x170
Detect the state of the file early and return the error.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.72% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before 86acb68ebb220b83def94e7f4c33e24e843970e0 affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before 4d98295357bcacb70874e73117e298a9d7d9b830 affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before c6988714c0549e06610635c7a71e88635da6db64 affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before 8c77312728d07b60fc028f676e42d842df918bcd affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before dce1b66fcfb40c935f426f602c3a41a7b9f62ba4 affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before 2f29f880e98bf0087215726c45a485afd15b42cf affected from 07f6a79415d7d502ee0c7d02ace6594a7be7429a, before 69fc6474236d9edda6983623e4282f2bdfd8e3d8
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98885 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98885
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98885
trivy image --scanners vuln IMAGE | grep CVE-2026-98885
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/86acb68ebb220b83def94e7f4c33e24e843970e0 git.kernel.org
- https://git.kernel.org/stable/c/4d98295357bcacb70874e73117e298a9d7d9b830 git.kernel.org
- https://git.kernel.org/stable/c/c6988714c0549e06610635c7a71e88635da6db64 git.kernel.org
- https://git.kernel.org/stable/c/8c77312728d07b60fc028f676e42d842df918bcd git.kernel.org
- https://git.kernel.org/stable/c/dce1b66fcfb40c935f426f602c3a41a7b9f62ba4 git.kernel.org
- https://git.kernel.org/stable/c/2f29f880e98bf0087215726c45a485afd15b42cf git.kernel.org
- https://git.kernel.org/stable/c/69fc6474236d9edda6983623e4282f2bdfd8e3d8 git.kernel.org
Source: the record CVE-2026-98885 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse