Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 before 55970f238d495517edc961d55c44c772594d0969; affected 4058f742105ecfcbdf99e1139e6c1f74fb8e6db9 before 2c8f4742bb76117d735f92a3932d85239b16c494 |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/55970f238d495517edc961d55c44c772594d0969
- https://git.kernel.org/stable/c/2c8f4742bb76117d735f92a3932d85239b16c494
ADP enrichment
No English description supplied.
No references supplied.