{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48770","id":"CVE-2022-48770","title":"bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()","description":"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.","descriptionLong":"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.","published":"2024-06-20T11:13:45.193Z","updated":"2026-10-28T02:30:31.915720702Z","reserved":"2024-06-20T11:09:39.061Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","lessThan":"ff6bdc205fd0a83bd365405d4e31fb5905826996","status":"affected","versionType":"git"},{"version":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","lessThan":"0bcd484587b3b3092e448d27dc369e347e1810c3","status":"affected","versionType":"git"},{"version":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","lessThan":"b82ef4985a6d05e80f604624332430351df7b79a","status":"affected","versionType":"git"},{"version":"fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0","lessThan":"b992f01e66150fc5e90be4a96f5eb8e634c8249e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.96","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.19","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.5","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ff6bdc205fd0a83bd365405d4e31fb5905826996","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0bcd484587b3b3092e448d27dc369e347e1810c3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b82ef4985a6d05e80f604624332430351df7b79a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b992f01e66150fc5e90be4a96f5eb8e634c8249e","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48770.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48770","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00216,"epssPercentile":0.12136,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48770","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48770","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48770","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48770","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}