{"id":"CVE-2026-93140","summary":"udf: Mark LVID buffer as uptodate before marking it dirty","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: Mark LVID buffer as uptodate before marking it dirty\n\nWhen an I/O error occurs while writing the Logical Volume Integrity\nDescriptor (LVID) buffer to the block device, the block layer's completion\nhandler (`end_buffer_write_sync()`) clears the `BH_Uptodate` flag on the\nbuffer. However, the buffer still contains valid LVID data in memory. If\nthe filesystem is subsequently remounted read-write or synced,\n`udf_open_lvid()` or `udf_sync_fs()` will modify the LVID buffer and call\n`mark_buffer_dirty()`. This triggers a spurious\n`WARN_ON_ONCE(!buffer_uptodate(bh))` warning in `mark_buffer_dirty()`\nbecause the buffer is not marked uptodate, even though its in-memory\ncontents are valid and are about to be overwritten.\n\nTo prevent this spurious warning, unconditionally set the `BH_Uptodate`\nflag before calling `mark_buffer_dirty()` in `udf_open_lvid()` and\n`udf_sync_fs()`. This acknowledges that the in-memory buffer is valid and\nmatches the workaround previously applied to `udf_close_lvid()` in commit\n853a0c25baf9 (\"udf: Mark LVID buffer as uptodate before marking it dirty\").\nExtending this workaround ensures consistent behavior across all LVID\nupdates.\n\nBuffer I/O error on dev loop0, logical block 128, lost sync page write\n------------[ cut here ]------------\n!buffer_uptodate(bh)\nWARNING: fs/buffer.c:1087 at mark_buffer_dirty+0x299/0x410 fs/buffer.c:1087\n...\nCall Trace:\n \u003cTASK\u003e\n udf_open_lvid+0x369/0x5b0 fs/udf/super.c:2078\n udf_reconfigure+0x336/0x540 fs/udf/super.c:679\n reconfigure_super+0x232/0x8f0 fs/super.c:1080\n vfs_cmd_reconfigure fs/fsopen.c:268 [inline]\n vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:297\n __do_sys_fsconfig fs/fsopen.c:463 [inline]\n __se_sys_fsconfig+0x6b9/0x810 fs/fsopen.c:350\n do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94\n \u003c/TASK\u003e","modified":"2026-09-19T03:47:31.710431786Z","published":"2026-09-17T16:11:40.099Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93140.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11afe1912140f79d5af3091a54b181ef72fce1a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/359cea636f4a74a96c01a8050f155e12840c079a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8034ddf4751d9143c5ef7eebe3d4f33218fdd378"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4c4e38b356ad4c1f90478124922917489137c08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4058355d27488a3cd31c60c032335f77c4fdcfc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6461ef34f91ad7dbffdf912b3d661a7dd892931"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee477e5204f764444e60699280abf5936c2a6ae6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb0601134c7e51728bd098abc6909315de1e5d86"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93140.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93140"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"853a0c25baf96b028de1654bea1e0c8857eadf3d"},{"fixed":"e6461ef34f91ad7dbffdf912b3d661a7dd892931"},{"fixed":"359cea636f4a74a96c01a8050f155e12840c079a"},{"fixed":"a4c4e38b356ad4c1f90478124922917489137c08"},{"fixed":"8034ddf4751d9143c5ef7eebe3d4f33218fdd378"},{"fixed":"ee477e5204f764444e60699280abf5936c2a6ae6"},{"fixed":"11afe1912140f79d5af3091a54b181ef72fce1a5"},{"fixed":"c4058355d27488a3cd31c60c032335f77c4fdcfc"},{"fixed":"fb0601134c7e51728bd098abc6909315de1e5d86"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"c7da4ed95a78e38fdaffb06eaf1a3f3318b1add6"},{"last_affected":"c005218328597211008a4d33a91e2952798e3556"},{"last_affected":"1357ed0b4b9db30846377febb40a847d6103c991"},{"last_affected":"43f4a516b2f5492bc597f3753b693ad8adc62748"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2.6.27.62"},{"fixed":"2.6.28"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2.6.32.57"},{"fixed":"2.6.33"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.0.21"},{"fixed":"3.1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3.2.6"},{"fixed":"3.3"}]}],"versions":["v2.6.27.61","v3.2","v2.6.32.56","v3.2.5","v3.0.20","v2.6.27.60","v2.6.27.59","v3.2.4","v3.0.19","v3.2.3","v2.6.32.55","v3.2.2","v3.0.18","v3.0.17","v3.2.1","v2.6.32.54","v2.6.32.53","v3.0.16","v3.2-rc4","v3.2-rc7","v2.6.32.52","v3.0.15","v3.2-rc6","v3.2-rc5","v3.0.14","v2.6.32.51","v2.6.32.50","v3.0.13","v3.2-rc3","v3.1","v3.2-rc2","v2.6.32.49","v3.0.12","v3.2-rc1","v3.0.11","v2.6.32.48","v3.0.10","v3.0.9","v3.0.8","v2.6.32.47","v2.6.32.46","v3.1-rc1","v3.1-rc9","v3.1-rc8","v3.0.7","v3.1-rc10","v3.1-rc7","v3.0.6","v3.1-rc3","v3.1-rc2","v3.0.5","v3.0.4","v3.1-rc4","v3.1-rc5","v3.0","v3.1-rc6","v2.6.32.45","v3.0.3","v3.0.2","v2.6.32.44","v3.0.1","v2.6.32.43","v3.0-rc7","v3.0-rc4","v3.0-rc6","v3.0-rc5","v2.6.32.42","v3.0-rc3","v3.0-rc1","v2.6.39","v3.0-rc2","v2.6.32.41","v2.6.38","v2.6.39-rc2","v2.6.32.40","v2.6.39-rc7","v2.6.39-rc5","v2.6.39-rc1","v2.6.38-rc7","v2.6.39-rc6","v2.6.32.39","v2.6.39-rc4","v2.6.27.58","v2.6.32.38","v2.6.39-rc3","v2.6.32.37","v2.6.37","v2.6.32.36","v2.6.32.35","v2.6.32.34","v2.6.32.33","v2.6.38-rc1","v2.6.38-rc8","v2.6.32.32","v2.6.38-rc2","v2.6.38-rc6","v2.6.32.31","v2.6.38-rc5","v2.6.38-rc4","v2.6.32.30","v2.6.32.29","v2.6.32.28","v2.6.38-rc3","v2.6.27.57","v2.6.37-rc4","v2.6.37-rc2","v2.6.36","v2.6.32.27","v2.6.37-rc5","v2.6.37-rc8","v2.6.37-rc7","v2.6.37-rc6","v2.6.37-rc1","v2.6.32.26","v2.6.27.56","v2.6.37-rc3","v2.6.32.25","v2.6.27.55","v2.6.32.24","v2.6.27.54","v2.6.36-rc6","v2.6.35-rc4","v2.6.36-rc8","v2.6.35","v2.6.36-rc7","v2.6.36-rc3","v2.6.36-rc5","v2.6.32.23","v2.6.36-rc4","v2.6.32.22","v2.6.32.21","v2.6.27.53","v2.6.36-rc2","v2.6.36-rc1","v2.6.32.20","v2.6.27.52","v2.6.32.19","v2.6.27.51","v2.6.27.50","v2.6.32.18","v2.6.32.17","v2.6.27.49","v2.6.35-rc5","v2.6.32.16","v2.6.27.48","v2.6.35-rc6","v2.6.34","v2.6.35-rc3","v2.6.35-rc1","v2.6.32.15","v2.6.27.47","v2.6.35-rc2","v2.6.32.14","v2.6.27.46","v2.6.34-rc7","v2.6.32.13","v2.6.32.12","v2.6.34-rc6","v2.6.34-rc5","v2.6.34-rc4","v2.6.32.11","v2.6.34-rc3","v2.6.34-rc2","v2.6.32.10","v2.6.27.45","v2.6.34-rc1","v2.6.33","v2.6.32.9","v2.6.33-rc6","v2.6.33-rc8","v2.6.32.8","v2.6.33-rc4","v2.6.33-rc5","v2.6.33-rc3","v2.6.33-rc7","v2.6.32.7","v2.6.27.44","v2.6.32.6","v2.6.32.5","v2.6.33-rc2","v2.6.32.4","v2.6.27.43","v2.6.32.3","v2.6.32","v2.6.27.42","v2.6.32.2","v2.6.33-rc1","v2.6.32.1","v2.6.27.41","v2.6.27.40","v2.6.27.39","v2.6.32-rc8","v2.6.32-rc7","v2.6.32-rc6","v2.6.27.38","v2.6.31","v2.6.32-rc5","v2.6.32-rc4","v2.6.32-rc2","v2.6.32-rc1","v2.6.32-rc3","v2.6.27.37","v2.6.27.36","v2.6.27.35","v2.6.27.34","v2.6.27.33","v2.6.31-rc9","v2.6.27.32","v2.6.27.31","v2.6.31-rc1","v2.6.31-rc7","v2.6.31-rc8","v2.6.31-rc6","v2.6.30-rc6","v2.6.30","v2.6.27.30","v2.6.27.29","v2.6.31-rc4","v2.6.31-rc5","v2.6.27.28","v2.6.27.27","v2.6.31-rc3","v2.6.27.26","v2.6.31-rc2","v2.6.27.25","v2.6.27.24","v2.6.30-rc7","v2.6.30-rc8","v2.6.30-rc5","v2.6.27.23","v2.6.30-rc3","v2.6.27.22","v2.6.30-rc4","v2.6.27.21","v2.6.30-rc1","v2.6.30-rc2","v2.6.29","v2.6.29-rc8","v2.6.27.20","v2.6.29-rc7","v2.6.27.19","v2.6.29-rc5","v2.6.29-rc1","v2.6.29-rc6","v2.6.27.18","v2.6.27.17","v2.6.27.16","v2.6.27.15","v2.6.29-rc4","v2.6.29-rc3","v2.6.27.14","v2.6.27.13","v2.6.29-rc2","v2.6.27.12","v2.6.28","v2.6.27.11","v2.6.27.10","v2.6.28-rc7","v2.6.28-rc9","v2.6.28-rc8","v2.6.28-rc6","v2.6.27.9","v2.6.27.8","v2.6.27.7","v2.6.28-rc5","v2.6.27.6","v2.6.27.5","v2.6.28-rc4","v2.6.28-rc2","v2.6.27.4","v2.6.28-rc3","v2.6.28-rc1","v2.6.27.3","v2.6.27","v2.6.27.2","v2.6.27.1","v2.6.27-rc7","v2.6.27-rc9","v2.6.27-rc8","v2.6.27-rc5","v2.6.27-rc6","v2.6.27-rc4","v2.6.27-rc1","v2.6.27-rc3","v2.6.27-rc2","v2.6.26","v2.6.26-rc9","v2.6.26-rc8","v2.6.26-rc3","v2.6.26-rc7","v2.6.26-rc6","v2.6.26-rc5","v2.6.26-rc4","v2.6.26-rc2","v2.6.26-rc1","v2.6.25","v2.6.25-rc7","v2.6.25-rc9","v2.6.25-rc8","v2.6.25-rc6","v2.6.25-rc5","v2.6.25-rc3","v2.6.25-rc4","v2.6.24","v2.6.25-rc2","v2.6.25-rc1","v2.6.24-rc8","v2.6.24-rc7","v2.6.24-rc6","v2.6.24-rc5","v2.6.24-rc4","v2.6.24-rc3","v2.6.24-rc2","v2.6.24-rc1","v2.6.23","v2.6.23-rc9","v2.6.23-rc8","v2.6.23-rc5","v2.6.23-rc7","v2.6.23-rc6","v2.6.23-rc4","v2.6.23-rc3","v2.6.23-rc2","v2.6.23-rc1","v2.6.22","v2.6.22-rc7","v2.6.22-rc6","v2.6.22-rc5","v2.6.22-rc4","v2.6.22-rc3","v2.6.22-rc2","v2.6.22-rc1","v2.6.21","v2.6.21-rc7","v2.6.21-rc6","v2.6.21-rc5","v2.6.21-rc4","v2.6.21-rc3","v2.6.21-rc2","v2.6.21-rc1","v2.6.20-rc7","v2.6.20-rc6","v2.6.20-rc5","v2.6.20-rc4","v2.6.20-rc3","v2.6.20-rc1","v2.6.20-rc2","v2.6.19-rc2","v2.6.18","v2.6.19-rc1","v2.6.18-rc6","v2.6.18-rc5","v2.6.18-rc3","v2.6.18-rc2","v2.6.18-rc1","v2.6.17","v2.6.17-rc4","v2.6.17-rc6","v2.6.17-rc5","v2.6.17-rc3","v2.6.17-rc2","v2.6.17-rc1","v2.6.16","v2.6.16-rc6","v2.6.16-rc4","v2.6.16-rc5","v2.6.16-rc3","v2.6.16-rc2","v2.6.16-rc1","v2.6.15-rc7","v2.6.15-rc5","v2.6.15-rc4","v2.6.15-rc2","v2.6.15-rc1","v2.6.14-rc3","v2.6.14-rc2","v2.6.14-rc1","v2.6.13","v2.6.13-rc7","v2.6.13-rc6","v2.6.13-rc5","v2.6.13-rc3","v2.6.13-rc4","v2.6.13-rc2","v2.6.13-rc1","v2.6.12-rc4","v2.6.12-rc3","v2.6.12-rc2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93140.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93140.json"}}],"schema_version":"1.9.0"}