Infinite Loop Vulnerability in Linux Kernel - CVE-2024-50272

linux Updated 02 Oct 2025

Summary

19/11/2024
N/A
No i
Medium
5.5

CVE-2024-50272: In the Linux kernel, the following vulnerability has been resolved: filemap: Fix bounds checking in filemap_read() If the caller supplies an iocb->ki_pos value that is close to the filesystem upper limit, and an iterator... 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. It is known for its robustness and flexibility, supporting a wide range of devices and architectures. However, like any complex software, it is susceptible to vulnerabilities that can compromise system stability and security. CVE-2024-50272 specifically affects the filemap_read() function, which is responsible for reading data from files in the filesystem.

Vulnerability Detail

CVE-2024-50272 is a vulnerability in the Linux kernel that arises from improper bounds checking in the filemap_read() function. When a caller provides an iocb->ki_pos value that is near the filesystem's upper limit, combined with an iterator count that causes an overflow, the function can enter an infinite loop. This behavior was identified during testing with xfstests generic/525 while utilizing the 'localio' optimization for loopback NFS mounts. The implications of this vulnerability include potential denial of service, as the system may become unresponsive due to the infinite loop.

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. However, avoiding the use of configurations that lead to the conditions described in the vulnerability may help mitigate risks until a patch is applied.

Conclusion

CVE-2024-50272 represents a significant vulnerability in the Linux kernel that can lead to system instability. Users are encouraged to update their systems to the latest patched versions to mitigate the risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-50272 is a vulnerability in the Linux kernel that can cause an infinite loop in the filemap_read() function due to improper bounds checking.

This vulnerability can lead to a denial of service, causing the system to become unresponsive if exploited.

The vulnerability affects the Linux kernel across various Debian versions, including Debian 11, 12, and 13.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, users are advised to update their Linux kernel to the latest version that includes the patch for CVE-2024-50272.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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