CVE-2026-64402: coresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer()

Published Jul 25, 2026
·
Updated

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

coresight: ultrasoc-smb: Fix OOB write in smbsyncperfbuffer()

When the SMB sink is used as a perf AUX sink, smbupdatebuffer() calls smbsyncperfbuffer() to copy hardware trace data into the perf AUX ring buffer pages. It derives pgidx = head >> PAGESHIFT from @head, which is handle->head, and indexes dstpages[pgidx]. The pgidx %= nrpages 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 dstpages[] when head exceeds the AUX buffer size.

Normalize head modulo the AUX buffer size before deriving the page index and offset, mirroring tmcetrsyncperfbuffer().

Affected Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=6.3<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:50 AM
Data Sourced
via MITRE·08:50 AM
DescriptionSeverity
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203