CVE-2024-50191
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/11/2024
Last modified:
05/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ext4: don&#39;t set SB_RDONLY after filesystem errors<br />
<br />
When the filesystem is mounted with errors=remount-ro, we were setting<br />
SB_RDONLY flag to stop all filesystem modifications. We knew this misses<br />
proper locking (sb->s_umount) and does not go through proper filesystem<br />
remount procedure but it has been the way this worked since early ext2<br />
days and it was good enough for catastrophic situation damage<br />
mitigation. Recently, syzbot has found a way (see link) to trigger<br />
warnings in filesystem freezing because the code got confused by<br />
SB_RDONLY changing under its hands. Since these days we set<br />
EXT4_FLAGS_SHUTDOWN on the superblock which is enough to stop all<br />
filesystem modifications, modifying SB_RDONLY shouldn&#39;t be needed. So<br />
stop doing that.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.168 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.113 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.57 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



