CVE-2024-50191

ext4: don't set SB_RDONLY after filesystem errors

MEDIUM
5.5
CVSS Score
Published: November 8, 2024 at 05:43 AM UTC
Updated: June 17, 2026 at 08:03 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: don't set SB_RDONLY after filesystem errors When the filesystem is mounted with errors=remount-ro, we were setting SB_RDONLY flag to stop all filesystem modifications. We knew this misses proper locking (sb->s_umount) and does not go through proper filesystem remount procedure but it has been the way this worked since early ext2 days and it was good enough for catastrophic situation damage mitigation. Recently, syzbot has found a way (see link) to trigger warnings in filesystem freezing because the code got confused by SB_RDONLY changing under its hands. Since these days we set EXT4_FLAGS_SHUTDOWN on the superblock which is enough to stop all filesystem modifications, modifying SB_RDONLY shouldn't be needed. So stop doing that.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1685.16 ≤ v < 6.1.1136.2 ≤ v < 6.6.576.6 ≤ v < 6.11.46.6 ≤ v < 6.126.6 ≤ v < 6.6.576.7 ≤ v < 6.11.46.695257987a6387f02970eda707e55a06cce734e18
Vendor states this is fixed in 58c0648e4c773f5b54f0cb63bc8c7c6bf52719a9 (fixed)
Vendor states this is fixed in d3476f3dad4ad68ae5f6b008ea6591d1520da5d8 (fixed)
Vendor states this is fixed in ee77c388469116565e009eaa704a60bc78489e09 (fixed)
Affected range stops below 5.15.168, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.113, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.11.4 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.57 (unaffected)

References (6)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card