Infinite Loop Vulnerability in Linux Kernel's TCP BPF Receive Message Parser

linux Updated 02 Oct 2025

Summary

02/05/2025
N/A
No i
Unrated
Not published

CVE-2023-53133: In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser() When the buffer length of the recvmsg system call is 0, we got the fl... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, managing hardware resources and providing essential services to software applications. It supports various functionalities, including networking, file management, and process control. The kernel's robustness is critical for system stability and performance. However, vulnerabilities can arise, such as the one identified in the TCP BPF receive message parser, which can lead to significant performance issues.

Vulnerability Detail

The vulnerability, identified as CVE-2023-53133, occurs in the Linux kernel's tcp_bpf_recvmsg_parser function. When the buffer length of the recvmsg system call is set to 0, the function enters an infinite loop, causing a soft lockup. This results in the CPU being stuck and unable to process other tasks, leading to potential system instability and degraded performance. The issue arises from the logic that fails to return a value when no bytes are copied, causing the function to repeatedly wait for data that will never arrive.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate the risk.

Conclusion

The CVE-2023-53133 vulnerability in the Linux kernel's tcp_bpf_recvmsg_parser function poses a significant risk by causing an infinite loop when the buffer length is zero. Users are advised to update their systems to the latest patched versions to ensure stability and performance.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53133 is a vulnerability in the Linux kernel that causes an infinite loop in the tcp_bpf_recvmsg_parser function when the buffer length is set to 0.

The vulnerability can lead to a soft lockup, causing the CPU to become unresponsive and potentially degrading system performance.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Yes, a patch is available in the fixed versions of the Linux kernel, specifically 6.1.20-1 for Debian 12 and 13.

While there are no specific workarounds, it is crucial to prioritize updating your kernel to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback