CVE-2026-72168: mtd: maps: vmu-flash: fix fault in unaligned fixup
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: vmu-flash: fix fault in unaligned fixup
Use kzalloc_obj() / kzalloc_objs() to allocate the memcard structs, instead of kmalloc_obj() / kmalloc_objs() to prevent access to uninitialized data.
Fixes runtime error: Fault in unaligned fixup: 0000 [#1] at mtd_get_fact_prot_info.
The Linux kernel CVE team has assigned CVE-2026-72168 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.12.101 with commit 01928835d80829e615a492aa66c629b953ec7bef Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.18.42 with commit 19360c25135fccb6bbafbee49a5f66baf9a311af Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 7.1.5 with commit 455519f6b70f46ac6cbf41a75ac76ec5e59040f2 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 7.2-rc1 with commit 79d1661502c6e4b6f626185cef72cf2fa78116e1
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-72168
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:
drivers/mtd/maps/vmu-flash.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/01928835d80829e615a492aa66c629b953ec7bef https://git.kernel.org/stable/c/19360c25135fccb6bbafbee49a5f66baf9a311af https://git.kernel.org/stable/c/455519f6b70f46ac6cbf41a75ac76ec5e59040f2 https://git.kernel.org/stable/c/79d1661502c6e4b6f626185cef72cf2fa78116e1