Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-68728

ntfs3: fix uninit memory after failed mi_read in mi_format_new

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 < afb144bc8e920db43a23e996eb0a6f9bdea84341affected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < c70b3abfd530c7f574bc25a5f84707e6fdf0def8affected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 8bf729b96303bb862d7c6dc05edcf51274ae04cfaffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 7ce8f2028dfccb2161b905cf8ab85cdd9e93909caffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 46f2a881e5a7311d41551edb3915e4d4e8802341affected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 81ffe9a265df3e41534726b852ab08792e3d374daffected
  • 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.198 to ≤ 5.15.*unaffected
  • 6.1.160 to ≤ 6.1.*unaffected
  • 6.6.120 to ≤ 6.6.*unaffected
  • 6.12.63 to ≤ 6.12.*unaffected
  • 6.17.13 to ≤ 6.17.*unaffected
  • 6.18.2 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References