CVE-2025-68168

jfs: fix uninitialized waitqueue in transaction manager

State
Published
Severity
7.8 High
Published
Dec 16, 2025
Updated
Aug 5, 2026
Reserved
Dec 16, 2025

Read the record on cve.org

Description

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().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2a8807f9f511c64de0c7cc9900a1683e3d72a3e5 to before d6af7fce2e162ac68e85d3a11eb6ac8c35b24b64Affected
  • 5c094ca994824e038b6a97835ded4e5d1d808504 to before 8cae9cf23e0bd424ac904e753639a587543ce03aAffected
  • 2febd5f81e4bfba61d9f374dcca628aff374cc56 to before a2aa97cde9857f881920635a2e3d3b11769619c5Affected
  • aa7cdf487ab3fa47284daaccc3d7d5de01c6a84c to before d2dd7ca05a11685c314e62802a55e8d67a90e974Affected
  • 95e2b352c03b0a86c5717ba1d24ea20969abcacc to before 2a9575a372182ca075070b3cd77490dcf0c951e7Affected
  • 95e2b352c03b0a86c5717ba1d24ea20969abcacc to before cbf2f527ae4ca7c7dabce42e85e8deb58588a37eAffected
  • 95e2b352c03b0a86c5717ba1d24ea20969abcacc to before 038861414ab383b41dd35abbf9ff0ef715592d53Affected
  • 95e2b352c03b0a86c5717ba1d24ea20969abcacc to before 300b072df72694ea330c4c673c035253e07827b8Affected
  • a88efca805bea93cea9187dfd00835aa7093bf1bAffected
  • 97c1f26e4d4af55e8584e4646dd5c5fa7baf62c7Affected
  • b0ed8ed0428ee96092da6fefa5cfacbe4abed701Affected
  • 5.4.255 to before 5.4.302Affected
  • 5.10.192 to before 5.10.247Affected
  • 5.15.123 to before 5.15.197Affected
  • 6.1.42 to before 6.1.159Affected
  • 4.14.324 to before 4.15Affected
  • 4.19.293 to before 4.20Affected
  • 6.4.7 to before 6.5Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 5.4.302 through 5.4.*Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.