Skip to contentSkip to conversation

CVE-2026-90318: fat: release buffer head after rebuilding parent

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

fat: release buffer head after rebuilding parent

fat_scan_logstart() leaves the matching directory entry's buffer head in sinfo.bh for the caller to release, just like fat_scan().

fat_rebuild_parent() uses the directory entry to rebuild the parent inode for the nostale_ro NFS export path, but does not release sinfo.bh after a successful scan. Release it once fat_build_inode() has consumed the directory entry data.

The Linux kernel CVE team has assigned CVE-2026-90318 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 5.10.270 with commit 5e44b6944e11fd6647f028219ad0be4e85e9acee
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 5.15.221 with commit d2a86329152c69a6200c15b2bf618755f8563826
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 6.1.188 with commit 0f18d712ba9c980e05b7e33a27cde4fe3ed2d393
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 6.6.157 with commit e38587d98d1ceac608420052c0cdd901d25878f3
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 6.12.110 with commit c6a67aa438179cad40f8ae45469e304338d65c0a
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 6.18.52 with commit 571ea4263d69df1b48578e4314a828ecd0604755
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 7.2.6 with commit 7565e44507634514e3e1899d3acad3de43f7a2c1
	Issue introduced in 3.10 with commit f1e6fb0ab451dae8523fbb8c119a653b2730e938 and fixed in 7.3-rc1 with commit 83e98dbf19ab64e8528e101e20f8d50e1aaa68a8

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-90318

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:
fs/fat/nfs.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/5e44b6944e11fd6647f028219ad0be4e85e9acee
	https://git.kernel.org/stable/c/d2a86329152c69a6200c15b2bf618755f8563826
	https://git.kernel.org/stable/c/0f18d712ba9c980e05b7e33a27cde4fe3ed2d393
	https://git.kernel.org/stable/c/e38587d98d1ceac608420052c0cdd901d25878f3
	https://git.kernel.org/stable/c/c6a67aa438179cad40f8ae45469e304338d65c0a
	https://git.kernel.org/stable/c/571ea4263d69df1b48578e4314a828ecd0604755
	https://git.kernel.org/stable/c/7565e44507634514e3e1899d3acad3de43f7a2c1
	https://git.kernel.org/stable/c/83e98dbf19ab64e8528e101e20f8d50e1aaa68a8