Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: fix uninit memory after failed mi_read in mi_format_new Fix a KMSAN un-init bug found by syzkaller. ntfs_get_bh() expects a buffer from sb_getblk(), that buffer may not be uptodate. We do not bring the buffer uptodate before setting it as uptodate. If the buffer were to not be uptodate, it could mean adding a buffer with un-init data to the mi record. Attempting to load that record will trigger KMSAN. Avoid this by setting the buffer as uptodate, if it’s not already, by overwriting it.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4342306f0f0d5ff4315a204d315c1b51b914fca5 to < afb144bc8e920db43a23e996eb0a6f9bdea84341affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < c70b3abfd530c7f574bc25a5f84707e6fdf0def8affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 8bf729b96303bb862d7c6dc05edcf51274ae04cfaffected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 7ce8f2028dfccb2161b905cf8ab85cdd9e93909caffected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 46f2a881e5a7311d41551edb3915e4d4e8802341affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 81ffe9a265df3e41534726b852ab08792e3d374daffected4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected5.15.198 to ≤ 5.15.*unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.63 to ≤ 6.12.*unaffected6.17.13 to ≤ 6.17.*unaffected6.18.2 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/afb144bc8e920db43a23e996eb0a6f9bdea84341 ↗
- https://git.kernel.org/stable/c/c70b3abfd530c7f574bc25a5f84707e6fdf0def8 ↗
- https://git.kernel.org/stable/c/8bf729b96303bb862d7c6dc05edcf51274ae04cf ↗
- https://git.kernel.org/stable/c/7ce8f2028dfccb2161b905cf8ab85cdd9e93909c ↗
- https://git.kernel.org/stable/c/46f2a881e5a7311d41551edb3915e4d4e8802341 ↗
- https://git.kernel.org/stable/c/81ffe9a265df3e41534726b852ab08792e3d374d ↗
- https://git.kernel.org/stable/c/73e6b9dacf72a1e7a4265eacca46f8f33e0997d6 ↗