{"id":"CVE-2026-74585","summary":"thunderbolt: Bound the DROM dual link port number before indexing sw-\u003eports","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Bound the DROM dual link port number before indexing sw-\u003eports\n\ntb_drom_parse_entry_port() validates the device-supplied header-\u003eindex\nagainst sw-\u003econfig.max_port_number before indexing sw-\u003eports[], but the\nsibling field entry-\u003edual_link_port_nr -- a 6-bit value also read from\nthe DROM -- indexes the same array with no such check. A malicious or\nmalformed Thunderbolt device can set dual_link_port_nr beyond the\nallocated sw-\u003eports[] (max_port_number + 1 entries), producing an\nout-of-bounds tb_port pointer that is stored and later dereferenced.\n\nReject a port entry whose dual_link_port_nr exceeds max_port_number,\nthe same bound already applied to header-\u003eindex.","modified":"2026-08-24T11:47:20.398638872Z","published":"2026-08-22T15:31:38.339Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74585.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3d3c212b70633332ab71672aa2bc6af257d2ec83"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40d2ffb74094cf36edbe05855566a4c58b6ce808"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50f0c8dd8c3390f851cfb97ca13116f9ee6469d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b98e1e28bd95b0fa33164eec1e763d26c7058b39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6764992f17b23d91ff93ce905ab53c2aa7191f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f28066057134aa9294caa597b670daf505ad9dce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f32c3a9a77cfb50934a60b05d5407649af062535"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74585.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74585"},{"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":"cd22e73bdf5eff7e68a0f8bdfbce123ad43651f6"},{"fixed":"6c892ed9f4129ae40ef0f92e1bb31aa0b0ddc72c"},{"fixed":"3d3c212b70633332ab71672aa2bc6af257d2ec83"},{"fixed":"b98e1e28bd95b0fa33164eec1e763d26c7058b39"},{"fixed":"50f0c8dd8c3390f851cfb97ca13116f9ee6469d1"},{"fixed":"f28066057134aa9294caa597b670daf505ad9dce"},{"fixed":"40d2ffb74094cf36edbe05855566a4c58b6ce808"},{"fixed":"f32c3a9a77cfb50934a60b05d5407649af062535"},{"fixed":"d6764992f17b23d91ff93ce905ab53c2aa7191f0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74585.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.17.0"},{"fixed":"5.10.265"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.216"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.183"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.152"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.104"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.45"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74585.json"}}],"schema_version":"1.9.0"}