{"id":"CVE-2026-53148","state":"PUBLISHED","title":"thunderbolt: Clamp XDomain response data copy to allocation size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Clamp XDomain response data copy to allocation size\n\ntb_xdp_properties_request() derives the per-packet copy length from\nthe response header without checking that it fits in the previously\nallocated data buffer.  A malicious peer can set its length field\nlarger than the declared data_length, causing memcpy to write past\nthe kcalloc allocation.\n\nClamp the per-packet copy length so that the cumulative offset\nnever exceeds data_len.","publishedAt":"2026-06-25T08:38:34.208Z","updatedAt":"2026-10-15T01:22:27.646Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat-SADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"0b334279a82d79fb4723bd4f614305de1ab69caa","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"6021d39ccd979713b39b980286020d8f9a45efd1","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"5db10c8ad8c09f72c847dfeef3d876098257f505","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"05a43157676c243c248d1c6d9dcecbe6eba2f35d","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"fcbd0cdab92838854a5818be7ed8a097164ef6d5","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"906035d5c3784570191d259cbf9a0ac1617852b5","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"322e93448d908434ae5545660fcbe8f5a7a8e141","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.259","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/0b334279a82d79fb4723bd4f614305de1ab69caa","https://git.kernel.org/stable/c/6021d39ccd979713b39b980286020d8f9a45efd1","https://git.kernel.org/stable/c/89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d","https://git.kernel.org/stable/c/5db10c8ad8c09f72c847dfeef3d876098257f505","https://git.kernel.org/stable/c/05a43157676c243c248d1c6d9dcecbe6eba2f35d","https://git.kernel.org/stable/c/fcbd0cdab92838854a5818be7ed8a097164ef6d5","https://git.kernel.org/stable/c/906035d5c3784570191d259cbf9a0ac1617852b5","https://git.kernel.org/stable/c/322e93448d908434ae5545660fcbe8f5a7a8e141","https://access.redhat.com/security/cve/CVE-2026-53148","https://bugzilla.redhat.com/show_bug.cgi?id=2492756","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53148.json","https://cert-portal.siemens.com/productcert/html/ssa-784472.html"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53148.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53148","state":"PUBLISHED","datePublished":"2026-06-25T08:38:34.208Z","dateUpdated":"2026-10-15T01:22:27.646Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.387Z"},"containers":{"cna":{"title":"thunderbolt: Clamp XDomain response data copy to allocation size","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Clamp XDomain response data copy to allocation size\n\ntb_xdp_properties_request() derives the per-packet copy length from\nthe response header without checking that it fits in the previously\nallocated data buffer.  A malicious peer can set its length field\nlarger than the declared data_length, causing memcpy to write past\nthe kcalloc allocation.\n\nClamp the per-packet copy length so that the cumulative offset\nnever exceeds data_len."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"0b334279a82d79fb4723bd4f614305de1ab69caa","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"6021d39ccd979713b39b980286020d8f9a45efd1","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"5db10c8ad8c09f72c847dfeef3d876098257f505","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"05a43157676c243c248d1c6d9dcecbe6eba2f35d","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"fcbd0cdab92838854a5818be7ed8a097164ef6d5","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"906035d5c3784570191d259cbf9a0ac1617852b5","versionType":"git"},{"version":"cdae7c07e3e3509eaabc18c1640a55dc5b99c179","status":"affected","lessThan":"322e93448d908434ae5545660fcbe8f5a7a8e141","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.259","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/0b334279a82d79fb4723bd4f614305de1ab69caa"},{"url":"https://git.kernel.org/stable/c/6021d39ccd979713b39b980286020d8f9a45efd1"},{"url":"https://git.kernel.org/stable/c/89ae04365e01d5ae4aae83044a8bbd2a9aaf8d0d"},{"url":"https://git.kernel.org/stable/c/5db10c8ad8c09f72c847dfeef3d876098257f505"},{"url":"https://git.kernel.org/stable/c/05a43157676c243c248d1c6d9dcecbe6eba2f35d"},{"url":"https://git.kernel.org/stable/c/fcbd0cdab92838854a5818be7ed8a097164ef6d5"},{"url":"https://git.kernel.org/stable/c/906035d5c3784570191d259cbf9a0ac1617852b5"},{"url":"https://git.kernel.org/stable/c/322e93448d908434ae5545660fcbe8f5a7a8e141"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-25T08:38:34.208Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.10.259"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"5.15.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"kernel: thunderbolt: Clamp XDomain response data copy to allocation size","descriptions":[{"lang":"en","value":"A flaw was found in the Linux kernel's Thunderbolt driver. A malicious peer can exploit this vulnerability by sending a specially crafted response that causes the system to write data beyond an allocated memory buffer. This out-of-bounds write can lead to memory corruption, which may allow an attacker to cause a denial of service or potentially execute arbitrary code."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"kernel","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","packageName":"kernel","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:6"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"kernel","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"kernel-rt","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"kernel","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"kernel-rt","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"kernel","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"kernel-rt","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-53148","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492756","name":"RHBZ#2492756","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53148.json","tags":["x_sadp-csaf-vex"]}],"metrics":[{"other":{"content":{"namespace":"https://access.redhat.com/security/updates/classification/","value":"Important"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat-SADP","orgId":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","dateUpdated":"2026-07-15T00:44:48.625Z"},"datePublic":"2026-06-25T00:00:00.000Z","timeline":[{"lang":"en","time":"2026-06-25T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-06-25T00:00:00.000Z","value":"Made public."}],"x_adpType":"supplier","x_generator":{"engine":"sadp-cli 1.0.0"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:22:27.646Z"},"x_adpType":"supplier"}]}}}