CVE-2022-48770

bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()

published June 20, 2024

CVSS
—
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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

bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()

task_pt_regs() can return NULL on powerpc for kernel threads. This is

then used in __bpf_get_stack() to check for user mode, resulting in a

kernel oops. Guard against this by checking return value of

task_pt_regs() before trying to obtain the call chain.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Published
2024-06-20T11:13Z
EPSS history
Timeline
  • 20 JUN 11:13Z
    bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    cvelistv5