{"id":"CVE-2022-48770","published":"2024-06-20T11:13:45Z","modified":"2026-05-11T18:46:35Z","title":"bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()\n\ntask_pt_regs() can return NULL on powerpc for kernel threads. This is\nthen used in __bpf_get_stack() to check for user mode, resulting in a\nkernel oops. Guard against this by checking return value of\ntask_pt_regs() before trying to obtain the call chain.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00216,"percentile":0.12294,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ff6bdc205fd0a83bd365405d4e31fb5905826996","tags":[]},{"url":"https://git.kernel.org/stable/c/0bcd484587b3b3092e448d27dc369e347e1810c3","tags":[]},{"url":"https://git.kernel.org/stable/c/b82ef4985a6d05e80f604624332430351df7b79a","tags":[]},{"url":"https://git.kernel.org/stable/c/b992f01e66150fc5e90be4a96f5eb8e634c8249e","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < ff6bdc205fd0a83bd365405d4e31fb5905826996",">= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < 0bcd484587b3b3092e448d27dc369e347e1810c3",">= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < b82ef4985a6d05e80f604624332430351df7b79a",">= fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < b992f01e66150fc5e90be4a96f5eb8e634c8249e"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:10:00.483681Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53649","exploited":false,"provenance":"source"}}