CVE-2026-98780
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
drm/amdgpu: fix IP instance memory leak on kobject add failure
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)
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| a6c40b178092f41b9d6cc8615697c14b1e5a1c3a | affected | git | f6364e7284a131556f5d763d867147bece2843a8 | Unavailable | None listed |
| a6c40b178092f41b9d6cc8615697c14b1e5a1c3a | affected | git | 0563b26c1437fe7e25ea42c334eb85c0a703f8ff | Unavailable | None listed |
| a6c40b178092f41b9d6cc8615697c14b1e5a1c3a | affected | git | 7ca44cb14d0249992a8f1425ba004d6e2d16d255 | Unavailable | None listed |
| a6c40b178092f41b9d6cc8615697c14b1e5a1c3a | affected | git | c05bbcc263d67b8b158e2a52be7e3005895969d1 | Unavailable | None listed |
| a6c40b178092f41b9d6cc8615697c14b1e5a1c3a | affected | git | f5a5add3605935163dd0f75749b6a7869e9765af | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.18 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.18 | Unavailable | None listed |
| 6.6.160 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.113 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.56 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.2.10 | unaffected | semver | Unavailable | 7.2.* | None listed |
| 7.3 | unaffected | original_commit_for_fix | Unavailable | * | None listed |