Lucene search

K
cvelistLinuxCVELIST:CVE-2024-27406
HistoryMay 17, 2024 - 11:40 a.m.

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

2024-05-1711:40:28
Linux
www.cve.org
linux
kernel
vulnerability
resolved
test_iov_iter
crash
nommu
system
qemu
kc705-nommu
emulation
ktap
subtest
iov_iter
kunit_iov_iter
vmap
mmu

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "lib/Kconfig.debug"
    ],
    "versions": [
      {
        "version": "2d71340ff1d4",
        "lessThan": "e6316749d603",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2d71340ff1d4",
        "lessThan": "9e6e541b9776",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2d71340ff1d4",
        "lessThan": "1eb1e984379e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "lib/Kconfig.debug"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.19",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.7",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

Related for CVELIST:CVE-2024-27406