{"id":"CVE-2026-98687","aliases":["CVE-2026-98687"],"related":[],"kind":"vulnerability","state":"published","title":"thunderbolt: Reject oversized XDomain properties responses","summary":"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->data 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->data 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.","source":"cvelist"}],"published":"2026-10-18T15:45:58.719Z","modified":"2026-10-30T13:21:18.240Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"9fba032802b5858bc6186b34f8e966429ff155ab","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"7c028d2ae85eca86b82cab1163a9ac1187a2e666","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"37ea4304bd9f57ebe719409f010915495467f05c","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"b270c1074860de74da0d6b5250fb06b359b9d509","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"a766a86ff48acee76aeb8e2575771040749e509d","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"737a1d2e9642d5f718bd29aa4a98b9eef3832f0a","status":"affected"},{"type":"git","introduced":"d1ff70241a275133e1a0258b7c23588b122276c8","fixed":"80756e263846ab694984e749e8c626897331438f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9fba032802b5858bc6186b34f8e966429ff155ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c028d2ae85eca86b82cab1163a9ac1187a2e666","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37ea4304bd9f57ebe719409f010915495467f05c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b270c1074860de74da0d6b5250fb06b359b9d509","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a766a86ff48acee76aeb8e2575771040749e509d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/737a1d2e9642d5f718bd29aa4a98b9eef3832f0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80756e263846ab694984e749e8c626897331438f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98687","url":"https://www.cve.org/CVERecord?id=CVE-2026-98687","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:45.242Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98687","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98687","licence":"Public domain","modified":"2026-10-30T13:21:18.240Z"}],"updatedAt":"2026-11-25T22:59:45.269Z","epss":{"score":0.00177,"percentile":0.07527,"date":"2026-12-01T12:00:22.000Z"}}