Linux Kernel Vulnerability in BPF Local Storage Management by Linux Foundation
CVE-2023-53857

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
9 December 2025

What is CVE-2023-53857?

In the Linux kernel, a vulnerability in the BPF local storage handling mechanism can lead to unsafe memory allocation while holding a raw_spin_lock. This issue arises in tracing contexts where certain memory management functions may be improperly executed. The vulnerability was identified through the use of the test programs which surfaced problematic locking behaviors. A patch has been provided to prevent memory allocation calls after acquiring the raw_spin_lock, thus mitigating the risk of unexpected behavior or crashes under specific conditions. The context of this issue emphasizes the importance of correct memory management practices in kernel development and the potential risks of improperly securing access to shared resources.

Affected Version(s)

Linux b00fa38a9c1cba044a32a601b49a55a18ed719d1 < 300415caa373a07782fcbc2f8d9429bc2dc27a47

Linux b00fa38a9c1cba044a32a601b49a55a18ed719d1

Linux 5.18

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.