drm/bridge: tc358767: clamp the reported AUX read size to the request

Summary

CVECVE-2026-93067
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:18:00 UTC
Updated2026-09-17 17:18:00 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: drm/bridge: tc358767: clamp the reported AUX read size to the request tc_aux_transfer() clamps an AUX read to the payload limit: size_t size = min_t(size_t, DP_AUX_MAX_PAYLOAD_BYTES - 1, msg->size); After the transfer it replaces size with the byte count the controller reports in AUX_BYTES: if (size) size = FIELD_GET(AUX_BYTES, auxstatus); AUX_BYTES is GENMASK(15, 8), so it can be up to 255. Nothing clamps it back to the request. tc_aux_read_data() reads that many bytes into the 16-byte auxrdata stack buffer, then copies them into the caller buffer. A reported count of 255 makes the read run to 256 bytes and overruns both. The controller should never report more than it was asked to transfer, so this is defense in depth rather than a live hole. The reported count is only lightly trusted, and the check is cheap. Clamp it back to the request, the same way ti-sn65dsi86 does in commit aca58eac52b8 ("drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer").

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 ebf00c51c9ac9188e2806a2b842418805ee879be git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 424b762cc26d512e3e7421e57e41b4b55be2400b git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 dd6274706bec30d005bff0587a4262d01dc2775a git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 982caa744fce79d18f2920382aaeb0da821a6e73 git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 33c0b072e31dee98a754d9bd01800359dfeb9e8f git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 57c567e0e8aa76f6e3e8f39d7f40c20bc37e76af git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 9ff718df547372d70ca20ad8e66a3fb1300936b2 git Not specified
CNA Linux Linux affected 12dfe7c4d9c53442efcb4113cff505f60d654906 ec6444a00c49e6c2b5e9a507272a28126677f9ee git Not specified
CNA Linux Linux affected 5.4 Not specified
CNA Linux Linux unaffected 5.4 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/982caa744fce79d18f2920382aaeb0da821a6e73 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ec6444a00c49e6c2b5e9a507272a28126677f9ee 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/424b762cc26d512e3e7421e57e41b4b55be2400b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/33c0b072e31dee98a754d9bd01800359dfeb9e8f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9ff718df547372d70ca20ad8e66a3fb1300936b2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ebf00c51c9ac9188e2806a2b842418805ee879be 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/57c567e0e8aa76f6e3e8f39d7f40c20bc37e76af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dd6274706bec30d005bff0587a4262d01dc2775a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report