CVE-2026-90384

Source
https://cve.org/CVERecord?id=CVE-2026-90384
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90384.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-90384
Downstream
Published
2026-09-17T16:09:20Z
Modified
2026-09-18T03:48:37Z
Summary
iomap: release the folio batch on iomap callback failures
Details

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

iomap: release the folio batch on iomap callback failures

A sashiko review of an unrelated patch points out that the folio batch mechanism used for iomap zero range fails to release the batch in a couple error scenarios. If either calls to ->iomap_end() or ->iomap_begin() fail, the direct return paths bypass the batch cleanup.

The ->iomap_end() case is not a practical issue at the moment because there is no user of the mechanism that returns an error from this path. The ->iomap_begin() case is theoretically possible because XFS can invoke the fill helper and error out at various points thereafter. This subtly complicates things because XFS does not transfer iomap_flags to the iomap data structure in the error path.

To deal with both of these issues, first make sure to invoke the cleanup helper in the error path for either fs callback. Second, update the helper to clear the flag unconditionally and release the batch so long as it is populated. This more clearly delineates the purpose of the flag to control the I/O path and not necessarily the status of the fbatch, so add a comment around this as well.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90384.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
395ed1ef0012e1bb1e4050e84ba0173b3623112a
Fixed
34470cc3a8e66751030d7b777dd18d9f2acb48e8
Fixed
31e3d833d522746a93d135e8b465d16f8ad33453

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

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