CVE-2026-98780

drm/amdgpu: fix IP instance memory leak on kobject add failure

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)

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.186% likely to be exploited in the next 30 days, higher than 8.308% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding 1d7dd4f230867231abfc5cc413dae5260e06fdb2 (affected)
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding f6364e7284a131556f5d763d867147bece2843a8 (affected)
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding 0563b26c1437fe7e25ea42c334eb85c0a703f8ff (affected)
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding 7ca44cb14d0249992a8f1425ba004d6e2d16d255 (affected)
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding c05bbcc263d67b8b158e2a52be7e3005895969d1 (affected)
  • a6c40b178092f41b9d6cc8615697c14b1e5a1c3a up to but excluding f5a5add3605935163dd0f75749b6a7869e9765af (affected)
LinuxLinux
  • Default status: affected
  • 5.18 (affected)
  • 0 up to but excluding 5.18 (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References