Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-23390

HIGH 7.8EPSS 7%

tracing/dma: Cap dma_map_sg tracepoint arrays to prevent buffer overflow

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < 02d209bb018a40dee9eac89e91860253dee9605b; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < f2584f791a10343bdc995ff6ff402db45b95de69; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < daafcc0ef0b358d9d622b6e3b7c43767aa3814ee
  • Anyone running Linux 6.12

Vulnerability facts

Affected
Linux >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < 02d209bb018a40dee9eac89e91860253dee9605b; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < f2584f791a10343bdc995ff6ff402db45b95de69; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < daafcc0ef0b358d9d622b6e3b7c43767aa3814ee; Linux 6.12
Fixed in
Linux 02d209bb018a40dee9eac89e91860253dee9605b
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.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: tracing/dma: Cap dma_map_sg tracepoint arrays to prevent buffer overflow The dma_map_sg tracepoint can trigger a perf buffer overflow when tracing large scatter-gather lists. With devices like virtio-gpu creating large DRM buffers, nents can exceed 1000 entries, resulting in: phys_addrs: 1000 * 8 bytes = 8,000 bytes dma_addrs: 1000 * 8 bytes = 8,000 bytes lengths: 1000 * 4 bytes = 4,000 bytes Total: ~20,000 bytes This exceeds PERF_MAX_TRACE_SIZE (8192 bytes), causing: WARNING: CPU: 0 PID: 5497 at kernel/trace/trace_event_perf.c:405 perf buffer not large enough, wanted 24620, have 8192 Cap all three dynamic arrays at 128 entries using min() in the array size calculation. This ensures arrays are only as large as needed (up to the cap), avoiding unnecessary memory allocation for small operations while preventing overflow for large ones. The tracepoint now records the full nents/ents counts and a truncated flag so users can see when data has been capped. Changes in v2: - Use min(nents, DMA_TRACE_MAX_ENTRIES) for dynamic array sizing instead of fixed DMA_TRACE_MAX_ENTRIES allocation (feedback from Steven Rostedt) - This allocates only what's needed up to the cap, avoiding waste for small operations Reviwed-by: Sean Anderson <sean.anderson@linux.dev>

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < 02d209bb018a40dee9eac89e91860253dee9605b; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < f2584f791a10343bdc995ff6ff402db45b95de69; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < daafcc0ef0b358d9d622b6e3b7c43767aa3814ee—cvelist
Linux6.12—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-23390. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23390.md
Affected: Linux >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < 02d209bb018a40dee9eac89e91860253dee9605b; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < f2584f791a10343bdc995ff6ff402db45b95de69; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < daafcc0ef0b358d9d622b6e3b7c43767aa3814ee; Linux 6.12
Fixed in: Linux 02d209bb018a40dee9eac89e91860253dee9605b

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-23390 being exploited?

There is no confirmed exploitation: CVE-2026-23390 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-23390?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-23390?

Linux >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < 02d209bb018a40dee9eac89e91860253dee9605b; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < f2584f791a10343bdc995ff6ff402db45b95de69; >= 038eb433dc1474c4bc7d33188294e3d4778efdfd, < daafcc0ef0b358d9d622b6e3b7c43767aa3814ee; Linux 6.12.

Is there a fix for CVE-2026-23390?

Yes. Fixed in Linux 02d209bb018a40dee9eac89e91860253dee9605b. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-23390?

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.

Sponsors