Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35988
HistoryMay 20, 2024 - 9:47 a.m.

CVE-2024-35988 riscv: Fix TASK_SIZE on 64-bit NOMMU

2024-05-2009:47:54
Linux
www.cve.org
linux kernel
vulnerability resolution
riscv
userspace memory
task_size
64-bit nommu
physical ram
ram above 4g
spurious failures

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

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

riscv: Fix TASK_SIZE on 64-bit NOMMU

On NOMMU, userspace memory can come from anywhere in physical RAM. The
current definition of TASK_SIZE is wrong if any RAM exists above 4G,
causing spurious failures in the userspace access routines.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/include/asm/pgtable.h"
    ],
    "versions": [
      {
        "version": "6bd33e1ece52",
        "lessThan": "04bf2e5f95c1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6bd33e1ece52",
        "lessThan": "52e8a42b1107",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6bd33e1ece52",
        "lessThan": "4201b8c8f2c3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6bd33e1ece52",
        "lessThan": "a0f0dbbb1bc4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6bd33e1ece52",
        "lessThan": "efdcfa554b6e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6bd33e1ece52",
        "lessThan": "6065e736f82c",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/include/asm/pgtable.h"
    ],
    "versions": [
      {
        "version": "5.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.216",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.158",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.90",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.30",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.9",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%