Skip to main content
Network Thinking Solutions Logo

CVE-2024-56675

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Uprobes always use bpf_prog_run_array_uprobe() under tasks-trace-RCU protection.

All CVEs
CVE-2024-56675Published 12/27/2024

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Uprobes always use bpf_prog_run_array_uprobe() under tasks-trace-RCU protection.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Uprobes always use bpf_prog_run_array_uprobe() under tasks-trace-RCU protection. But it is possible to attach a non-sleepable BPF program to a uprobe, and non-sleepable BPF programs are freed via normal RCU (see __bpf_prog_put_noref()). This leads to UAF of the bpf_prog because a normal RCU grace period does not imply a tasks-trace-RCU grace period. Fix it by explicitly waiting for a tasks-trace-RCU grace period after removing the attachment of a bpf_prog to a perf_event.

Published
12/27/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
≥ 6.0, < 6.1.121

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.67

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.6

Verify advisory

Source
linux kernel
linux
6.13

Verify advisory

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

Source
Linux
Linux
≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < 9245459a992d22fe0e92e988f49db1fec82c184a

Verify advisory

Source
Linux
Linux
≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < f9f85df30118f3f4112761e6682fc60ebcce23e5

Verify advisory

Source
Linux
Linux
≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < 9b53d2c2a38a1effc341d99be3f99fa7ef17047d

Verify advisory

Source
Linux
Linux
≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < ef1b808e3b7c98612feceedf985c2fbbeb28f956

Verify advisory

Source
Linux
Linux
6.0

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: 7.8. 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.