Lucene search

K
cvelistLinuxCVELIST:CVE-2024-43868
HistoryAug 20, 2024 - 11:50 p.m.

CVE-2024-43868 riscv/purgatory: align riscv_kernel_entry

2024-08-2023:50:51
Linux
www.cve.org
4
cve-2024-43868
riscv/purgatory
alignment
vulnerability
linux kernel
kernel
trap handler
kexec
jh7110 soc
oreboot
sbi
unaligned access exceptions

EPSS

0

Percentile

9.5%

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

riscv/purgatory: align riscv_kernel_entry

When alignment handling is delegated to the kernel, everything must be
word-aligned in purgatory, since the trap handler is then set to the
kexec one. Without the alignment, hitting the exception would
ultimately crash. On other occasions, the kernel’s handler would take
care of exceptions.
This has been tested on a JH7110 SoC with oreboot and its SBI delegating
unaligned access exceptions and the kernel configured to handle them.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/purgatory/entry.S"
    ],
    "versions": [
      {
        "version": "736e30af583f",
        "lessThan": "5d4aaf16a825",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "736e30af583f",
        "lessThan": "fb197c5d2fd2",
        "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/purgatory/entry.S"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.4",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%