CVE-2026-93257: block: handle nogenerate/noverify properly in fs-integrity
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
block: handle nogenerate/noverify properly in fs-integrity
Check the BIP_CHECK flags before generating or verifying PI information, otherwise this can be incorrectly called for non-PI metadata and cause generation of incorrect metadata and crashed in the verification handler.
The new behavior matches that of the block layer auto-generated metadata.
The Linux kernel CVE team has assigned CVE-2026-93257 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1 with commit 0bde8a12b5540572a7fd6d2867bee6de15e4f289 and fixed in 7.2.6 with commit b681c740e6d645f7d7477e9208db57917c6c0fbc Issue introduced in 7.1 with commit 0bde8a12b5540572a7fd6d2867bee6de15e4f289 and fixed in 7.3-rc1 with commit 3bf9a21e7bccfd8c35b440efd114c61cc9838a41
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-93257
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/bio-integrity-fs.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/b681c740e6d645f7d7477e9208db57917c6c0fbc https://git.kernel.org/stable/c/3bf9a21e7bccfd8c35b440efd114c61cc9838a41