Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-23138

tracing: Add recursion protection in kernel stack trace recording

Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Add recursion protection in kernel stack trace recording A bug was reported about an infinite recursion caused by tracing the rcu events with the kernel stack trace trigger enabled. The stack trace code called back into RCU which then called the stack trace again. Expand the ftrace recursion protection to add a set of bits to protect events from recursion. Each bit represents the context that the event is in (normal, softirq, interrupt and NMI). Have the stack trace code use the interrupt context to protect against recursion. Note, the bug showed an issue in both the RCU code as well as the tracing stacktrace code. This only handles the tracing stack trace side of the bug. The RCU fix will be handled separately.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce to < 9b03768037d91ce727effb1c5d92d2c7781bf692affected
  • 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce to < 19e18e6dabb1bbba76d2809ca7d8ae9e1f5975feaffected
  • 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce to < 5b7f91acffd2c4c000971553d22efa1e1bb4feaeaffected
  • 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce to < 5f1ef0dfcb5b7f4a91a9b0e0ba533efd9f7e2cdbaffected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 6.6.130 to ≤ 6.6.*unaffected
  • 6.12.78 to ≤ 6.12.*unaffected
  • 6.18.6 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References