Local system crash via BPF lock inversion
Published Jul 18, 2023 · Updated Sep 26, 2024
Deadlock in the Linux kernel BPF subsystem in Fedora Linux allows local users to crash the system through a sockmap deletion. The sock_hash_delete_elem path masks only soft interrupts while holding a sockmap or sockhash bucket lock, allowing a hard-interrupt BPF deletion to invert the bucket-lock and run-queue-lock order. A low-privileged local user must trigger the conflicting deletion timing; the documented consequence is a host crash, with no confidentiality or integrity impact.
Summary
What happened
Deadlock in the Linux kernel BPF subsystem in Fedora Linux allows local users to crash the system through a sockmap deletion. The sock_hash_delete_elem path masks only soft interrupts while holding a sockmap or sockhash bucket lock, allowing a hard-interrupt BPF deletion to invert the bucket-lock and run-queue-lock order. A low-privileged local user must trigger the conflicting deletion timing; the documented consequence is a host crash, with no confidentiality or integrity impact.
The record
- CVE
- CVE-2023-0160
- Published
- Jul 18, 2023
- Updated
- Sep 26, 2024
- Vendor
- Fedora Project
- Product
- Fedora Linux
- Classifications
- CWE-833, CWE-667, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 18, 2023CVE publishedPublication date reported by the CVE source.
- Sep 26, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Linux kernel mailing-list deadlock reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo