Not scored
fs/ntfs3: Fix NULL dereference in ni_write_inode
- Severity
- Not scored
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix NULL dereference in ni_write_inode Syzbot reports a NULL dereference in ni_write_inode. When creating a new inode, if allocation fails in mi_init function (called in mi_format_new function), mi->mrec is set to NULL. In the error path of this inode creation, mi->mrec is later dereferenced in ni_write_inode. Add a NULL check to prevent NULL dereference.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before d4b74482529516477cf7b12502538e51827c699f, from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before b3152afc0eb864f7c6ecad134a15b577ef7aec77, from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before b1135fbaf8ebef93df326761ac70ebcc3c2e3d63, from 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e before 8dae4f6341e335a09575be60b4fdf697c732a470, 5.15 Not affected: before 5.15, from 5.15.113 up to 5.15.*, from 6.1.81 up to 6.1.*, from 6.3.4 up to 6.3.*, from 6.4 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix NULL dereference in ni_write_inode Syzbot reports a NULL dereference in ni_write_inode. When creating a new inode, if allocation fails in mi_init function (called in mi_format_new function), mi->mrec is set to NULL. In the error path of this inode creation, mi->mrec is later dereferenced in ni_write_inode. Add a NULL check to prevent NULL dereference.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: fs/ntfs3: Solución para la desreferencia de NULL en ni_write_inode Syzbot informa una desreferencia de NULL en ni_write_inode. Al crear un nuevo inodo, si la asignación falla en la función mi_init (llamada en la función mi_format_new), mi -> mrec se establece en NULL. En la ruta de error de esta creación de inodo, mi -> mrec es desreferenciado posteriormente en ni_write_inode. Añadir una comprobación de NULL para prevenir la desreferencia de NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53732 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53732 changed 2026-10-28 | Public domain |