CVE-2026-43065
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
05/05/2026
Última modificación:
05/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ext4: always drain queued discard work in ext4_mb_release()<br />
<br />
While reviewing recent ext4 patch[1], Sashiko raised the following<br />
concern[2]:<br />
<br />
> If the filesystem is initially mounted with the discard option,<br />
> deleting files will populate sbi->s_discard_list and queue<br />
> s_discard_work. If it is then remounted with nodiscard, the<br />
> EXT4_MOUNT_DISCARD flag is cleared, but the pending s_discard_work is<br />
> neither cancelled nor flushed.<br />
<br />
[1] https://lore.kernel.org/r/20260319094545.19291-1-qiang.zhang@linux.dev/<br />
[2] https://sashiko.dev/#/patchset/20260319094545.19291-1-qiang.zhang%40linux.dev<br />
<br />
The concern was valid, but it had nothing to do with the patch[1].<br />
One of the problems with Sashiko in its current (early) form is that<br />
it will detect pre-existing issues and report it as a problem with the<br />
patch that it is reviewing.<br />
<br />
In practice, it would be hard to hit deliberately (unless you are a<br />
malicious syzkaller fuzzer), since it would involve mounting the file<br />
system with -o discard, and then deleting a large number of files,<br />
remounting the file system with -o nodiscard, and then immediately<br />
unmounting the file system before the queued discard work has a change<br />
to drain on its own.<br />
<br />
Fix it because it&#39;s a real bug, and to avoid Sashiko from raising this<br />
concern when analyzing future patches to mballoc.c.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/1c82f863f090ab899085bdfade073313384b514b
- https://git.kernel.org/stable/c/812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098
- https://git.kernel.org/stable/c/9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8
- https://git.kernel.org/stable/c/9ee29d20aab228adfb02ca93f87fb53c56c2f3af
- https://git.kernel.org/stable/c/b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327
- https://git.kernel.org/stable/c/c360e9d0def4f4ae03254a67c683103908555b75
- https://git.kernel.org/stable/c/e96c2354b170aaa53300c8e8fd59e41b133160f7



