CVE-2026-43065

In the Linux kernel, the following vulnerability has been resolved: ext4: always drain queued discard work in ext4_mb_release() While reviewing recent ext4 patch[1], Sashiko raised the following concern[2]: > If the filesystem is initially mounted with the discard option, > deleting files will populate sbi->s_discard_list and queue > s_discard_work. If it is then remounted with nodiscard, the > EXT4_MOUNT_DISCARD flag is cleared, but the pending s_discard_work is > neither cancelled nor flushed. [1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/ [2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev The concern was valid, but it had nothing to do with the patch[1]. One of the problems with Sashiko in its current (early) form is that it will detect pre-existing issues and report it as a problem with the patch that it is reviewing. In practice, it would be hard to hit deliberately (unless you are a malicious syzkaller fuzzer), since it would involve mounting the file system with -o discard, and then deleting a large number of files, remounting the file system with -o nodiscard, and then immediately unmounting the file system before the queued discard work has a change to drain on its own. Fix it because it's a real bug, and to avoid Sashiko from raising this concern when analyzing future patches to mballoc.c.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: siempre vaciar el trabajo de descarte en cola en ext4_mb_release() Mientras revisaba un parche reciente de ext4[1], Sashiko planteó la siguiente preocupación[2]: ’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.’ [1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/ [2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev La 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. En 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. Se corrige porque es un error real, y para evitar que Sashiko plantee esta preocupación al analizar futuros parches para mballoc.c.

Information

Published : 2026-05-05 16:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-43065

Mitre link : CVE-2026-43065

CVE.ORG link : CVE-2026-43065


JSON object : View

Products Affected

linux

  • linux_kernel