Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46792
HistorySep 18, 2024 - 7:12 a.m.

CVE-2024-46792 riscv: misaligned: Restrict user access to kernel memory

2024-09-1807:12:47
Linux
www.cve.org
1
linux kernel
vulnerability
resolved
raw_copy_to_user
raw_copy_from_user
access_ok
userspace
virtual memory address

EPSS

0

Percentile

9.6%

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

riscv: misaligned: Restrict user access to kernel memory

raw_copy_{to,from}_user() do not call access_ok(), so this code allowed
userspace to access any virtual memory address.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/riscv/kernel/traps_misaligned.c"
    ],
    "versions": [
      {
        "version": "7c83232161f6",
        "lessThan": "a3b6ff6c896a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7c83232161f6",
        "lessThan": "b686ecdeacf6",
        "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/kernel/traps_misaligned.c"
    ],
    "versions": [
      {
        "version": "6.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.7",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.6%

Related for CVELIST:CVE-2024-46792