{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-93140","id":"CVE-2026-93140","title":"udf: Mark LVID buffer as uptodate before marking it dirty","description":"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 da","descriptionLong":"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 <TASK>\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 </TASK>","published":"2026-09-17T16:11:40.099Z","updated":"2026-11-17T07:03:31.860265736Z","reserved":"2026-09-17T16:02:15.088Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"e6461ef34f91ad7dbffdf912b3d661a7dd892931","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"359cea636f4a74a96c01a8050f155e12840c079a","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"a4c4e38b356ad4c1f90478124922917489137c08","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"8034ddf4751d9143c5ef7eebe3d4f33218fdd378","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"ee477e5204f764444e60699280abf5936c2a6ae6","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"11afe1912140f79d5af3091a54b181ef72fce1a5","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"c4058355d27488a3cd31c60c032335f77c4fdcfc","status":"affected","versionType":"git"},{"version":"853a0c25baf96b028de1654bea1e0c8857eadf3d","lessThan":"fb0601134c7e51728bd098abc6909315de1e5d86","status":"affected","versionType":"git"},{"version":"c7da4ed95a78e38fdaffb06eaf1a3f3318b1add6","status":"affected","versionType":"git"},{"version":"c005218328597211008a4d33a91e2952798e3556","status":"affected","versionType":"git"},{"version":"1357ed0b4b9db30846377febb40a847d6103c991","status":"affected","versionType":"git"},{"version":"43f4a516b2f5492bc597f3753b693ad8adc62748","status":"affected","versionType":"git"},{"version":"2.6.27.62","lessThan":"2.6.28","status":"affected","versionType":"semver"},{"version":"2.6.32.57","lessThan":"2.6.33","status":"affected","versionType":"semver"},{"version":"3.0.21","lessThan":"3.1","status":"affected","versionType":"semver"},{"version":"3.2.6","lessThan":"3.3","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","lessThan":"3.3","status":"unaffected","versionType":"semver"},{"version":"5.10.270","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.221","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.110","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.52","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e6461ef34f91ad7dbffdf912b3d661a7dd892931","tags":["web"]},{"url":"https://git.kernel.org/stable/c/359cea636f4a74a96c01a8050f155e12840c079a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a4c4e38b356ad4c1f90478124922917489137c08","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8034ddf4751d9143c5ef7eebe3d4f33218fdd378","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ee477e5204f764444e60699280abf5936c2a6ae6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/11afe1912140f79d5af3091a54b181ef72fce1a5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c4058355d27488a3cd31c60c032335f77c4fdcfc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/fb0601134c7e51728bd098abc6909315de1e5d86","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93140.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93140","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00216,"epssPercentile":0.12211,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-93140","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93140","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-93140","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-93140","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}