Critical EOF Check Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

19/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-38604: In the Linux kernel, the following vulnerability has been resolved: block: refine the EOF check in blkdev_iomap_begin blkdev_iomap_begin rounds down the offset to the logical block size before stashing it in iomap->offse... Affects linux versions < 6.8.12-1. Fixed in 6.8.12-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to severe system compromises. This specific vulnerability affects the Linux kernel versions in Debian 13 and 14, highlighting the importance of timely updates and security patches.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the block device handling code, specifically in the function blkdev_iomap_begin. The issue arises from an improper check of the end-of-file (EOF) condition, which can lead to attempts to perform zero-size writes when the iterator's position is unaligned. This flaw can potentially allow unauthorized access or modification of data, posing a significant risk to system integrity and security.

How To Fix

Minimum fixed version

6.8.12-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, no specific workarounds have been provided for this vulnerability. The best course of action is to apply the available patch as soon as possible.

Conclusion

The identified EOF check vulnerability in the Linux kernel poses a significant risk to systems running Debian 13 and 14. Users are urged to update to the patched version 6.8.12-1 to ensure their systems remain secure. Regular monitoring and updates are essential to protect against such vulnerabilities.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves an improper EOF check in the Linux kernel's block device handling, which can lead to unauthorized data writes.

The vulnerability affects the Linux kernel versions in Debian 13 and 14 prior to the fixed version 6.8.12-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

If exploited, this vulnerability could allow attackers to perform unauthorized writes, potentially compromising system integrity and data security.

It is recommended to regularly check for updates and apply security patches promptly to mitigate vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.8.12-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