Skip to contentSkip to conversation

CVE-2026-74327: vmalloc: fix NULL pointer dereference in is_vm_area_hugepages()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

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

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

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

vmalloc: fix NULL pointer dereference in is_vm_area_hugepages()

find_vm_area() can return NULL if the given address is not a valid vmalloc area. Check the return value before dereferencing it to avoid a kernel crash.

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

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

	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 5.15.212 with commit c741485fa09bf5900f76d95424d86316d0a00331
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 6.1.178 with commit b86f98e53df4f5d57259817b8e9a00167b78bae6
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 6.6.145 with commit af71c2b88ccae44418e273bdfe0c96be8515151e
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 6.12.97 with commit a1bca6b69bd934e2731d009e645038e05d57ce59
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 6.18.40 with commit bbd664b7c77f6488cd5652231c0fe01d069a73ea
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 7.1.5 with commit 55a44f5259e6a5f1d5b11cb0e19e943c9cc62280
	Issue introduced in 5.13 with commit 121e6f3258fe393e22c36f61a319be8a4f2c05ae and fixed in 7.2-rc1 with commit c55dd3b46c1208d6d2ea737a8aefef4aa4c70cb8

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

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:
include/linux/vmalloc.h

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/c741485fa09bf5900f76d95424d86316d0a00331
	https://git.kernel.org/stable/c/b86f98e53df4f5d57259817b8e9a00167b78bae6
	https://git.kernel.org/stable/c/af71c2b88ccae44418e273bdfe0c96be8515151e
	https://git.kernel.org/stable/c/a1bca6b69bd934e2731d009e645038e05d57ce59
	https://git.kernel.org/stable/c/bbd664b7c77f6488cd5652231c0fe01d069a73ea
	https://git.kernel.org/stable/c/55a44f5259e6a5f1d5b11cb0e19e943c9cc62280
	https://git.kernel.org/stable/c/c55dd3b46c1208d6d2ea737a8aefef4aa4c70cb8