CVE-2025-39842
MEDIUMLinux Kernel 5.16-6.1.150 6.2.0-6.6.104 6.7.0-6.12.45 6.13.0-6.16.5 - Null Pointer Dereference in OCFS2 Journal Shutdown
Title source: llmDescription
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.
References (7)
Core 7
Core References
Third Party Advisory, Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Scores
CVSS v3
5.5
EPSS
0.0002
EPSS Percentile
5.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (19)
debian/debian_linux
11.0
linux/Kernel
5.16.0 - 6.1.151linux
linux/Kernel
6.13.0 - 6.16.6linux
linux/Kernel
6.2.0 - 6.6.105linux
linux/Kernel
6.7.0 - 6.12.46linux
Linux/Linux
< 5.16
Linux/Linux
5.16
Linux/Linux
6.1.151 - 6.1.*
Linux/Linux
6.12.46 - 6.12.*
Linux/Linux
6.16.6 - 6.16.*
... and 9 more
Published
Sep 19, 2025
Tracked Since
Feb 18, 2026