drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check
Summary
| CVE | CVE-2026-89818 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-16 11:16:47 UTC |
| Updated | 2026-09-16 15:18:11 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check If the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression 6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting the parser loop far past the end of the message BO. Triggering it additionally requires a ~4GiB mapping so that msg[1] survives the earlier "header does not fit in BO" check. Rewrite the test in division form, which is overflow-free by construction. Also update the message to reflect that msg is invalid. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 88411caee8f576d6b5abf6531232fcc0ce756dc5 c2340281be4ddacb8c203e2bce59b126d1d6c4c8 git | Not specified |
| CNA | Linux | Linux | affected c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e 6dceaeceaa7c8396339f3ea34b0110cb912ca61b git | Not specified |
| CNA | Linux | Linux | affected 7688143ca62edeecacb3ba0a2cea129dbd262a18 47799e1f893d47d8af231710a61065e3ec8a13e8 git | Not specified |
| CNA | Linux | Linux | affected 63b51e8a9d54317d31cc3856c1e12407070d5fc2 7e28853c78c20bb8ba4c1dba702430cd05e09f76 git | Not specified |
| CNA | Linux | Linux | affected b193019860d61e92da395eae2011f2f6716b182f 9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 git | Not specified |
| CNA | Linux | Linux | affected b193019860d61e92da395eae2011f2f6716b182f 4d7390530853eb7befda9cc786e4c86e8ad7ac9e git | Not specified |
| CNA | Linux | Linux | affected f55552adb100eb54a6e6dabff4fbdc8679bd3fa0 git | Not specified |
| CNA | Linux | Linux | affected 82c535eff05490c71153af57de9fe85502fcb5d5 git | Not specified |
| CNA | Linux | Linux | affected 638d3e0b9eb77aa53fdd60e2b928761d16ba76fa git | Not specified |
| CNA | Linux | Linux | affected 870c8738c3774336baedddd0240951d078a703b8 git | Not specified |
| CNA | Linux | Linux | affected 638e48ee39d0f2af9336f917a6f5d6692dd64d93 git | Not specified |
| CNA | Linux | Linux | affected e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7 git | Not specified |
| CNA | Linux | Linux | affected 3c817a60b09eaab926e475088e750936efcc95ae git | Not specified |
| CNA | Linux | Linux | affected 6.1.175 6.1.188 semver | Not specified |
| CNA | Linux | Linux | affected 6.6.140 6.6.157 semver | Not specified |
| CNA | Linux | Linux | affected 6.12.90 6.12.110 semver | Not specified |
| CNA | Linux | Linux | affected 6.18.32 6.18.51 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.209 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 7.0.9 7.1 semver | Not specified |
| CNA | Linux | Linux | affected 7.1 | Not specified |
| CNA | Linux | Linux | unaffected 7.1 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.51 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.5 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76 | 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.