CVE-2026-43065

Source
https://cve.org/CVERecord?id=CVE-2026-43065
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43065.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43065
Downstream
Related
Published
2026-05-05T15:23:25.326Z
Modified
2026-07-15T01:49:16.818430887Z
Summary
ext4: always drain queued discard work in ext4_mb_release()
Details

In the Linux kernel, the following vulnerability has been resolved:

ext4: always drain queued discard work in ext4mbrelease()

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->sdiscardlist and queue sdiscardwork. If it is then remounted with nodiscard, the EXT4MOUNTDISCARD flag is cleared, but the pending sdiscardwork 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43065.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
55cdd0af2bc5ffc92a2deb745627755aecd5db33
Fixed
e96c2354b170aaa53300c8e8fd59e41b133160f7
Fixed
c360e9d0def4f4ae03254a67c683103908555b75
Fixed
1c82f863f090ab899085bdfade073313384b514b
Fixed
9b4d9dda6a71ad3425c8109d27c4c6bfb9da97b8
Fixed
812b6a7cd3e7f3a3e8a24db85bc6313c26cb1098
Fixed
b4737e26d4688b8aea88ad6ea4dbfeb6e78b0327
Fixed
9ee29d20aab228adfb02ca93f87fb53c56c2f3af

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43065.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.168
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.131
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.80
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.21
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43065.json"