CVE-2026-90396: block: fix dio leak on metadata mapping error
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
block: fix dio leak on metadata mapping error
A failed integrity mapping holds a dio reference, so we need to go through the full bio ending in case there were previously submitted bio's in the sequence.
The Linux kernel CVE team has assigned CVE-2026-90396 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.17 with commit 2729a60bbfb9215997f25372ebe9b7964f038296 and fixed in 6.18.52 with commit d29c5a88d5703afb6286038e86e1b88daa4962a9 Issue introduced in 6.17 with commit 2729a60bbfb9215997f25372ebe9b7964f038296 and fixed in 7.2.6 with commit cbbaf0c870dde06cf4b887a77a94e3094179ca9f Issue introduced in 6.17 with commit 2729a60bbfb9215997f25372ebe9b7964f038296 and fixed in 7.3-rc1 with commit 702a2a9f3dfe066a7481698c858371112f3cb697 Issue introduced in 6.16.8 with commit 17ecefc9fdd8c554e0d03e5a990daef19f930add
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90396
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
block/fops.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/d29c5a88d5703afb6286038e86e1b88daa4962a9 https://git.kernel.org/stable/c/cbbaf0c870dde06cf4b887a77a94e3094179ca9f https://git.kernel.org/stable/c/702a2a9f3dfe066a7481698c858371112f3cb697