{"id":"CVE-2026-74457","summary":"can: peak_usb: add bounds check for USB channel index","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: peak_usb: add bounds check for USB channel index\n\nThe channel control index ctrl_idx is derived from rx-\u003elen which comes\ndirectly from a device USB payload. The mask 0x0f allows values 0-15, but\nthe array size of usb_if-\u003edev[] is only 2. Values 2-15 cause heap\nout-of-bounds read, eventually causing kernel panic in the IRQ context.\n\nAdd bounds checking for ctrl_idx before the array access in both\npcan_usb_pro_handle_canmsg() and pcan_usb_pro_handle_error().","modified":"2026-08-18T03:31:13.583877951Z","published":"2026-08-15T12:26:59.411Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74457.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0149fdb50a30944827acf9600a2cc44de0325a7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1acab790b7cecd4e144d1d18bdfe549e282f6b0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39132f166ca8ce00ae60d8a9068e06a60943cc4b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/825c903ca3c98cd0cf0e3de8ab8f2604a5339b3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f97b7e5e1cdaae15cd95b3a360028c7929664969"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74457.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74457"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8a199355f8f8a0797c00d98788d7282c9ea38bd"},{"fixed":"825c903ca3c98cd0cf0e3de8ab8f2604a5339b3f"},{"fixed":"f97b7e5e1cdaae15cd95b3a360028c7929664969"},{"fixed":"1acab790b7cecd4e144d1d18bdfe549e282f6b0b"},{"fixed":"0149fdb50a30944827acf9600a2cc44de0325a7f"},{"fixed":"39132f166ca8ce00ae60d8a9068e06a60943cc4b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74457.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"6.6.151"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74457.json"}}],"schema_version":"1.9.0"}