# CVE-2026-64402: coresight: ultrasoc-smb: Fix OOB write in smb\_sync\_perf\_buffer()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-07-25T08:50:45.075Z
- **Modified:** 2026-09-04T14:45:56.780Z

## Who should check

- Anyone running Linux \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 38dbc8db8341ccdf8e1e1a067453d33ad751864b; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 4c5a0a946373da99a80398289b28845b5ae40cd1; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 98495b5a4d77dd22e106f462b76e1093a55b29a7
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

coresight: ultrasoc-smb: Fix OOB write in smb\_sync\_perf\_buffer()

When the SMB sink is used as a perf AUX sink, smb\_update\_buffer() calls
smb\_sync\_perf\_buffer() to copy hardware trace data into the perf AUX ring
buffer pages. It derives pg\_idx = head \>\> PAGE\_SHIFT from @head, which is
handle-\>head, and indexes dst\_pages\[pg\_idx\]. The pg\_idx %= nr\_pages
normalization is only applied after the first loop iteration.

This leaves the initial page index underived from the buffer size, which
can result in an out-of-bounds write past dst\_pages\[\] when head exceeds
the AUX buffer size.

Normalize head modulo the AUX buffer size before deriving the page index
and offset, mirroring tmc\_etr\_sync\_perf\_buffer().

## Affected and fixed versions

- Linux: \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 38dbc8db8341ccdf8e1e1a067453d33ad751864b; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 4c5a0a946373da99a80398289b28845b5ae40cd1; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 98495b5a4d77dd22e106f462b76e1093a55b29a7 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 98495b5a4d77dd22e106f462b76e1093a55b29a7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64402. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64402.md
Affected: Linux >= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 38dbc8db8341ccdf8e1e1a067453d33ad751864b; >= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 4c5a0a946373da99a80398289b28845b5ae40cd1; >= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb; >= 06f5c2926aaa0fba7f99678…
Fixed in: Linux 38dbc8db8341ccdf8e1e1a067453d33ad751864b, Linux 4c5a0a946373da99a80398289b28845b5ae40cd1, Linux 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb, Linux 98495b5a4d77dd22e106f462b76e1093a55b29a7

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

## FAQ

### Is CVE-2026-64402 being exploited?

There is no confirmed exploitation: CVE-2026-64402 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-64402?

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

### Which versions are affected by CVE-2026-64402?

Linux \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 38dbc8db8341ccdf8e1e1a067453d33ad751864b; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 4c5a0a946373da99a80398289b28845b5ae40cd1; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f; \>= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, \< 98495b5a4d77dd22e106f462b76e1093a55b29a7; Linux 6.3.

### Is there a fix for CVE-2026-64402?

Yes. Fixed in Linux 38dbc8db8341ccdf8e1e1a067453d33ad751864b, Linux 4c5a0a946373da99a80398289b28845b5ae40cd1, Linux 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb, Linux 98495b5a4d77dd22e106f462b76e1093a55b29a7. Upgrade Linux to 98495b5a4d77dd22e106f462b76e1093a55b29a7 or later.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/38dbc8db8341ccdf8e1e1a067453d33ad751864b>
- patch: <https://git.kernel.org/stable/c/4c5a0a946373da99a80398289b28845b5ae40cd1>
- patch: <https://git.kernel.org/stable/c/661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb>
- patch: <https://git.kernel.org/stable/c/daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f>
- patch: <https://git.kernel.org/stable/c/98495b5a4d77dd22e106f462b76e1093a55b29a7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64402>

HTML: <https://flawdb.com/CVE-2026-64402> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64402>
