ntfs3: fix uninit memory after failed mi_read in mi_format_new
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 46f2a881e5a7311d41551edb3915e4d4e8802341, Kernel 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6, Kernel 7ce8f2028dfccb2161b905cf8ab85cdd9e93909c and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.15, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <46f2a881e5a7311d41551edb3915e4d4e8802341, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <73e6b9dacf72a1e7a4265eacca46f8f33e0997d6, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <7ce8f2028dfccb2161b905cf8ab85cdd9e93909c, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <81ffe9a265df3e41534726b852ab08792e3d374d, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <8bf729b96303bb862d7c6dc05edcf51274ae04cf, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <afb144bc8e920db43a23e996eb0a6f9bdea84341, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <c70b3abfd530c7f574bc25a5f84707e6fdf0def8 | 46f2a881e5a7311d41551edb3915e4d4e8802341, 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6, 7ce8f2028dfccb2161b905cf8ab85cdd9e93909c, 81ffe9a265df3e41534726b852ab08792e3d374d, 8bf729b96303bb862d7c6dc05edcf51274ae04cf, afb144bc8e920db43a23e996eb0a6f9bdea84341, c70b3abfd530c7f574bc25a5f84707e6fdf0def8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket