CVE-2026-80597: mtd: maps: vmu-flash: fix NULL pointer dereference in initialization
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: vmu-flash: fix NULL pointer dereference in initialization
The mtd_info contains a struct device, which must be linked to its parent. Without this, the initialization of the MTD fails with a NULL pointer dereference.
The Linux kernel CVE team has assigned CVE-2026-80597 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 5.10.261 with commit ff6453502c722437e37238900c9e45a1fec34455 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 5.15.212 with commit c60a627edbbd66bfbb0a0f564e64084c23c7ce98 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.1.178 with commit 0db62da830ec57ad3efe24337763c8bf5442c6be Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.6.145 with commit 44c6abf5d823de796319d6e23c282ed5b68dc41b Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.12.97 with commit b80a7b8f1a10e9270160b9d33f1253da2195c827 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 6.18.40 with commit 9ac007affa77c3dc3def53760e3d69c350fc9967 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 7.1.5 with commit f4599793240dd60a0a708ef1fe116223f47aa105 Issue introduced in 2.6.30 with commit 47a72688fae7298e1ad5fdc9bff7e04b6a549620 and fixed in 7.2 with commit 357e3b8e3a8769ba36eb8ec5e053e4825f1a9329
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-80597
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/ff6453502c722437e37238900c9e45a1fec34455 https://git.kernel.org/stable/c/c60a627edbbd66bfbb0a0f564e64084c23c7ce98 https://git.kernel.org/stable/c/0db62da830ec57ad3efe24337763c8bf5442c6be https://git.kernel.org/stable/c/44c6abf5d823de796319d6e23c282ed5b68dc41b https://git.kernel.org/stable/c/b80a7b8f1a10e9270160b9d33f1253da2195c827 https://git.kernel.org/stable/c/9ac007affa77c3dc3def53760e3d69c350fc9967 https://git.kernel.org/stable/c/f4599793240dd60a0a708ef1fe116223f47aa105 https://git.kernel.org/stable/c/357e3b8e3a8769ba36eb8ec5e053e4825f1a9329