Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-35807
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.38%
within the next 30 days
CategoryOther
Published17 May 2024
Last modified: 15 October 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix corruption during on-line resize We observed a corruption during on-line resize of a file system that is larger than 16 TiB with 4k block size. With having more then 2^32 blocks resize_inode is turned off by default by mke2fs. The issue can be reproduced on a smaller file system for convenience by explicitly turning off resize_inode. An on-line resize across an 8 GiB boundary (the size of a meta block group in this setup) then leads to a corruption: dev=/dev/<some_dev> # should be >= 16 GiB mkdir -p /corruption /sbin/mke2fs -t ext4 -b 4096 -O ^resize_inode $dev $((2 * 2**21 - 2**15)) mount -t ext4 $dev /corruption dd if=/dev/zero bs=4096 of=/corruption/test count=$((2*2**21 - 4*2**15)) sha1sum /corruption/test # 79d2658b39dcfd77274e435b0934028adafaab11 /corruption/test /sbin/resize2fs $dev $((2*2**21)) # drop page cache to force reload the block from disk echo 1 > /proc/sys/vm/drop_caches sha1sum /corruption/test # 3c2abc63cbf1a94c9e6977e0fbd72cd832c4d5c3 /corruption/test 2^21 = 2^15*2^6 equals 8 GiB whereof 2^15 is the number of blocks per block group and 2^6 are the number of block groups that make a meta block group. The last checksum might be different depending on how the file is laid out across the physical blocks. The actual corruption occurs at physical block 63*2^15 = 2064384 which would be the location of the backup of the meta block group's block descriptor. During the on-line resize the file system will be converted to meta_bg starting at s_first_meta_bg which is 2 in the example - meaning all block groups after 16 GiB. However, in ext4_flex_group_add we might add block groups that are not part of the first meta block group yet. In the reproducer we achieved this by substracting the size of a whole block group from the point where the meta block group would start. This must be considered when updating the backup block group descriptors to follow the non-meta_bg layout. The fix is to add a test whether the group to add is already part of the meta block group or not.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
linuxlinux kernel>=3.7 <4.19.312
linuxlinux kernel>=4.20 <5.4.274
linuxlinux kernel>=5.5 <5.10.215
linuxlinux kernel>=5.11 <5.15.154
linuxlinux kernel>=5.16 <6.1.84
linuxlinux kernel>=6.2 <6.6.24
linuxlinux kernel>=6.7 <6.7.12
linuxlinux kernel>=6.8 <6.8.3
debiandebian linux10.0

Sources

Latest in the same category

  • CVE-2026-140025 Medium 4.6
    Improper Resolution of Path Equivalence (CWE-41) in the active content confirmation of PeaZip from 10.5.0 before 11.3.0 on Windows allows a party who supplies an archive to have an entry opened without the warning the…
    Other · 30 November 2026
  • CVE-2026-116770 Critical 9
    The Host Group Updater, a standalone tool available with Secure Access prior to 14.10, has a security vulnerability that discloses protected information. An adversary in a privileged position can use this to impact the…
    Other · 30 November 2026
  • CVE-2026-137184 High 7.8
    PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the…
    Other · 30 November 2026
  • CVE-2026-136268 Medium 5.1
    Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Content Spoofing via code block content passed to MDEx.to_slack/2. An attacker who controls Markdown that an…
    Other · 30 November 2026
  • CVE-2026-136130 Low 2.1
    Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Slack mention and broadcast injection via link, image, and wikilink destinations. MDEx.to_slack/2 renders these nodes…
    Other · 30 November 2026
  • CVE-2026-136129 Low 2.1
    Incorrect Behavior Order: Validate Before Canonicalize vulnerability in leandrocp mdex allows an attacker who controls Markdown input to place javascript: and data: URLs into Quill Delta output via entity-encoded…
    Other · 30 November 2026