CVE-2024-27406: lib/Kconfig.debug: TEST_IOV_ITER depends on MMU

Description

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

lib/Kconfig.debug: TEST_IOV_ITER depends on MMU

Trying to run the iov_iter unit test on a nommu system such as the qemu
kc705-nommu emulation results in a crash.

KTAP version 1
# Subtest: iov_iter
# module: kunit_iov_iter
1..9
BUG: failure at mm/nommu.c:318/vmap()!
Kernel panic - not syncing: BUG!

The test calls vmap() directly, but vmap() is not supported on nommu
systems, causing the crash. TEST_IOV_ITER therefore needs to depend on
MMU.

Classification

CVE ID: CVE-2024-27406

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 17.83% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/e6316749d603fe9c4c91f6ec3694e06e4de632a3
https://git.kernel.org/stable/c/9e6e541b97762d5b1143070067f7c68f39a408f8
https://git.kernel.org/stable/c/1eb1e984379e2da04361763f66eec90dd75cf63e

Timeline