In the Linux kernel, the following vulnerability has been resolved: fs: Protect reconfiguration of sb read-write from racing writes The reconfigure / remount code takes a lot of effort to protect filesystem's reconfiguration code from racing writes on remounting read-only. However during remounting read-only filesystem to read-write mode userspace writes can start immediately once we clear SB_RDONLY flag. This is inconvenient for example for ext4 because we need to do some writes to the filesystem (such as preparation of quota files) before we can take userspace writes so we are clearing SB_RDONLY flag before we are fully ready to accept userpace writes and syzbot has found a way to exploit this [1]. Also as far as I'm reading the code the filesystem remount code was protected from racing writes in the legacy mount path by the mount's MNT_READONLY flag so this is relatively new problem. It is actually fairly easy to protect remount read-write from racing writes using sb->s_readonly_remount flag so let's just do that instead of having to workaround these races in the filesystem code. [1] https://lore.kernel.org/all/[email protected]/T/
Severity
Not rated by the source.
Dates
Published
2025-12-24 13:16 UTC
Modified
2026-10-26 17:47 UTC
Affected packages and fixes
linux
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 6.1.52-1 (ecosystem)
Fixed versions
6.1.52-1
Fix
Fixed version 6.1.52-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
linux
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 6.4.11-1 (ecosystem)
Fixed versions
6.4.11-1
Fix
Fixed version 6.4.11-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
linux
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 6.4.11-1 (ecosystem)
Fixed versions
6.4.11-1
Fix
Fixed version 6.4.11-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.