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().
Published: 2026-07-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An out‑of‑bounds write occurs in the Linux kernel’s coresight ultrasoc‑smb subsystem when an SMB sink operates as a perf AUX sink. The function smb_sync_perf_buffer() calculates a page index from the head pointer before normalizing it with the buffer size, so a head value that exceeds the AUX buffer can cause a write past the end of the dst_pages array. This kernel memory corruption could compromise confidentiality, integrity, and availability. The flaw is identified as CWE‑787. It is inferred that such corruption could potentially enable privilege escalation or denial‑of‑service, but the CVE text does not explicitly confirm these outcomes.

Affected Systems

All Linux kernel releases that include the coresight ultrasoc‑smb component configured as a perf AUX sink are affected. No specific version numbers are provided, meaning current and future kernel builds that enable this subsystem may contain the vulnerability.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity finding. The EPSS score of less than 1 % shows a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The flaw is triggered when the SMB sink is used as a perf AUX sink, suggesting that an attacker would need to influence that configuration or supply a large head value. This likely requires local or elevated privileges, and the exact attack vector is not explicitly stated, so it is inferred from the description.

Generated by OpenCVE AI on August 4, 2026 at 14:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that contains the commit series fixing the OOB write in smb_sync_perf_buffer().
  • If a kernel upgrade is not immediately possible, disable the coresight ultrasoc‑smb subsystem or configure the system to prevent it from being used as a perf AUX sink, removing the vulnerable code path.
  • Restrict SMB sink configuration to trusted users only and enforce least‑privilege controls such as SELinux or AppArmor to contain any potential exploit.

Generated by OpenCVE AI on August 4, 2026 at 14:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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().
Title coresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:41:40.511Z

Reserved: 2026-07-19T15:36:31.785Z

Link: CVE-2026-64402

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:23.737

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64402

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64402 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T14:30:10Z

Weaknesses