Skip to main content
Network Thinking Solutions Logo

CVE-2022-48770

Linux kernel: bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()

All CVEs
CVE-2022-48770Published 6/20/2024

Linux kernel: bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/20/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.9, < 5.10.96

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.19

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.5

Verify advisory

Source
linux kernel
linux
5.17

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < ff6bdc205fd0a83bd365405d4e31fb5905826996

Verify advisory

Source
Linux
Linux
≥ fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < 0bcd484587b3b3092e448d27dc369e347e1810c3

Verify advisory

Source
Linux
Linux
≥ fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < b82ef4985a6d05e80f604624332430351df7b79a

Verify advisory

Source
Linux
Linux
≥ fa28dcb82a38f8e3993b0fae9106b1a80b59e4f0, < b992f01e66150fc5e90be4a96f5eb8e634c8249e

Verify advisory

Source
Linux
Linux
5.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.