CVE-2026-63954: hpfs: fix a crash if hpfs_map_dnode_bitmap fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
hpfs: fix a crash if hpfs_map_dnode_bitmap fails
If hpfs_map_dnode_bitmap fails, the code would call hpfs_brelse4 on uninitialized quad buffer head, causing a crash.
The Linux kernel CVE team has assigned CVE-2026-63954 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.259 with commit 010b08084000ef018f1a8de5197087f3b91d8cfe Fixed in 5.15.210 with commit d98d8562b3284b5a5c8eb67e71b794508e46e288 Fixed in 6.1.176 with commit 1648a3c7f4e18f46a4881920133fc4f2494185a0 Fixed in 6.6.143 with commit 7c58c55a2a16f7274772507bd1637be609351b4f Fixed in 6.12.93 with commit 1d73a533760bc5abb83b3cc759133596f7bb708f Fixed in 6.18.35 with commit 0886c6f257fe3663f80218aa1919b0f3f21bf22c Fixed in 7.0.12 with commit 4f37bb30b57d6d403d02673074555bd3c3602bef Fixed in 7.1 with commit 974820a59efde7c1a7e1260bcfe9bb81f833cc9f
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-63954
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/hpfs/alloc.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/010b08084000ef018f1a8de5197087f3b91d8cfe https://git.kernel.org/stable/c/d98d8562b3284b5a5c8eb67e71b794508e46e288 https://git.kernel.org/stable/c/1648a3c7f4e18f46a4881920133fc4f2494185a0 https://git.kernel.org/stable/c/7c58c55a2a16f7274772507bd1637be609351b4f https://git.kernel.org/stable/c/1d73a533760bc5abb83b3cc759133596f7bb708f https://git.kernel.org/stable/c/0886c6f257fe3663f80218aa1919b0f3f21bf22c https://git.kernel.org/stable/c/4f37bb30b57d6d403d02673074555bd3c3602bef https://git.kernel.org/stable/c/974820a59efde7c1a7e1260bcfe9bb81f833cc9f