CVE-2026-98780
drm/amdgpu: fix IP instance memory leak on kobject add failure
Check your servers for CVE-2026-98780
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-98780 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix IP instance memory leak on kobject add failure
amdgpu_discovery_sysfs_ips() allocates ip_hw_instance with kzalloc_flex() and initializes its embedded kobject before calling kobject_add().
If kobject_add() fails, the return value is ignored and execution continues without dropping the initial kobject reference. The failed kobject is not retained in the kset list, so the normal sysfs teardown path cannot find it. As a result, ip_hw_instance_release() is never called and the ip_hw_instance allocation is leaked.
Call kobject_put() when kobject_add() fails so the initial reference is dropped and ip_hw_instance_release() can free the allocation. Keep the existing best-effort sysfs behavior by continuing with the remaining IP entries after the failed registration.
The issue was identified by a static analysis tool I developed and confirmed by manual review.
(cherry picked from commit 5c75fbcca8af1096d8d9415b91d8ea6212c22ee1)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.36% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before 1d7dd4f230867231abfc5cc413dae5260e06fdb2 affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before f6364e7284a131556f5d763d867147bece2843a8 affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before 0563b26c1437fe7e25ea42c334eb85c0a703f8ff affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before 7ca44cb14d0249992a8f1425ba004d6e2d16d255 affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before c05bbcc263d67b8b158e2a52be7e3005895969d1 affected from a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, before f5a5add3605935163dd0f75749b6a7869e9765af
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 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-98780 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98780
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-98780
trivy image --scanners vuln IMAGE | grep CVE-2026-98780
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
- https://git.kernel.org/stable/c/1d7dd4f230867231abfc5cc413dae5260e06fdb2 git.kernel.org
- https://git.kernel.org/stable/c/f6364e7284a131556f5d763d867147bece2843a8 git.kernel.org
- https://git.kernel.org/stable/c/0563b26c1437fe7e25ea42c334eb85c0a703f8ff git.kernel.org
- https://git.kernel.org/stable/c/7ca44cb14d0249992a8f1425ba004d6e2d16d255 git.kernel.org
- https://git.kernel.org/stable/c/c05bbcc263d67b8b158e2a52be7e3005895969d1 git.kernel.org
- https://git.kernel.org/stable/c/f5a5add3605935163dd0f75749b6a7869e9765af git.kernel.org
Source: the record CVE-2026-98780 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.
Vulnpocalypse