Skip to content

CVE-2024-47700 ext4: check stripe size compatibility on remount as well

MediumCVSS 5.5 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: check stripe size compatibility on remount as well

We disable stripe size in __ext4_fill_super if it is not a multiple of
the cluster ratio however this check is missed when trying to remount.
This can leave us with cases where stripe < cluster_ratio after
remount:set making EXT4_B2C(sbi->s_stripe) become 0 that can cause some
unforeseen bugs like divide by 0.

Fix that by adding the check in remount path as well.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.11.2-1 6.11.2-1 Fixed
debian/linux(Debian 14) < 6.11.2-1 6.11.2-1 Fixed
Linux kernel < 6.6.54; < 6.10.13; < 6.11.2; < 6.12 +8 more 6.6.54, 6.10.13, 6.11.2, 6.12, 297615e992bbb30a55c158141086be6505d5d722, a31b712f75445d52fc0451dc54fd7b16a552cb7c, ee85e0938aa8f9846d21e4d302c3cf6a2a75110d, faeff8b1ee2eaa5969c8e994d66c3337298cefed Fixed
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-54.56 6.8.0-54.56 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1019.23 6.8.0-1019.23 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5
debian/linux(Debian:13) < 6.11.2-1 6.11.2-1
debian/linux(Debian:14) < 6.11.2-1 6.11.2-1
Linux kernel >= c3defd99d58cbdd132bd197714e5523dac976b66, < faeff8b1ee2eaa5969c8e994d66c3337298cefed faeff8b1ee2eaa5969c8e994d66c3337298cefed
Linux kernel >= c3defd99d58cbdd132bd197714e5523dac976b66, < 297615e992bbb30a55c158141086be6505d5d722 297615e992bbb30a55c158141086be6505d5d722
Linux kernel >= c3defd99d58cbdd132bd197714e5523dac976b66, < a31b712f75445d52fc0451dc54fd7b16a552cb7c a31b712f75445d52fc0451dc54fd7b16a552cb7c
Linux kernel >= c3defd99d58cbdd132bd197714e5523dac976b66, < ee85e0938aa8f9846d21e4d302c3cf6a2a75110d ee85e0938aa8f9846d21e4d302c3cf6a2a75110d
Linux kernel = 6.5 No fix listed
Linux kernel < 6.6.54 6.6.54
Linux kernel < 6.10.13 6.10.13
Linux kernel < 6.11.2 6.11.2
Linux kernel < 6.12 6.12
ubuntu/linux(Ubuntu:24.04) < 6.8.0-54.56 6.8.0-54.56
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1019.23 6.8.0-1019.23
Linux kernel >= 6.5, < 6.6.54 6.6.54
Linux kernel >= 6.7, < 6.10.13 6.10.13
Linux kernel >= 6.11, < 6.11.2 6.11.2

References