NULL pointer dereference in Linux
CVE-2022-48770
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.
EPSS: 0.002 (12.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, 5.9, 0
- Linux Linux_kernel — versions 5.17
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-48770?
- CVE-2022-48770 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2024-06-20.
- How severe is CVE-2022-48770?
- Medium severity. CVSS v3 base score is 5.5 out of 10.