CVE Catalog

CVE-2025-39842

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

A Linux kernel vulnerability in the ocfs2 filesystem was fixed where a NULL pointer dereference could occur when releasing the journal inode after journal shutdown. The call path from ocfs2_dismount_volume() reaches jbd2_journal_release_jbd_inode() with osb->journal set to NULL.

Risk Assessment

A kernel crash (null-ptr-deref) may occur during ocfs2 volume unmount, leading to denial of service. Systems using the ocfs2 filesystem are affected.

Recommendation

Update the Linux kernel to a version containing the fix. Schedule the update for systems using ocfs2.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ocfs2: prevent release journal inode after journal shutdown Before calling ocfs2_delete_osb(), ocfs2_journal_shutdown() has already been executed in ocfs2_dismount_volume(), so osb->journal must be NULL. Therefore, the following calltrace will inevitably fail when it reaches jbd2_journal_release_jbd_inode(). ocfs2_dismount_volume()-> ocfs2_delete_osb()-> ocfs2_free_slot_info()-> __ocfs2_free_slot_info()-> evict()-> ocfs2_evict_inode()-> ocfs2_clear_inode()-> jbd2_journal_release_jbd_inode(osb->journal->j_journal, Adding osb->journal checks will prevent null-ptr-deref during the above execution path.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS