
Cloud Vulnerability DB
A community-led vulnerabilities database
A deadlock flaw (CVE-2023-0160) was discovered in the Linux kernel's BPF subsystem, specifically in the sockhashdelete_elem function. The vulnerability was first reported in February 2023 and affects various Linux kernel versions including v5.15.25 and v5.19. This security issue allows local users to potentially crash the system through a deadlock condition (Debian Security, NVD).
The vulnerability occurs due to improper locking mechanisms in the BPF subsystem's sockhash map implementation. The issue manifests when the sockhashdeleteelem function is called from an interrupt context, creating a potential deadlock scenario between the htab->buckets[i].lock and rq->_lock. The sockhash map only provides spinlockbh protection, which causes it to exhibit self-locking behavior in the interrupt context (Kernel Mailing List).
The vulnerability can lead to system crashes when exploited, as it creates a deadlock condition in the kernel. This affects system stability and availability, particularly when the BPF subsystem is being utilized (NVD).
The issue was initially addressed in the Linux kernel through commit ed17aa92dc56, which modified the locking mechanism to disable hardirq instead of only softirq in the critical section of the delete operation in sockmap/sockhash. However, this fix was later reverted in commit 8c5c2a4898e3, suggesting ongoing work to properly address the vulnerability (Red Hat Bugzilla).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."