CVE-2026-89818
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.1
(v3.1)
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:16:47.113000
Last modified
2026-10-19 09:18:25.673000
View original CVE JSON
{
"id": "CVE-2026-89818",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-16T11:16:47.113",
"lastModified": "2026-10-19T09:18:25.673",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check\n\nIf the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression\n6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting\nthe parser loop far past the end of the message BO. Triggering it\nadditionally requires a ~4GiB mapping so that msg[1] survives the\nearlier \"header does not fit in BO\" check.\n\nRewrite the test in division form, which is overflow-free by\nconstruction. Also update the message to reflect that msg is invalid."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c",
"drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "88411caee8f576d6b5abf6531232fcc0ce756dc5",
"lessThan": "c2340281be4ddacb8c203e2bce59b126d1d6c4c8",
"versionType": "git",
"status": "affected"
},
{
"version": "c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e",
"lessThan": "6dceaeceaa7c8396339f3ea34b0110cb912ca61b",
"versionType": "git",
"status": "affected"
},
{
"version": "7688143ca62edeecacb3ba0a2cea129dbd262a18",
"lessThan": "47799e1f893d47d8af231710a61065e3ec8a13e8",
"versionType": "git",
"status": "affected"
},
{
"version": "63b51e8a9d54317d31cc3856c1e12407070d5fc2",
"lessThan": "7e28853c78c20bb8ba4c1dba702430cd05e09f76",
"versionType": "git",
"status": "affected"
},
{
"version": "b193019860d61e92da395eae2011f2f6716b182f",
"lessThan": "9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3",
"versionType": "git",
"status": "affected"
},
{
"version": "b193019860d61e92da395eae2011f2f6716b182f",
"lessThan": "4d7390530853eb7befda9cc786e4c86e8ad7ac9e",
"versionType": "git",
"status": "affected"
},
{
"version": "f55552adb100eb54a6e6dabff4fbdc8679bd3fa0",
"versionType": "git",
"status": "affected"
},
{
"version": "82c535eff05490c71153af57de9fe85502fcb5d5",
"versionType": "git",
"status": "affected"
},
{
"version": "638d3e0b9eb77aa53fdd60e2b928761d16ba76fa",
"versionType": "git",
"status": "affected"
},
{
"version": "870c8738c3774336baedddd0240951d078a703b8",
"versionType": "git",
"status": "affected"
},
{
"version": "638e48ee39d0f2af9336f917a6f5d6692dd64d93",
"versionType": "git",
"status": "affected"
},
{
"version": "e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7",
"versionType": "git",
"status": "affected"
},
{
"version": "3c817a60b09eaab926e475088e750936efcc95ae",
"versionType": "git",
"status": "affected"
},
{
"version": "6.1.175",
"lessThan": "6.1.188",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.6.140",
"lessThan": "6.6.157",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.12.90",
"lessThan": "6.12.110",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.18.32",
"lessThan": "6.18.51",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.15.209",
"lessThan": "5.16",
"versionType": "semver",
"status": "affected"
},
{
"version": "7.0.9",
"lessThan": "7.1",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c",
"drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "7.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "7.1",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.188",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.157",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.110",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.51",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.5",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 5.2
}
]
},
"references": [
{
"url": "https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}