CVE-2022-48770
published 2024-06-20CVE-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…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
12.1th percentile
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.7-1 (bookworm) | linux 5.16.7-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0 < ff6bdc205fd0a83bd365405d4e31fb5905826996 | ff6bdc205fd0a83bd365405d4e31fb5905826996 |
| linux | linux | >= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0 < 0bcd484587b3b3092e448d27dc369e347e1810c3 | 0bcd484587b3b3092e448d27dc369e347e1810c3 |
| linux | linux | >= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0 < b82ef4985a6d05e80f604624332430351df7b79a | b82ef4985a6d05e80f604624332430351df7b79a |
| linux | linux | >= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0 < b992f01e66150fc5e90be4a96f5eb8e634c8249e | b992f01e66150fc5e90be4a96f5eb8e634c8249e |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.103-1 | 5.10.103-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 5.11 < 5.15.19 | 5.15.19 |
| linux | linux_kernel | >= 5.16 < 5.16.5 | 5.16.5 |
| linux | linux_kernel | >= 5.9 < 5.10.96 | 5.10.96 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
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() c
osv·2024-06-20·CVSS 5.5
CVE-2022-48770 [MEDIUM] 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() c
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.
GHSA
GHSA-qx5f-76wj-2xm5: 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()
ghsa_unreviewed·2024-06-20
CVE-2022-48770 [MEDIUM] CWE-476 GHSA-qx5f-76wj-2xm5: 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()
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.
Red Hat
kernel: bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
vendor_redhat·2024-06-20·CVSS 5.5
CVE-2022-48770 [MEDIUM] CWE-252 kernel: bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
kernel: bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
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.
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Affected
Package: kernel
Debian
CVE-2022-48770: linux - In the Linux kernel, the following vulnerability has been resolved: bpf: Guard ...
vendor_debian·2022·CVSS 5.5
CVE-2022-48770 [MEDIUM] CVE-2022-48770: linux - In the Linux kernel, the following vulnerability has been resolved: bpf: Guard ...
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.
Scope: local
bookworm: resolved (fixed in 5.16.7-1)
bullseye: resolved (fixed in 5.10.103-1)
forky: resolved (fixed in 5.16.7-1)
sid: resolved (fixed in 5.16.7-1)
trixie: resolved (fixed in 5.16.7-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/0bcd484587b3b3092e448d27dc369e347e1810c3https://git.kernel.org/stable/c/b82ef4985a6d05e80f604624332430351df7b79ahttps://git.kernel.org/stable/c/b992f01e66150fc5e90be4a96f5eb8e634c8249ehttps://git.kernel.org/stable/c/ff6bdc205fd0a83bd365405d4e31fb5905826996https://git.kernel.org/stable/c/0bcd484587b3b3092e448d27dc369e347e1810c3https://git.kernel.org/stable/c/b82ef4985a6d05e80f604624332430351df7b79ahttps://git.kernel.org/stable/c/b992f01e66150fc5e90be4a96f5eb8e634c8249ehttps://git.kernel.org/stable/c/ff6bdc205fd0a83bd365405d4e31fb5905826996
2024-06-20
Published