# CVE-2026-23138: tracing: Add recursion protection in kernel stack trace recording

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-02-14T15:22:23.385Z
- Modified: 2026-11-05T22:18:03.787Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce before 80fe242a6239778025ba3be8e7263e3d69c37947; from 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce before 9b03768037d91ce727effb1c5d92d2c7781bf692; from 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce before 19e18e6dabb1bbba76d2809ca7d8ae9e1f5975fe; from 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce before 5b7f91acffd2c4c000971553d22efa1e1bb4feae; from 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce before 5f1ef0dfcb5b7f4a91a9b0e0ba533efd9f7e2cdb; 5.8 (not affected: before 5.8; from 6.1.191 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.6 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 5.8 before 6.18.6; 6.19

## References

- <https://git.kernel.org/stable/c/80fe242a6239778025ba3be8e7263e3d69c37947>
- <https://git.kernel.org/stable/c/9b03768037d91ce727effb1c5d92d2c7781bf692>
- <https://git.kernel.org/stable/c/19e18e6dabb1bbba76d2809ca7d8ae9e1f5975fe>
- <https://git.kernel.org/stable/c/5b7f91acffd2c4c000971553d22efa1e1bb4feae> (patch)
- <https://git.kernel.org/stable/c/5f1ef0dfcb5b7f4a91a9b0e0ba533efd9f7e2cdb> (patch)

## Sources

- CVE List: [CVE-2026-23138](https://www.cve.org/CVERecord?id=CVE-2026-23138), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23138](https://nvd.nist.gov/vuln/detail/CVE-2026-23138), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23138 · Whole record: https://cve.day/CVE-2026-23138.json · Rebuilt by cve.day 2026-11-25T22:59:13.883Z
