In the Linux kernel, the following vulnerability has been resolved: coresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer() When the SMB… (CVE-2026-64402)
A vulnerability in the Linux kernel's coresight ultrasoc-smb component allows an out-of-bounds write in the smb_sync_perf_buffer() function. This occurs because the initial page index used to copy hardware trace data into the perf AUX ring buffer is not properly normalized against the buffer size, potentially causing memory corruption. The issue is fixed by normalizing the head pointer modulo the AUX buffer size before calculating the page index and offset.
AI Analysis
Technical Summary
The Linux kernel's coresight ultrasoc-smb driver contained a vulnerability where the smb_sync_perf_buffer() function could perform an out-of-bounds write. This happens when the SMB sink is used as a perf AUX sink and the function derives a page index from the head pointer without first normalizing it against the buffer size. The lack of normalization before the first loop iteration allows the page index to exceed the bounds of the destination pages array, leading to a potential memory corruption. The fix involves normalizing the head pointer modulo the AUX buffer size before calculating the page index and offset, aligning with the approach used in tmc_etr_sync_perf_buffer().
Potential Impact
This vulnerability can cause an out-of-bounds write in kernel memory, which may lead to memory corruption. The specific impact depends on how the corrupted memory is used, but it could potentially affect system stability or security. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since this is a Linux kernel vulnerability, monitor official Linux kernel releases and apply updates that address CVE-2026-64402 when available.
In the Linux kernel, the following vulnerability has been resolved: coresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer() When the SMB… (CVE-2026-64402)
Description
A vulnerability in the Linux kernel's coresight ultrasoc-smb component allows an out-of-bounds write in the smb_sync_perf_buffer() function. This occurs because the initial page index used to copy hardware trace data into the perf AUX ring buffer is not properly normalized against the buffer size, potentially causing memory corruption. The issue is fixed by normalizing the head pointer modulo the AUX buffer size before calculating the page index and offset.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's coresight ultrasoc-smb driver contained a vulnerability where the smb_sync_perf_buffer() function could perform an out-of-bounds write. This happens when the SMB sink is used as a perf AUX sink and the function derives a page index from the head pointer without first normalizing it against the buffer size. The lack of normalization before the first loop iteration allows the page index to exceed the bounds of the destination pages array, leading to a potential memory corruption. The fix involves normalizing the head pointer modulo the AUX buffer size before calculating the page index and offset, aligning with the approach used in tmc_etr_sync_perf_buffer().
Potential Impact
This vulnerability can cause an out-of-bounds write in kernel memory, which may lead to memory corruption. The specific impact depends on how the corrupted memory is used, but it could potentially affect system stability or security. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since this is a Linux kernel vulnerability, monitor official Linux kernel releases and apply updates that address CVE-2026-64402 when available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c5fx-2729-67qq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64402"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f8084185
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:27:13 UTC
Last updated: 07/26/2026, 03:44:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.