In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix IP instance memory leak on kobject add failure… (CVE-2026-98780)
Description
A memory leak vulnerability in the Linux kernel's amdgpu driver was fixed. The issue occurs when kobject_add() fails during the initialization of ip_hw_instance, causing the allocated memory not to be freed. This happens because the failure return value is ignored and the initial kobject reference is not dropped, preventing normal cleanup. The fix involves calling kobject_put() on failure to properly release the allocation and avoid the leak.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's drm/amdgpu component involves a memory leak triggered when kobject_add() fails during the creation of an IP hardware instance. The function amdgpu_discovery_sysfs_ips() allocates memory for ip_hw_instance and initializes its embedded kobject. If kobject_add() fails, the code previously ignored the failure and did not drop the initial kobject reference, causing the allocated ip_hw_instance to never be released. This leak occurs because the failed kobject is not added to the kset list, so the usual sysfs teardown path cannot find and free it. The patch adds a call to kobject_put() on failure to ensure proper cleanup while maintaining sysfs behavior for remaining IP entries.
Potential Impact
The impact is a memory leak in the kernel's amdgpu driver, which could lead to increased memory usage and potential resource exhaustion over time. There is no indication of direct code execution, privilege escalation, or other critical impacts from this leak. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been applied in the Linux kernel to call kobject_put() when kobject_add() fails, preventing the memory leak. Users should update to a kernel version that includes this patch. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5p9g-gx3h-932c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98780"]
Threat ID: 6ad520aa2cdf04f6569939a9
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:21:31 UTC
Last updated: 10/18/2026, 22:21:31 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.