CVE-2024-27406

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27406
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27406.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27406
Downstream
Published
2024-05-17T11:40:28.608Z
Modified
2025-11-20T03:49:57.391618Z
Summary
lib/Kconfig.debug: TEST_IOV_ITER depends on MMU
Details

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

lib/Kconfig.debug: TESTIOVITER 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. TESTIOVITER therefore needs to depend on MMU.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2d71340ff1d41a5b9fc1b30ded12d638b2e2ae96
Fixed
e6316749d603fe9c4c91f6ec3694e06e4de632a3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2d71340ff1d41a5b9fc1b30ded12d638b2e2ae96
Fixed
9e6e541b97762d5b1143070067f7c68f39a408f8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2d71340ff1d41a5b9fc1b30ded12d638b2e2ae96
Fixed
1eb1e984379e2da04361763f66eec90dd75cf63e

Affected versions

v6.*

v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.10
v6.6.11
v6.6.12
v6.6.13
v6.6.14
v6.6.15
v6.6.16
v6.6.17
v6.6.18
v6.6.2
v6.6.3
v6.6.4
v6.6.5
v6.6.6
v6.6.7
v6.6.8
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1
v6.7.2
v6.7.3
v6.7.4
v6.7.5
v6.7.6
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.19
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.7