Kernel crash via OCFS2 journal null dereference
Published Sep 19, 2025 · Updated Sep 19, 2025
NULL-pointer dereference in Linux kernel OCFS2 allows local users to crash the system during an OCFS2 filesystem unmount. After ocfs2_journal_shutdown() clears osb->journal, the dismount cleanup path dereferences it while calling jbd2_journal_release_jbd_inode(). Local low-privileged access and an OCFS2 dismount are required, and the reported consequence is a kernel crash rather than data access or modification.
Summary
What happened
NULL-pointer dereference in Linux kernel OCFS2 allows local users to crash the system during an OCFS2 filesystem unmount. After ocfs2_journal_shutdown() clears osb->journal, the dismount cleanup path dereferences it while calling jbd2_journal_release_jbd_inode(). Local low-privileged access and an OCFS2 dismount are required, and the reported consequence is a kernel crash rather than data access or modification.
The record
- CVE
- CVE-2025-39842
- Published
- Sep 19, 2025
- Updated
- Sep 19, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 19, 2025CVE publishedPublication date reported by the CVE source.
- Sep 19, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.16
- Affected versionversion=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <42c415c53ad2065088cc411d08925effa5b3d255
- Affected versionversion=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <85e66331b60601d903cceaf8c10a234db863cd78
- Affected versionversion=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <e9188f66e94955431ddbe2cd1cdf8ff2bb486abf
- Affected versionversion=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <f46e8ef8bb7b452584f2e75337b619ac51a7cadf
- Affected versionversion=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <f4a917e6cd6c798f7adf39907f117fc754db1283
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo