Skip to main content
← All vulnerabilities
CVE-2025-68168

jfs: fix uninitialized waitqueue in transaction manager

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.302, 5.10.247, 5.15.197, 6.1.159, 4.15, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: jfs: fix uninitialized waitqueue in transaction manager The transaction manager initialization in txInit() was not properly initializing TxBlock[0].waitor waitqueue, causing a crash when txEnd(0) is called on read-only filesystems. When a filesystem is mounted read-only, txBegin() returns tid=0 to indicate no transaction. However, txEnd(0) still gets called and tries to access TxBlock[0].waitor via tid_to_tblock(0), but this waitqueue was never initialized because the initialization loop started at index 1 instead of 0. This causes a 'non-static key' lockdep warning and system crash: INFO: trying to register non-static key in txEnd Fix by ensuring all transaction blocks including TxBlock[0] have their waitqueues properly initialized during txInit().

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.4.255 · fixed in 5.4.302; From 5.10.192 · fixed in 5.10.247; From 5.15.123 · fixed in 5.15.197; From 6.1.42 · fixed in 6.1.159; From 4.14.324 · fixed in 4.15; From 4.19.293 · fixed in 4.20; From 6.4.7 · fixed in 6.5

  • Linux Linux

    6.5

References 8

git.kernel.org