CVE-2023-0160

Possibility of deadlock in libbpf function sock_hash_delete_elem

Published Jul 18, 2023 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
A deadlock flaw was found in the Linux kernel’s BPF subsystem. This flaw allows a local user to potentially crash the system.

Remediation

Vendor Workaround

The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space. For the Red Hat Enterprise Linux 7 the eBPF for unprivileged users is always disabled. For the Red Hat Enterprise Linux 8 or 9 to confirm the current state, inspect the sysctl with the command: # cat /proc/sys/kernel/unprivileged_bpf_disabled The setting of 1 would mean that unprivileged users cannot use eBPF, mitigating the flaw. A kernel update will be required to mitigate the flaw for the root or users with CAP_SYS_ADMIN capabilities. Note: A fix for this CVE may be backported as a part of one of the future BPF subsystem rebases.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-12250 A deadlock flaw was found in the Linux kernel’s BPF subsystem. This flaw allows a local user to potentially crash the system.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 26, 2024, 7:33 PM
Reserved
Jan 10, 2023, 4:03 PM
Status
Modified
Published
Jul 18, 2023, 5:15 PM
Modified
Jun 17, 2026, 5:24 AM
Severity
Low
Public date
Mar 12, 2023, 12:00 AM