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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-14 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2026-23138, DEBIAN-CVE-2026-23138, CGA-26hj-rvxf-xw5h, CGA-2994-mvw6-7vfp, CGA-36fx-4rgp-h22f, CGA-3m55-3j9r-qcxc, CGA-56v6-pc4c-5mm9, CGA-5c98-4hxf-5fmc, CGA-9qhc-x2rx-qxh4, CGA-9qmq-4jpx-44gf, CGA-f6f9-fx77-fxhh, CGA-fcvr-w2mq-vq8j, CGA-fj99-7rvm-mch3, CGA-h9hx-jr35-v74g, CGA-hxx5-rhj5-p6p4, CGA-jc38-cww4-2243, CGA-mrhx-36m3-jccp, CGA-p637-6wx7-r795, CGA-pmxc-j5vf-8582, CGA-pq56-xcr2-gqxc, CGA-qr29-8g7q-7ghw, CGA-r5c8-xmcc-gmrc, CGA-r6vm-q7p8-6vwg, CGA-rcp3-2f5m-x66h, CGA-vc3q-c23p-2wfh, CGA-wxf4-5rp9-25cm, CGA-x4rq-rxpv-h63w
- Record: https://cvemate.com/vulnerability/CVE-2026-23138 · JSON: https://cvemate.com/vulnerability/CVE-2026-23138/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.173%, percentile 7.049%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 154)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.77-r1 \| \< 6.12.77-r2 \| \< 6.12.80-r0 \| \< 6.12.78-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.77-r2 \| \< 6.12.77-r1 \| \< 6.12.78-r0 \| \< 6.12.80-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.77-r2 \| \< 6.12.77-r1 \| \< 6.12.78-r0 \| \< 6.12.80-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.77-r1 \| \< 6.12.77-r2 \| \< 6.12.78-r0 \| \< 6.12.80-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.77-r2 \| \< 6.12.78-r0 \| \< 6.12.77-r1 \| \< 6.12.80-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.85-1 \| \< 6.18.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-136.136
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 30)

- <https://git.kernel.org/stable/c/9b03768037d91ce727effb1c5d92d2c7781bf692>
- <https://git.kernel.org/stable/c/19e18e6dabb1bbba76d2809ca7d8ae9e1f5975fe>
- <https://git.kernel.org/stable/c/5b7f91acffd2c4c000971553d22efa1e1bb4feae>
- <https://git.kernel.org/stable/c/5f1ef0dfcb5b7f4a91a9b0e0ba533efd9f7e2cdb>
- <https://ubuntu.com/security/CVE-2026-23138>
- <https://www.cve.org/CVERecord?id=CVE-2026-23138>
- <https://git.kernel.org/linus/5f1ef0dfcb5b7f4a91a9b0e0ba533efd9f7e2cdb>
- <https://ubuntu.com/security/notices/USN-8570-1>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8594-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>
- <https://ubuntu.com/security/notices/USN-8604-1>
- <https://ubuntu.com/security/notices/USN-8605-1>
- <https://ubuntu.com/security/notices/USN-8595-2>
- <https://ubuntu.com/security/notices/USN-8606-1>
- <https://ubuntu.com/security/notices/USN-8607-1>
- <https://ubuntu.com/security/notices/USN-8608-1>

---

Data as of 2026-12-05T04:23:56.843Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
