Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-27007
HistoryMay 01, 2024 - 6:15 a.m.

CVE-2024-27007

2024-05-0106:15:19
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
51
linux kernel
userfaultfd
vulnerability
resolved
uffdio_move
commit
mm
mapping
index
page-table
swapout
migration
memory corruption
huge-page
nvd

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%

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

userfaultfd: change src_folio after ensuring it’s unpinned in UFFDIO_MOVE

Commit d7a08838ab74 (“mm: userfaultfd: fix unexpected change to src_folio
when UFFDIO_MOVE fails”) moved the src_folio->{mapping, index} changing to
after clearing the page-table and ensuring that it’s not pinned. This
avoids failure of swapout+migration and possibly memory corruption.

However, the commit missed fixing it in the huge-page case.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.86.8.8
OR
linuxlinux_kernelRange6.9.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/huge_memory.c"
    ],
    "versions": [
      {
        "version": "adef440691ba",
        "lessThan": "df5f6e683e7f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "adef440691ba",
        "lessThan": "c0205eaf3af9",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/huge_memory.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.8",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%