{"id":"CVE-2026-64402","published":"2026-07-25T08:50:45Z","modified":"2026-08-17T04:55:00Z","title":"coresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: ultrasoc-smb: Fix OOB write in smb_sync_perf_buffer()\n\nWhen the SMB sink is used as a perf AUX sink, smb_update_buffer() calls\nsmb_sync_perf_buffer() to copy hardware trace data into the perf AUX ring\nbuffer pages. It derives pg_idx = head >> PAGE_SHIFT from @head, which is\nhandle->head, and indexes dst_pages[pg_idx]. The pg_idx %= nr_pages\nnormalization is only applied after the first loop iteration.\n\nThis leaves the initial page index underived from the buffer size, which\ncan result in an out-of-bounds write past dst_pages[] when head exceeds\nthe AUX buffer size.\n\nNormalize head modulo the AUX buffer size before deriving the page index\nand offset, mirroring tmc_etr_sync_perf_buffer().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00129,"percentile":0.02487,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/38dbc8db8341ccdf8e1e1a067453d33ad751864b","tags":[]},{"url":"https://git.kernel.org/stable/c/4c5a0a946373da99a80398289b28845b5ae40cd1","tags":[]},{"url":"https://git.kernel.org/stable/c/661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb","tags":[]},{"url":"https://git.kernel.org/stable/c/daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f","tags":[]},{"url":"https://git.kernel.org/stable/c/98495b5a4d77dd22e106f462b76e1093a55b29a7","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.5},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 38dbc8db8341ccdf8e1e1a067453d33ad751864b",">= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 4c5a0a946373da99a80398289b28845b5ae40cd1",">= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 661a019ac0413ecec9e5d1dfcc12fbca8e78d5fb",">= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < daf6246ab988fc8bdc82ad7c8d0b1c182d11b15f",">= 06f5c2926aaa0fba7f99678da6ef77cbbbda1441, < 98495b5a4d77dd22e106f462b76e1093a55b29a7"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"euvd":{"id":"EUVD-2026-48946","exploited":false,"provenance":"source"}}