Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26946
HistoryMay 01, 2024 - 5:18 a.m.

CVE-2024-26946 kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address

2024-05-0105:18:13
Linux
www.cve.org
4
linux kernel
vulnerability
kprobes/x86
copy_from_kernel_nofault
arch_adjust_kprobe_addr
kernel panic

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

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

kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address

Read from an unsafe address with copy_from_kernel_nofault() in
arch_adjust_kprobe_addr() because this function is used before checking
the address is in text or not. Syzcaller bot found a bug and reported
the case if user specifies inaccessible data area,
arch_adjust_kprobe_addr() will cause a kernel panic.

[ mingo: Clarified the comment. ]

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/kernel/kprobes/core.c"
    ],
    "versions": [
      {
        "version": "cc66bb914578",
        "lessThan": "641768431508",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc66bb914578",
        "lessThan": "f13edd1871d4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc66bb914578",
        "lessThan": "20fdb21eabae",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc66bb914578",
        "lessThan": "b69f577308f1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc66bb914578",
        "lessThan": "4e51653d5d87",
        "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/x86/kernel/kprobes/core.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.84",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.24",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]