{"id":"CVE-2026-98687","summary":"thunderbolt: Reject oversized XDomain properties responses","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Reject oversized XDomain properties responses\n\ntb_xdp_properties_request() allocates room for 45 data dwords in its\n252-byte response buffer.  The XDomain length field is six bits wide,\nhowever, and a malicious peer can set it to 63.  After the fixed response\nfields are subtracted, the driver treats this as 48 data dwords.\n\nCommit 322e93448d90 (\"thunderbolt: Clamp XDomain response data copy to\nallocation size\") only bounds the copy against data_len.  If data_len is\nat least 48, memcpy() reads 192 bytes from the 180-byte res-\u003edata array,\ncausing a 12-byte heap out-of-bounds read.  Commit 4db2bd2ed478\n(\"thunderbolt: Limit XDomain response copy to actual frame size\") limits\nthe earlier copy but does not constrain this header-derived length.\n\nReject response data lengths that exceed the allocated source buffer\nbefore copying them into the assembled property block.","modified":"2026-11-04T14:27:18.498690837Z","published":"2026-10-18T15:45:58.719Z","related":["SUSE-SU-2026:5091-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98687.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37ea4304bd9f57ebe719409f010915495467f05c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/737a1d2e9642d5f718bd29aa4a98b9eef3832f0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c028d2ae85eca86b82cab1163a9ac1187a2e666"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80756e263846ab694984e749e8c626897331438f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fba032802b5858bc6186b34f8e966429ff155ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a766a86ff48acee76aeb8e2575771040749e509d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b270c1074860de74da0d6b5250fb06b359b9d509"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98687.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98687"},{"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":"d1ff70241a275133e1a0258b7c23588b122276c8"},{"fixed":"9fba032802b5858bc6186b34f8e966429ff155ab"},{"fixed":"7c028d2ae85eca86b82cab1163a9ac1187a2e666"},{"fixed":"37ea4304bd9f57ebe719409f010915495467f05c"},{"fixed":"b270c1074860de74da0d6b5250fb06b359b9d509"},{"fixed":"a766a86ff48acee76aeb8e2575771040749e509d"},{"fixed":"2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa"},{"fixed":"737a1d2e9642d5f718bd29aa4a98b9eef3832f0a"},{"fixed":"80756e263846ab694984e749e8c626897331438f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98687.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98687.json"}}],"schema_version":"1.9.2"}