Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-35903
HistoryMay 19, 2024 - 8:34 a.m.

CVE-2024-35903 x86/bpf: Fix IP after emitting call depth accounting

2024-05-1908:34:56
Linux
github.com
cve-2024-35903
x86
bpf
ip
emit_patch
call depth accounting
linux kernel
vulnerability
crash

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

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

x86/bpf: Fix IP after emitting call depth accounting

Adjust the IP passed to emit_patch so it calculates the correct offset
for the CALL instruction if x86_call_depth_emit_accounting emits code.
Otherwise we will skip some instructions and most likely crash.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/net/bpf_jit_comp.c"
    ],
    "versions": [
      {
        "version": "b2e9dfe54be4",
        "lessThan": "3f9d57c77165",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b2e9dfe54be4",
        "lessThan": "81166178cf0a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b2e9dfe54be4",
        "lessThan": "9d98aa088386",
        "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/net/bpf_jit_comp.c"
    ],
    "versions": [
      {
        "version": "6.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.26",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.5",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

Related for VULNRICHMENT:CVE-2024-35903