Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792755567; b=GZNS7kSn+hyoDjqffDnElVTfNKGas30IoXXljvkwXAOuP3P+tc73b5d8d/KOaP+I6pK5 gEtC6N669dcXaXP+Z+DhBsdXPWZ7fatnJpNlNMXtObIUcvJQk7w6phmR1T0vivLNMEEJ0 TYFSZoIO9aVPmuSw9sXP/l50ko7hmr6cVUcuR0JSEYvcXYn2JiaHZMWhhU9ja/Ot6yhhC GTsAoSYjHXotfNR/mz9PYrF60t71uLsgWMBgM7XEaZWPsrUt3xiFBv2ymB4GY6zCcduNo I8euH1XSjjMQe2fTdMedkcW0OpstKosgxylRx7olns/hhPorrRc6QpsMNMdukqwGvOA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792755567; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=BfPrmhUEeTz7FJHnbGQ90SI4svdawLIqp2QyyuFCBtQ=; b=uCilNGtN14zbwmQH7Z+m/jBHAmRzU7/8WjjaynHgbd0k2g6SyjdsxwkVgUha1CzOIfMj r0g7AoEHvDN2ajxoP3Nm7PgBY9Y1B1oxwL4TWIBNNSvP/EeC3VZLP77L9wGQGhO9dmV/U BtAj5xqs2eHCn8nk8foIU9p9+P1JZ9YQOWwtl37SwDNZ2darhskD03/FnoxgrbupD3K1t EH34bPtjcoeYRclSaHKB+m9Gdmhn4VwXO8+Ky7iuVUgWXnwIquhV/HLlG1cZ0w1n/+KGl 2F/txE/+JoepnuI2P4Qs9UbMezYo6MFu9Xzy/Rso6H0sWXizrnr7+7CkSW5W2kALKcA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=JMUSUJ99; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 676BA606A31B for ; Fri, 23 Oct 2026 11:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=JMUSUJ99 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B0BC1F031E6; Fri, 23 Oct 2026 11:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792755566; bh=BfPrmhUEeTz7FJHnbGQ90SI4svdawLIqp2QyyuFCBtQ=; h=From:To:Cc:Subject:Date:Reply-To; b=JMUSUJ99aLY+9g769PIltjlkVymwfuZGkw+NqYzsXvkcvWxG/5IwmfKbMymU/4rBg UsNjkgrOHYW7f6i9Fl4xkLv8mvezD8yYcmwWZ3/1vSFTH/xWnMEmh/6ng/4N1eIBIX rh6rVPP7a/QoiVNP5gpgs8wgPC4QJ5fPFszMMkMk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98885: ima: return error early if file xattr cannot be changed Date: Fri, 23 Oct 2026 13:37:33 +0200 Message-ID: <2026102324-CVE-2026-98885-6924@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3795; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UZUHONsxK1litlyli2gFRv58+IrbuXyfWedhyNMr5QI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm33b5kn1Ga1PvOibPG/1izxwqWtOJNBo7G03+WC9937 Zg0b2FJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyEyZZhnkLU67v/bh1lMHsn cG73jQXGCwIWrmGY737Q79bjF5JvWT48Dzlx/BLrRKerbwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98885 to this issue. Affected and fixed versions =========================== Fixed in 5.10.271 with commit 86acb68ebb220b83def94e7f4c33e24e843970e0 Fixed in 5.15.222 with commit 4d98295357bcacb70874e73117e298a9d7d9b830 Fixed in 6.1.189 with commit c6988714c0549e06610635c7a71e88635da6db64 Fixed in 6.6.158 with commit 8c77312728d07b60fc028f676e42d842df918bcd Fixed in 6.12.111 with commit dce1b66fcfb40c935f426f602c3a41a7b9f62ba4 Fixed in 6.18.53 with commit 2f29f880e98bf0087215726c45a485afd15b42cf Fixed in 7.2 with commit 69fc6474236d9edda6983623e4282f2bdfd8e3d8 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98885 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: security/integrity/ima/ima_appraise.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/86acb68ebb220b83def94e7f4c33e24e843970e0 https://git.kernel.org/stable/c/4d98295357bcacb70874e73117e298a9d7d9b830 https://git.kernel.org/stable/c/c6988714c0549e06610635c7a71e88635da6db64 https://git.kernel.org/stable/c/8c77312728d07b60fc028f676e42d842df918bcd https://git.kernel.org/stable/c/dce1b66fcfb40c935f426f602c3a41a7b9f62ba4 https://git.kernel.org/stable/c/2f29f880e98bf0087215726c45a485afd15b42cf https://git.kernel.org/stable/c/69fc6474236d9edda6983623e4282f2bdfd8e3d8