Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's BPF sockmap implementation can lead to a soft lockup condition. This issue occurs in versions of the kernel through 6.2.0, when the recvmsg system call is invoked with a buffer length of zero. The tcp_bpf_recvmsg_parser function enters an infinite loop, repeatedly waiting for data that never arrives, effectively stalling the CPU. This behavior triggers a watchdog error, indicating that the processor has been unresponsive for an extended period.
Exploitation of this vulnerability causes a soft lockup, where a CPU becomes unresponsive for a significant duration, disrupting normal system operations.
The vulnerability can be reproduced by sending a recvmsg system call with a buffer length of zero to a socket that has BPF sockmap enabled. The tcp_bpf_recvmsg_parser function will enter an infinite loop, waiting for data that will not be received, causing a soft lockup on the CPU.
Users can upgrade to a patched version of the Linux kernel that addresses this vulnerability. Instructions for updating the kernel can be found in the distribution's documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.