Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C28B4F85A8 for ; Thu, 17 Sep 2026 16:38:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663137; cv=none; b=dRnkhQizrWRIG1+5YCOwoZ5xBJ8BQ9A8kwp5GBmA5uAW1/lOIaPBhVuTWazdLdnAqp/+1iWg+OaeBabffRkGEjY7l5v+LqY0CZBY3AcQDQn3dcpeJOhop0SMzsG4BK2wBLvR1B3KF6AWMGNja65mk6+yN3KAL3hOHU6aacv/9l4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663137; c=relaxed/simple; bh=314XCXK0tnsVWc29XdXXdzqJAslO4Du8unwefaeonB4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u4qIpn4+DBqA6W4p+52PKWcrubKkIqe6Po4z2twD37Z2CiWftd8xdX06o0eBNA0W0F7rbeBEklaxCX2yB1BD6I0J8tRy+S26rFlcVfOxQn/kid16ISGJ+FaG/W9kuitRHiUQPT5O+4EED0VG3c4wQ1bE91GfGTy1VwfeaZb+JHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vbB9dkpB; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vbB9dkpB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43C4E1F000FF; Thu, 17 Sep 2026 16:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663135; bh=k9XZH6ECf6MjBOiv3KeyT6oB6mN0rdMRfqrMrkCggJE=; h=From:To:Cc:Subject:Date:Reply-To; b=vbB9dkpB2gZU7BvgPZx7l+TFNPNqMqRRAE3++04lBOzjIYjope8yzI8e/ul8yE0Cn BAjjQyXZHF/jrQclEir0AfPqhAcau+JsSQh9lXeSjG1x8iOJQYRyZdbt6o2NOqtZu7 SX1zR52673f6LIENWsJ4qkmSwtWw68WN4uCTcykQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93140: udf: Mark LVID buffer as uptodate before marking it dirty Date: Thu, 17 Sep 2026 17:16:57 +0100 Message-ID: <2026091753-CVE-2026-93140-cc8e@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5225; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J6j+BPyzssHJ4S6jeqkzLZXyyE/uYSmDVVXLUCKrA3U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBC52fHl4b/ev0zZBOnNkJrlvu2ni75h/+WVDk+rMd DGu1t2bOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAil04zLFgasFHXwMrrhrvm /dYZjyqVhPsSJRgWLGt/JSA+UdZDbTGP0tXEuy/to+JOAQA= 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: udf: Mark LVID buffer as uptodate before marking it dirty When an I/O error occurs while writing the Logical Volume Integrity Descriptor (LVID) buffer to the block device, the block layer's completion handler (`end_buffer_write_sync()`) clears the `BH_Uptodate` flag on the buffer. However, the buffer still contains valid LVID data in memory. If the filesystem is subsequently remounted read-write or synced, `udf_open_lvid()` or `udf_sync_fs()` will modify the LVID buffer and call `mark_buffer_dirty()`. This triggers a spurious `WARN_ON_ONCE(!buffer_uptodate(bh))` warning in `mark_buffer_dirty()` because the buffer is not marked uptodate, even though its in-memory contents are valid and are about to be overwritten. To prevent this spurious warning, unconditionally set the `BH_Uptodate` flag before calling `mark_buffer_dirty()` in `udf_open_lvid()` and `udf_sync_fs()`. This acknowledges that the in-memory buffer is valid and matches the workaround previously applied to `udf_close_lvid()` in commit 853a0c25baf9 ("udf: Mark LVID buffer as uptodate before marking it dirty"). Extending this workaround ensures consistent behavior across all LVID updates. Buffer I/O error on dev loop0, logical block 128, lost sync page write ------------[ cut here ]------------ !buffer_uptodate(bh) WARNING: fs/buffer.c:1087 at mark_buffer_dirty+0x299/0x410 fs/buffer.c:1087 ... Call Trace: udf_open_lvid+0x369/0x5b0 fs/udf/super.c:2078 udf_reconfigure+0x336/0x540 fs/udf/super.c:679 reconfigure_super+0x232/0x8f0 fs/super.c:1080 vfs_cmd_reconfigure fs/fsopen.c:268 [inline] vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:297 __do_sys_fsconfig fs/fsopen.c:463 [inline] __se_sys_fsconfig+0x6b9/0x810 fs/fsopen.c:350 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 The Linux kernel CVE team has assigned CVE-2026-93140 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 5.10.270 with commit e6461ef34f91ad7dbffdf912b3d661a7dd892931 Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 5.15.221 with commit 359cea636f4a74a96c01a8050f155e12840c079a Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 6.1.188 with commit a4c4e38b356ad4c1f90478124922917489137c08 Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 6.6.157 with commit 8034ddf4751d9143c5ef7eebe3d4f33218fdd378 Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 6.12.110 with commit ee477e5204f764444e60699280abf5936c2a6ae6 Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 6.18.52 with commit 11afe1912140f79d5af3091a54b181ef72fce1a5 Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 7.2.6 with commit c4058355d27488a3cd31c60c032335f77c4fdcfc Issue introduced in 3.3 with commit 853a0c25baf96b028de1654bea1e0c8857eadf3d and fixed in 7.3-rc1 with commit fb0601134c7e51728bd098abc6909315de1e5d86 Issue introduced in 2.6.27.62 with commit c7da4ed95a78e38fdaffb06eaf1a3f3318b1add6 Issue introduced in 2.6.32.57 with commit c005218328597211008a4d33a91e2952798e3556 Issue introduced in 3.0.21 with commit 1357ed0b4b9db30846377febb40a847d6103c991 Issue introduced in 3.2.6 with commit 43f4a516b2f5492bc597f3753b693ad8adc62748 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-93140 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: fs/udf/super.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/e6461ef34f91ad7dbffdf912b3d661a7dd892931 https://git.kernel.org/stable/c/359cea636f4a74a96c01a8050f155e12840c079a https://git.kernel.org/stable/c/a4c4e38b356ad4c1f90478124922917489137c08 https://git.kernel.org/stable/c/8034ddf4751d9143c5ef7eebe3d4f33218fdd378 https://git.kernel.org/stable/c/ee477e5204f764444e60699280abf5936c2a6ae6 https://git.kernel.org/stable/c/11afe1912140f79d5af3091a54b181ef72fce1a5 https://git.kernel.org/stable/c/c4058355d27488a3cd31c60c032335f77c4fdcfc https://git.kernel.org/stable/c/fb0601134c7e51728bd098abc6909315de1e5d86