CVE-2026-31541
tracing: Fix trace_marker copy link list updates
Mitigation
- Upgrade Linux to 07183aac4a6828e474f00b37c9d795d0d99e18a7 or later.
Who should check
- Anyone running Linux >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 75668e58244e63ec3785098a02e1cdcff14a6c2e; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < cc267e4b4302247dc67ef937a9ac587a696a43c1; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 07183aac4a6828e474f00b37c9d795d0d99e18a7
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 75668e58244e63ec3785098a02e1cdcff14a6c2e; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < cc267e4b4302247dc67ef937a9ac587a696a43c1; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 07183aac4a6828e474f00b37c9d795d0d99e18a7; Linux 6.16
- Fixed in
- Linux 75668e58244e63ec3785098a02e1cdcff14a6c2e, Linux 07183aac4a6828e474f00b37c9d795d0d99e18a7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Fix trace_marker copy link list updates When the "copy_trace_marker" option is enabled for an instance, anything written into /sys/kernel/tracing/trace_marker is also copied into that instances buffer. When the option is set, that instance's trace_array descriptor is added to the marker_copies link list. This list is protected by RCU, as all iterations uses an RCU protected list traversal. When the instance is deleted, all the flags that were enabled are cleared. This also clears the copy_trace_marker flag and removes the trace_array descriptor from the list. The issue is after the flags are called, a direct call to update_marker_trace() is performed to clear the flag. This function returns true if the state of the flag changed and false otherwise. If it returns true here, synchronize_rcu() is called to make sure all readers see that its removed from the list. But since the flag was already cleared, the state does not change and the synchronization is never called, leaving a possible UAF bug. Move the clearing of all flags below the updating of the copy_trace_marker option which then makes sure the synchronization is performed. Also use the flag for checking the state in update_marker_trace() instead of looking at if the list is empty.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 75668e58244e63ec3785098a02e1cdcff14a6c2e; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < cc267e4b4302247dc67ef937a9ac587a696a43c1; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 07183aac4a6828e474f00b37c9d795d0d99e18a7 | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31541. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31541.md Affected: Linux >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 75668e58244e63ec3785098a02e1cdcff14a6c2e; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < cc267e4b4302247dc67ef937a9ac587a696a43c1; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 07183aac4a6828e474f00b37c9d795d0d99e18a7; Linux 6.16 Fixed in: Linux 75668e58244e63ec3785098a02e1cdcff14a6c2e, Linux 07183aac4a6828e474f00b37c9d795d0d99e18a7 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-31541 being exploited?
There is no confirmed exploitation: CVE-2026-31541 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31541?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31541?
Linux >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 75668e58244e63ec3785098a02e1cdcff14a6c2e; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < cc267e4b4302247dc67ef937a9ac587a696a43c1; >= 7b382efd5e8af4c0c67e70ad3fb599dcd2dc0b86, < 07183aac4a6828e474f00b37c9d795d0d99e18a7; Linux 6.16.
Is there a fix for CVE-2026-31541?
Yes. Fixed in Linux 75668e58244e63ec3785098a02e1cdcff14a6c2e, Linux 07183aac4a6828e474f00b37c9d795d0d99e18a7. Upgrade Linux to 07183aac4a6828e474f00b37c9d795d0d99e18a7 or later.
How do I check if I'm affected by CVE-2026-31541?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.