{"id":"CVE-2026-98885","title":"ima: return error early if file xattr cannot be changed","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nima: return error early if file xattr cannot be changed\n\nDuring early boot, the filesystem is read-only and any changes\nto xattrs are not allowed. This fails in case of…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 86acb68ebb220b83def94e7f4c33e24e843970e0","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4d98295357bcacb70874e73117e298a9d7d9b830","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c6988714c0549e06610635c7a71e88635da6db64","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8c77312728d07b60fc028f676e42d842df918bcd","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < dce1b66fcfb40c935f426f602c3a41a7b9f62ba4","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2f29f880e98bf0087215726c45a485afd15b42cf","Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 69fc6474236d9edda6983623e4282f2bdfd8e3d8","Linux < 5.10.271","Linux < 5.15.222","Linux < 6.1.189","Linux < 6.6.158","Linux < 6.12.111","Linux < 6.18.53","Linux (all versions)"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T11:37:41.736Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98885","references":[{"url":"https://git.kernel.org/stable/c/86acb68ebb220b83def94e7f4c33e24e843970e0"},{"url":"https://git.kernel.org/stable/c/4d98295357bcacb70874e73117e298a9d7d9b830"},{"url":"https://git.kernel.org/stable/c/c6988714c0549e06610635c7a71e88635da6db64"},{"url":"https://git.kernel.org/stable/c/8c77312728d07b60fc028f676e42d842df918bcd"},{"url":"https://git.kernel.org/stable/c/dce1b66fcfb40c935f426f602c3a41a7b9f62ba4"},{"url":"https://git.kernel.org/stable/c/2f29f880e98bf0087215726c45a485afd15b42cf"},{"url":"https://git.kernel.org/stable/c/69fc6474236d9edda6983623e4282f2bdfd8e3d8"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.579Z","slug":"CVE-2026-98885","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nima: return error early if file xattr cannot be changed\n\nDuring early boot, the filesystem is read-only and any changes\nto xattrs are not allowed. This fails in case of ext4 because\nchanging xattr starts an ext4 transaction which fails with the\nfollowing warning.\n\nWARNING: fs/ext4/ext4_jbd2.c:75 at ext4_journal_check_start+0x63/0xa0 [ext4], CPU#1: systemd-sysroot/561\nCPU: 1 UID: 0 PID: 561 Comm: systemd-sysroot Not tainted 6.19.12-1-default #1 PREEMPT(voluntary) openSUSE Tumbleweed  c2dfc3c9d9f6f1233251c5d4410574fe82a348ee\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown 02/02/2022\nRIP: 0010:ext4_journal_check_start+0x63/0xa0 [ext4]\nCall Trace:\n  __ext4_journal_start_sb+0x3e/0x180 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1]\n  ext4_xattr_set+0x104/0x150 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1]\n  __vfs_setxattr+0x9a/0xd0\n  __vfs_setxattr_noperm+0x76/0x1f0\n  ima_appraise_measurement+0x23e/0xe40\n  ima_d_path+0x5a/0xd0\n  process_measurement+0xb29/0xc40\n  ? copy_from_kernel_nofault+0x21/0xe0\n  ? fscrypt_file_open+0xc0/0xe0\n  ? ext4_file_open+0x60/0x490 [ext4 6d025f3bc52c89a957b89a89d211fadf5e9434e1]\n  ? bpf_prog_31efb7c56239148b_restrict_filesystems+0xab/0x126\n  ? __bpf_prog_exit+0x23/0xd0\n  ? __bpf_tramp_exit+0xd/0x50\n  ? bpf_trampoline_6442530367+0x9f/0xea\n  ima_file_check+0x57/0x80\n  security_file_post_open+0x50/0xf0\n  path_openat+0x493/0x1650\n  do_filp_open+0xc7/0x170\n\nDetect the state of the file early and return the error.\n\n## Affected\n\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 86acb68ebb220b83def94e7f4c33e24e843970e0`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 4d98295357bcacb70874e73117e298a9d7d9b830`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c6988714c0549e06610635c7a71e88635da6db64`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8c77312728d07b60fc028f676e42d842df918bcd`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < dce1b66fcfb40c935f426f602c3a41a7b9f62ba4`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2f29f880e98bf0087215726c45a485afd15b42cf`\n- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 69fc6474236d9edda6983623e4282f2bdfd8e3d8`\n- `Linux < 5.10.271`\n- `Linux < 5.15.222`\n- `Linux < 6.1.189`\n- `Linux < 6.6.158`\n- `Linux < 6.12.111`\n- `Linux < 6.18.53`\n- `Linux (all versions)`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}