CVE-2026-98176
drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc The low 6 bits of cp_hqd_eop_control store the base-2 logarithm of the EOP ring size. This was calculated as ffs(q->eop_ring_buffer_size / sizeof(unsigned int)) - 1 - 1 But ffs can in theory return 1 or 0, so this could underflow (although in practice the ring buffer size cannot be less than 4096). Change this to ffs(q->eop_ring_buffer_size / sizeof(unsigned int) / 4) using properties of logarithms. (cherry picked from commit 4f18c56630383c14bfc6b2d65f88f2f895d2121a)
EPSS 0.21% · 10.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | c883d0a132d430ef7ebb23fd94323be94d0fbdb8, 9e8f43579f849fba0dd1059160f50bd44a767366, 82e1b8299c6da02ce02185c208d2fdf7572b5ea1, 5.3, 1ab281c7ce2dc5195d337f2c16e22eba356b47f9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 14328aa58ce523a59996c5a82681c43ec048cc33, 14328aa58ce523a59996c5a82681c43ec048cc33, 14328aa58ce523a59996c5a82681c43ec048cc33 |
| Linux | Linux | 5.3, 0, 6.12.117 |
| Linux | Linux | 7.3, 0, 6.12.117 |
| linux | linux_kernel | 5.3, 5.3, 5.3 |
Timeline
- Oct 6, 2026 EPSS Score (7 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Nov 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98176
vulnetix vdb fixes CVE-2026-98176
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98176/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart