CVE-2025-39842
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/09/2025
Last modified:
20/01/2026
Description
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.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.151 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.105 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.46 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.16.6 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html



