DEBIAN-CVE-2025-39842
Record from OSV · Published September 19, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:13 | 6.12.48-1 |
| linux | Debian:14 | 6.16.6-1 |
| linux | Debian:12 | 6.1.153-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | linux | 6.12.43-1~bpo12+1, 6.12.43-1, 6.12.41-1 |
| Debian:14 | linux | 6.12.111-1, 6.12.113-1, 6.12.38-1 |
| Debian:12 | linux | 6.1.115-1, 6.1.119-1, 6.1.123-1 |
Timeline
- Sep 19, 2025 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-39842
vulnetix vdb fixes DEBIAN-CVE-2025-39842
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-39842/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart