CVE-2025-39842
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
19/09/2025
Última modificación:
19/09/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ocfs2: prevent release journal inode after journal shutdown<br />
<br />
Before calling ocfs2_delete_osb(), ocfs2_journal_shutdown() has already<br />
been executed in ocfs2_dismount_volume(), so osb->journal must be NULL. <br />
Therefore, the following calltrace will inevitably fail when it reaches<br />
jbd2_journal_release_jbd_inode().<br />
<br />
ocfs2_dismount_volume()-><br />
ocfs2_delete_osb()-><br />
ocfs2_free_slot_info()-><br />
__ocfs2_free_slot_info()-><br />
evict()-><br />
ocfs2_evict_inode()-><br />
ocfs2_clear_inode()-><br />
jbd2_journal_release_jbd_inode(osb->journal->j_journal,<br />
<br />
Adding osb->journal checks will prevent null-ptr-deref during the above<br />
execution path.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/42c415c53ad2065088cc411d08925effa5b3d255
- https://git.kernel.org/stable/c/85e66331b60601d903cceaf8c10a234db863cd78
- https://git.kernel.org/stable/c/e9188f66e94955431ddbe2cd1cdf8ff2bb486abf
- https://git.kernel.org/stable/c/f46e8ef8bb7b452584f2e75337b619ac51a7cadf
- https://git.kernel.org/stable/c/f4a917e6cd6c798f7adf39907f117fc754db1283