Linux kernel: drm/amdgpu: fix IP instance memory leak on kobject add failure
Overview
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)
- Published
- 10/18/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < 1d7dd4f230867231abfc5cc413dae5260e06fdb2 | Verify advisory | Source |
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < f6364e7284a131556f5d763d867147bece2843a8 | Verify advisory | Source |
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < 0563b26c1437fe7e25ea42c334eb85c0a703f8ff | Verify advisory | Source |
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < 7ca44cb14d0249992a8f1425ba004d6e2d16d255 | Verify advisory | Source |
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < c05bbcc263d67b8b158e2a52be7e3005895969d1 | Verify advisory | Source |
Linux Linux | ≥ a6c40b178092f41b9d6cc8615697c14b1e5a1c3a, < f5a5add3605935163dd0f75749b6a7869e9765af | Verify advisory | Source |
Linux Linux | 5.18 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.