Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26705
HistoryApr 03, 2024 - 2:55 p.m.

CVE-2024-26705 parisc: BTLB: Fix crash when setting up BTLB at CPU bringup

2024-04-0314:55:08
Linux
www.cve.org
linux kernel
vulnerability
parisc
btlb
crash
cpu bringup
hotplug
firmware
segfault
write permissions
32-bit cpu

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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

parisc: BTLB: Fix crash when setting up BTLB at CPU bringup

When using hotplug and bringing up a 32-bit CPU, ask the firmware about the
BTLB information to set up the static (block) TLB entries.

For that write access to the static btlb_info struct is needed, but
since it is marked __ro_after_init the kernel segfaults with missing
write permissions.

Fix the crash by dropping the __ro_after_init annotation.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/parisc/kernel/cache.c"
    ],
    "versions": [
      {
        "version": "e5ef93d02d6c",
        "lessThan": "54944f45470a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e5ef93d02d6c",
        "lessThan": "aa52be552766",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e5ef93d02d6c",
        "lessThan": "913b9d443a01",
        "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/parisc/kernel/cache.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-26705