Linux
netfs: Fix potential for tearing in ->remote_i_size and ->zero_point
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix potential for tearing in ->remote_i_size and ->zero_point Fix potential tearing in using ->remote_i_size and ->zero_point by copying i_size_read() and i_size_write() and using the same seqcount as for i_size. We need to make sure that netfslib and the filesystems that use it always hold i_lock whilst updating any of the sizes to prevent i_size_seqcount from getting corrupted.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9, < 55970f238d495517edc961d55c44c772594d0969
- >= 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9, < 2c8f4742bb76117d735f92a3932d85239b16c494
Fixed in 55970f238d495517edc961d55c44c772594d0969, 2c8f4742bb76117d735f92a3932d85239b16c494
- 5.18
Fixed in 0, 7.0.11, 7.1
Mitigation
Upgrade Linux to 55970f238d495517edc961d55c44c772594d0969 or 2c8f4742bb76117d735f92a3932d85239b16c494 or later.
Upgrade Linux to 0 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.