CVE-2025-68728

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < afb144bc8e920db43a23e996eb0a6f9bdea84341affected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < c70b3abfd530c7f574bc25a5f84707e6fdf0def8affected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < 8bf729b96303bb862d7c6dc05edcf51274ae04cfaffected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < 7ce8f2028dfccb2161b905cf8ab85cdd9e93909caffected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < 46f2a881e5a7311d41551edb3915e4d4e8802341affected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < 81ffe9a265df3e41534726b852ab08792e3d374daffected
LinuxLinux4342306f0f0d5ff4315a204d315c1b51b914fca5 < 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6affected
LinuxLinux5.15affected
LinuxLinux0 < 5.15unaffected
LinuxLinux5.15.198 <= 5.15.*unaffected
LinuxLinux6.1.160 <= 6.1.*unaffected
LinuxLinux6.6.120 <= 6.6.*unaffected
LinuxLinux6.12.63 <= 6.12.*unaffected
LinuxLinux6.17.13 <= 6.17.*unaffected
LinuxLinux6.18.2 <= 6.18.*unaffected
LinuxLinux6.19 <= *unaffected

Weaknesses

References