drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/c2340281be4ddacb8c203e2bce59b126d1d6c4c8
- https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b
- https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8
- https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76
- https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3
- https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-80418
- GCVE · GCVE-0-2026-89818
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 88411caee8f576d6b5abf6531232fcc0ce756dc5 < c2340281be4ddacb8c203e2bce59b126d1d6c4c8 ; affected c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e < 6dceaeceaa7c8396339f3ea34b0110cb912ca61b ; affected 7688143ca62edeecacb3ba0a2cea129dbd262a18 < 47799e1f893d47d8af231710a61065e3ec8a13e8 ; affected 63b51e8a9d54317d31cc3856c1e12407070d5fc2 < 7e28853c78c20bb8ba4c1dba702430cd05e09f76 ; affected b193019860d61e92da395eae2011f2f6716b182f < 9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 ; affected b193019860d61e92da395eae2011f2f6716b182f < 4d7390530853eb7befda9cc786e4c86e8ad7ac9e |
| Linux · Linux | affected 7.1 ; unaffected 0 < 7.1 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.51 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |