{"id":"CVE-2026-98687","state":"PUBLISHED","title":"thunderbolt: Reject oversized XDomain properties responses","description":"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.","publishedAt":"2026-10-18T15:45:58.719Z","updatedAt":"2026-10-30T12:38:45.242Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"9fba032802b5858bc6186b34f8e966429ff155ab","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"7c028d2ae85eca86b82cab1163a9ac1187a2e666","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"37ea4304bd9f57ebe719409f010915495467f05c","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"b270c1074860de74da0d6b5250fb06b359b9d509","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"a766a86ff48acee76aeb8e2575771040749e509d","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"737a1d2e9642d5f718bd29aa4a98b9eef3832f0a","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"80756e263846ab694984e749e8c626897331438f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thunderbolt/xdomain.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thunderbolt/xdomain.c"]}],"references":["https://git.kernel.org/stable/c/9fba032802b5858bc6186b34f8e966429ff155ab","https://git.kernel.org/stable/c/7c028d2ae85eca86b82cab1163a9ac1187a2e666","https://git.kernel.org/stable/c/37ea4304bd9f57ebe719409f010915495467f05c","https://git.kernel.org/stable/c/b270c1074860de74da0d6b5250fb06b359b9d509","https://git.kernel.org/stable/c/a766a86ff48acee76aeb8e2575771040749e509d","https://git.kernel.org/stable/c/2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa","https://git.kernel.org/stable/c/737a1d2e9642d5f718bd29aa4a98b9eef3832f0a","https://git.kernel.org/stable/c/80756e263846ab694984e749e8c626897331438f"],"weaknesses":[],"ingestedAt":"2026-10-30T12:58:04.520Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98687.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98687","state":"PUBLISHED","datePublished":"2026-10-18T15:45:58.719Z","dateUpdated":"2026-10-30T12:38:45.242Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.364Z"},"containers":{"cna":{"title":"thunderbolt: Reject oversized XDomain properties responses","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"9fba032802b5858bc6186b34f8e966429ff155ab","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"7c028d2ae85eca86b82cab1163a9ac1187a2e666","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"37ea4304bd9f57ebe719409f010915495467f05c","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"b270c1074860de74da0d6b5250fb06b359b9d509","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"a766a86ff48acee76aeb8e2575771040749e509d","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"737a1d2e9642d5f718bd29aa4a98b9eef3832f0a","versionType":"git"},{"version":"d1ff70241a275133e1a0258b7c23588b122276c8","status":"affected","lessThan":"80756e263846ab694984e749e8c626897331438f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thunderbolt/xdomain.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.15","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thunderbolt/xdomain.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9fba032802b5858bc6186b34f8e966429ff155ab"},{"url":"https://git.kernel.org/stable/c/7c028d2ae85eca86b82cab1163a9ac1187a2e666"},{"url":"https://git.kernel.org/stable/c/37ea4304bd9f57ebe719409f010915495467f05c"},{"url":"https://git.kernel.org/stable/c/b270c1074860de74da0d6b5250fb06b359b9d509"},{"url":"https://git.kernel.org/stable/c/a766a86ff48acee76aeb8e2575771040749e509d"},{"url":"https://git.kernel.org/stable/c/2f97f929dad9eb3e1f63b721d2dd49bf9bc68efa"},{"url":"https://git.kernel.org/stable/c/737a1d2e9642d5f718bd29aa4a98b9eef3832f0a"},{"url":"https://git.kernel.org/stable/c/80756e263846ab694984e749e8c626897331438f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:38:45.242Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}