CVE-2026-98177

drm/amdkfd: Avoid integer underflow in EOP ring size calculation.

No CVSS score yet EPSS 0.21%

Published 6 Oct 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98177

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98177 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Avoid integer underflow in EOP ring size calculation.

The low 6 bits of cp_hqd_eop_control store the base-2 logarithm of the EOP ring size. This was calculated as

order_base_2(q->eop_ring_buffer_size / 4) - 1

But order_base_2 can in theory return 0, so this could underflow (although in practice the ring buffer size cannot be less than 4096).

Change this to

order_base_2(q->eop_ring_buffer_size / 8)

using properties of logarithms.

Also add to the above comment to make the mathematics more clear.

(cherry picked from commit f0f43fcf8b2b3a924cad9444340921c96ed5f634)

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.98% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before ab43ca67eca4149d1af666a1ee1084786bde9cf9
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before 0e28ecdfbee856b9e45f53c341a4b37c822d25dd
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before 85f2d80a260f2ee90647da094b80a2d5ce719750
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before 3c97f7cb6c48826663648b6081b614c2befc8ac7
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before 287a34c4d712e0bdb67751e21316d9c8d75a528a
affected from d696d536f0a97ac779d6176107ac4e96d0a2f8b9, before 8ee521b8b189799e361d4233c5180ba56656d4d4
Other versions: unaffected
Linux
affected 4.3
unaffected before 4.3
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.61 up to and including 6.18.*
unaffected from 7.2.8 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98177 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98177

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98177
trivy image --scanners vuln IMAGE | grep CVE-2026-98177

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98177 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.