# CVE-2026-43065: ext4: always drain queued discard work in ext4_mb_release()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-05T15:23:25.326Z
- Modified: 2026-11-11T21:10:00.200Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before e96c2354b170aaa53300c8e8fd59e41b133160f7; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before c360e9d0def4f4ae03254a67c683103908555b75; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before 1c82f863f090ab899085bdfade073313384b514b; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before 9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before 812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327; from 55cdd0af2bc5ffc92a2deb745627755aecd5db33 before 9ee29d20aab228adfb02ca93f87fb53c56c2f3af; 5.15 (not affected: before 5.15; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.131 up to 6.6.*; from 6.12.80 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.131; from 6.7 before 6.12.80; from 6.13 before 6.18.21; from 6.19 before 6.19.11; 7.0

## References

- <https://git.kernel.org/stable/c/e96c2354b170aaa53300c8e8fd59e41b133160f7> (patch)
- <https://git.kernel.org/stable/c/c360e9d0def4f4ae03254a67c683103908555b75> (patch)
- <https://git.kernel.org/stable/c/1c82f863f090ab899085bdfade073313384b514b> (patch)
- <https://git.kernel.org/stable/c/9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8> (patch)
- <https://git.kernel.org/stable/c/812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098> (patch)
- <https://git.kernel.org/stable/c/b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327> (patch)
- <https://git.kernel.org/stable/c/9ee29d20aab228adfb02ca93f87fb53c56c2f3af> (patch)

## Sources

- CVE List: [CVE-2026-43065](https://www.cve.org/CVERecord?id=CVE-2026-43065), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43065](https://nvd.nist.gov/vuln/detail/CVE-2026-43065), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43065 · Whole record: https://cve.day/CVE-2026-43065.json · Rebuilt by cve.day 2026-11-25T22:59:20.613Z
