Critical Vulnerability in Linux Kernel: Improper Handling of rx_bytes in vsock

linux Updated 02 Oct 2025

Summary

07/11/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50169: In the Linux kernel, the following vulnerability has been resolved: vsock: Update rx_bytes on read_skb() Make sure virtio_transport_inc_rx_pkt() and virtio_transport_dec_rx_pkt() calls are balanced (i.e. Affects linux versions < 6.11.6-1. Fixed in 6.11.6-1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its robustness and versatility, supporting a wide range of hardware architectures and functionalities. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity and performance. This specific vulnerability affects the vsock transport layer, which is responsible for communication between virtual machines and the host system.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the vsock implementation where the rx_bytes counter is not properly updated during packet processing. This issue arises in the virtio_transport_inc_rx_pkt() and virtio_transport_dec_rx_pkt() functions, leading to a mismatch between the actual received bytes and the reported count. As a result, when the socket is empty but rx_bytes is non-zero, it triggers a warning, indicating potential inconsistencies in data handling. This could lead to unexpected behavior in applications relying on the vsock interface, particularly those using SOCK_STREAM for data transmission.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and apply the patch as soon as it becomes available.

Conclusion

The vulnerability in the Linux kernel's vsock implementation poses a risk to systems relying on this transport layer for communication. It is crucial for users to update their kernel to the patched version to mitigate potential issues. Regular monitoring and timely updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper handling of the rx_bytes counter in the vsock implementation of the Linux kernel, leading to potential inconsistencies in data reporting.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, you can quickly identify if your application is affected by this vulnerability.

If exploited, this vulnerability could lead to warnings in applications using the vsock interface, potentially affecting data transmission and application performance.

Yes, a patch has been released in version 6.11.6-1 of the Linux kernel. Users are encouraged to update their systems to this version.

Detailed information can be found in the Debian CVE database, which provides insights into the vulnerability and its resolution.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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