{"id":"CVE-2026-43065","aliases":["CVE-2026-43065"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: always drain queued discard work in ext4_mb_release()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: always drain queued discard work in ext4_mb_release()\n\nWhile reviewing recent ext4 patch[1], Sashiko raised the following\nconcern[2]:\n\n> If the filesystem is initially mounted with the discard option,\n> deleting files will populate sbi->s_discard_list and queue\n> s_discard_work. If it is then remounted with nodiscard, the\n> EXT4_MOUNT_DISCARD flag is cleared, but the pending s_discard_work is\n> neither cancelled nor flushed.\n\n[1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/\n[2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev\n\nThe concern was valid, but it had nothing to do with the patch[1].\nOne of the problems with Sashiko in its current (early) form is that\nit will detect pre-existing issues and report it as a problem with the\npatch that it is reviewing.\n\nIn practice, it would be hard to hit deliberately (unless you are a\nmalicious syzkaller fuzzer), since it would involve mounting the file\nsystem with -o discard, and then deleting a large number of files,\nremounting the file system with -o nodiscard, and then immediately\nunmounting the file system before the queued discard work has a change\nto drain on its own.\n\nFix it because it's a real bug, and to avoid Sashiko from raising this\nconcern when analyzing future patches to mballoc.c.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: always drain queued discard work in ext4_mb_release()\n\nWhile reviewing recent ext4 patch[1], Sashiko raised the following\nconcern[2]:\n\n> If the filesystem is initially mounted with the discard option,\n> deleting files will populate sbi->s_discard_list and queue\n> s_discard_work. If it is then remounted with nodiscard, the\n> EXT4_MOUNT_DISCARD flag is cleared, but the pending s_discard_work is\n> neither cancelled nor flushed.\n\n[1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/\n[2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev\n\nThe concern was valid, but it had nothing to do with the patch[1].\nOne of the problems with Sashiko in its current (early) form is that\nit will detect pre-existing issues and report it as a problem with the\npatch that it is reviewing.\n\nIn practice, it would be hard to hit deliberately (unless you are a\nmalicious syzkaller fuzzer), since it would involve mounting the file\nsystem with -o discard, and then deleting a large number of files,\nremounting the file system with -o nodiscard, and then immediately\nunmounting the file system before the queued discard work has a change\nto drain on its own.\n\nFix it because it's a real bug, and to avoid Sashiko from raising this\nconcern when analyzing future patches to mballoc.c.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\next4: siempre vaciar el trabajo de descarte en cola en ext4_mb_release()\n\nMientras revisaba un parche reciente de ext4[1], Sashiko planteó la siguiente preocupación[2]:\n\n’Si el sistema de archivos se monta inicialmente con la opción discard, eliminar archivos poblará sbi  ->  s_discard_list y pondrá en cola s_discard_work. Si luego se vuelve a montar con nodiscard, la bandera EXT4_MOUNT_DISCARD se borra, pero el s_discard_work pendiente no se cancela ni se vacía.’\n\n[1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/\n[2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev\n\nLa preocupación era válida, pero no tenía nada que ver con el parche[1]. Uno de los problemas con Sashiko en su forma actual (temprana) es que detectará problemas preexistentes y los reportará como un problema con el parche que está revisando.\n\nEn la práctica, sería difícil de activar deliberadamente (a menos que seas un fuzzer syzkaller malicioso), ya que implicaría montar el sistema de archivos con -o discard, y luego eliminar un gran número de archivos, volver a montar el sistema de archivos con -o nodiscard, y luego desmontar inmediatamente el sistema de archivos antes de que el trabajo de descarte en cola tenga la oportunidad de vaciarse por sí solo.\n\nSe corrige porque es un error real, y para evitar que Sashiko plantee esta preocupación al analizar futuros parches para mballoc.c.","source":"nvd"}],"published":"2026-05-05T15:23:25.326Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"e96c2354b170aaa53300c8e8fd59e41b133160f7","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"c360e9d0def4f4ae03254a67c683103908555b75","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"1c82f863f090ab899085bdfade073313384b514b","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327","status":"affected"},{"type":"git","introduced":"55cdd0af2bc5ffc92a2deb745627755aecd5db33","fixed":"9ee29d20aab228adfb02ca93f87fb53c56c2f3af","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.131","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.131"},{"status":"affected","introduced":"6.7","fixed":"6.12.80"},{"status":"affected","introduced":"6.13","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e96c2354b170aaa53300c8e8fd59e41b133160f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c360e9d0def4f4ae03254a67c683103908555b75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c82f863f090ab899085bdfade073313384b514b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ee29d20aab228adfb02ca93f87fb53c56c2f3af","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:27:46.955Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43065","url":"https://www.cve.org/CVERecord?id=CVE-2026-43065","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:29.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43065","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43065","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.613Z","epss":{"score":0.00117,"percentile":0.0182,"date":"2026-12-01T12:00:22.000Z"}}