CVE-2024-50191
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.6
and later are affected. Fixed in
6.6.57,
6.11.4,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50191 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/58c0648e4c773f5b54f0cb63bc8c7c6bf52719a9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d3476f3dad4ad68ae5f6b008ea6591d1520da5d8
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ee77c388469116565e009eaa704a60bc78489e09
Frequently asked questions
-
What is CVE-2024-50191?
CVE-2024-50191 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.6 onward and has been patched in 6.6.57, 6.11.4 and 6.12. CVE-2024-50191 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50191?
CVE-2024-50191 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-50191?
Yes — CVE-2024-50191 has been patched. Fixed versions include 6.6.57, 6.11.4 and 6.12. If you are running Linux kernel 6.6 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50191 actively exploited?
No — CVE-2024-50191 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.