BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-26704 in Debian Linux and 2 more products

High 7.8 Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: ext4: fix double-free of blocks due to wrong extents moved_len In ext4_move_extents(), moved_len is only updated when all moves are successfully executed, and only discards orig_inode and donor_inode preallocations when moved_len is not zero. When the loop fails to exit after successfully moving some extents, moved_len is not updated and remains at 0, so it does not discard the preallocations. If the moved extents overlap with the preallocated extents, the overlapped extents are freed twice in ext4_mb_release_inode_pa() and ext4_process_freed_data() (as described in commit 94d7c16cbbbd ("ext4: Fix double-free of blocks with EXT4_IOC_MOVE_EXT")), and bb_free is incremented twice. Hence when trim is executed, a zero-division bug is triggered in mb_update_avg_fragment_size() because bb_free is not zero and bb_fragments is zero. Therefore, update move_len after each extent move to avoid the issue.

Affects 3 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.17.8
EPSS0.3%
EPSS percentile20th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Linux Linux Kernel 6.8 ≥ 3.18, < 4.19.307 ≥ 4.20, < 5.4.269 ≥ 5.5, < 5.10.210 ≥ 5.11, < 5.15.149 ≥ 5.16, < 6.1.79
+2 more≥ 6.2, < 6.6.18 ≥ 6.7, < 6.7.6
Linux Linux 3.18
Siemens — —

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-26704
BreachSpider IDBS-2024-GLOBAL-204882-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-04-03
Last modified2026-08-04
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement monitoring and logging for TRIM operations and file system activities to detect any unusual behavior that could indicate exploitation of this vulnerability.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-04.