{"id":"CVE-2022-48770","aliases":["CVE-2022-48770"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: protección contra el acceso a pt_regs NULL en bpf_get_task_stack() task_pt_regs() puede devolver NULL en powerpc para subprocesos del kernel. Luego, esto se usa en __bpf_get_stack() para verificar el modo de usuario, lo que genera un kernel ups. Protéjase contra esto verificando el valor de retorno de task_pt_regs() antes de intentar obtener la cadena de llamadas.","source":"nvd"}],"published":"2024-06-20T11:13:45.193Z","modified":"2026-06-17T05:16:09.197Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","fixed":"ff6bdc205fd0a83bd365405d4e31fb5905826996","status":"affected"},{"type":"git","introduced":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","fixed":"0bcd484587b3b3092e448d27dc369e347e1810c3","status":"affected"},{"type":"git","introduced":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","fixed":"b82ef4985a6d05e80f604624332430351df7b79a","status":"affected"},{"type":"git","introduced":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","fixed":"b992f01e66150fc5e90be4a96f5eb8e634c8249e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.96","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.19","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.5","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"5.10.96"},{"status":"affected","introduced":"5.11","fixed":"5.15.19"},{"status":"affected","introduced":"5.16","fixed":"5.16.5"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ff6bdc205fd0a83bd365405d4e31fb5905826996","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0bcd484587b3b3092e448d27dc369e347e1810c3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b82ef4985a6d05e80f604624332430351df7b79a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b992f01e66150fc5e90be4a96f5eb8e634c8249e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:10:00.483Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48770","url":"https://www.cve.org/CVERecord?id=CVE-2022-48770","licence":"CVE Terms of Use","modified":"2026-05-11T18:46:35.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48770","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48770","licence":"Public domain","modified":"2026-06-17T05:16:09.197Z"}],"updatedAt":"2026-11-25T22:58:19.861Z","epss":{"score":0.00216,"percentile":0.12789,"date":"2026-12-02T12:00:21.000Z"}}