Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c3defd99d58cbdd132bd197714e5523dac976b66 before faeff8b1ee2eaa5969c8e994d66c3337298cefed; affected c3defd99d58cbdd132bd197714e5523dac976b66 before 297615e992bbb30a55c158141086be6505d5d722; affected c3defd99d58cbdd132bd197714e5523dac976b66 before a31b712f75445d52fc0451dc54fd7b16a552cb7c; affected c3defd99d58cbdd132bd197714e5523dac976b66 before ee85e0938aa8f9846d21e4d302c3cf6a2a75110d |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.54 through 6.6.*; unaffected 6.10.13 through 6.10.*; unaffected 6.11.2 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/faeff8b1ee2eaa5969c8e994d66c3337298cefed
- https://git.kernel.org/stable/c/297615e992bbb30a55c158141086be6505d5d722
- https://git.kernel.org/stable/c/a31b712f75445d52fc0451dc54fd7b16a552cb7c
- https://git.kernel.org/stable/c/ee85e0938aa8f9846d21e4d302c3cf6a2a75110d
ADP enrichment
No English description supplied.
No references supplied.