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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c3defd99d58cbdd132bd197714e5523dac976b66, < faeff8b1ee2eaa5969c8e994d66c3337298cefed; >= c3defd99d58cbdd132bd197714e5523dac976b66, < 297615e992bbb30a55c158141086be6505d5d722; >= c3defd99d58cbdd132bd197714e5523dac976b66, < a31b712f75445d52fc0451dc54fd7b16a552cb7c; >= c3defd99d58cbdd132bd197714e5523dac976b66, < ee85e0938aa8f9846d21e4d302c3cf6a2a75110d |
| Linux | Linux | 6.5 |
References
- https://git.kernel.org/stable/c/297615e992bbb30a55c158141086be6505d5d722Patch
- https://git.kernel.org/stable/c/a31b712f75445d52fc0451dc54fd7b16a552cb7cPatch
- https://git.kernel.org/stable/c/ee85e0938aa8f9846d21e4d302c3cf6a2a75110dPatch
- https://git.kernel.org/stable/c/faeff8b1ee2eaa5969c8e994d66c3337298cefedPatch
Timeline
- Published
- Oct 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed