Not scored
ntfs3: fix uninit memory after failed mi_read in mi_format_new
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before afb144bc8e920db43a23e996eb0a6f9bdea84341, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before c70b3abfd530c7f574bc25a5f84707e6fdf0def8, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 8bf729b96303bb862d7c6dc05edcf51274ae04cf, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 7ce8f2028dfccb2161b905cf8ab85cdd9e93909c, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 46f2a881e5a7311d41551edb3915e4d4e8802341, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 81ffe9a265df3e41534726b852ab08792e3d374d, from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 73e6b9dacf72a1e7a4265eacca46f8f33e0997d6, 5.15 Not affected: before 5.15, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ntfs3: corrección de memoria no inicializada después de un mi_read fallido en mi_format_new Corrige un error de no inicialización de KMSAN encontrado por syzkaller. ntfs_get_bh() espera un búfer de sb_getblk(), ese búfer podría no estar actualizado. No actualizamos el búfer antes de establecerlo como actualizado. Si el búfer no estuviera actualizado, podría significar añadir un búfer con datos no inicializados al registro mi. Intentar cargar ese registro activará KMSAN. Esto se evita estableciendo el búfer como actualizado, si aún no lo está, sobrescribiéndolo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68728 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68728 changed 2026-10-13 | Public domain |