CVE-2024-27406 lib/Kconfig.debug: TEST_IOV_ITER depends on MMU
A kernel panic occurs when running the iov_iter unit test on nommu systems due to unsupported vmap calls, requiring a dependency fix.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-27406?
CVE-2024-27406 is a medium-severity vulnerability in Linux kernel, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-27406?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-27406?
Apply the vendor's patch.
Is CVE-2024-27406 being exploited?
There is no known exploitation of CVE-2024-27406 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-27406, DEBIAN-CVE-2024-27406, GHSA-7mh5-2fw8-7x58, UBUNTU-CVE-2024-27406.