# CVE-2023-54144: drm/amdkfd: Fix kernel warning during topology setup

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-24T13:06:57.546Z
- Modified: 2026-06-17T06:46:52.970Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Fix kernel warning during topology setup

This patch fixes the following kernel warning seen during
driver load by correctly initializing the p2plink attr before
creating the sysfs file:

[  +0.002865] ------------[ cut here ]------------
[  +0.002327] kobject: '(null)' (0000000056260cfb): is not initialized, yet kobject_put() is being called.
[  +0.004780] WARNING: CPU: 32 PID: 1006 at lib/kobject.c:718 kobject_put+0xaa/0x1c0
[  +0.001361] Call Trace:
[  +0.001234]  <TASK>
[  +0.001067]  kfd_remove_sysfs_node_entry+0x24a/0x2d0 [amdgpu]
[  +0.003147]  kfd_topology_update_sysfs+0x3d/0x750 [amdgpu]
[  +0.002890]  kfd_topology_add_device+0xbd7/0xc70 [amdgpu]
[  +0.002844]  ? lock_release+0x13c/0x2e0
[  +0.001936]  ? smu_cmn_send_smc_msg_with_param+0x1e8/0x2d0 [amdgpu]
[  +0.003313]  ? amdgpu_dpm_get_mclk+0x54/0x60 [amdgpu]
[  +0.002703]  kgd2kfd_device_init.cold+0x39f/0x4ed [amdgpu]
[  +0.002930]  amdgpu_amdkfd_device_init+0x13d/0x1f0 [amdgpu]
[  +0.002944]  amdgpu_device_init.cold+0x1464/0x17b4 [amdgpu]
[  +0.002970]  ? pci_bus_read_config_word+0x43/0x80
[  +0.002380]  amdgpu_driver_load_kms+0x15/0x100 [amdgpu]
[  +0.002744]  amdgpu_pci_probe+0x147/0x370 [amdgpu]
[  +0.002522]  local_pci_probe+0x40/0x80
[  +0.001896]  work_for_cpu_fn+0x10/0x20
[  +0.001892]  process_one_work+0x26e/0x5a0
[  +0.002029]  worker_thread+0x1fd/0x3e0
[  +0.001890]  ? process_one_work+0x5a0/0x5a0
[  +0.002115]  kthread+0xea/0x110
[  +0.001618]  ? kthread_complete_and_exit+0x20/0x20
[  +0.002422]  ret_from_fork+0x1f/0x30
[  +0.001808]  </TASK>
[  +0.001103] irq event stamp: 59837
[  +0.001718] hardirqs last  enabled at (59849): [<ffffffffb30fab12>] __up_console_sem+0x52/0x60
[  +0.004414] hardirqs last disabled at (59860): [<ffffffffb30faaf7>] __up_console_sem+0x37/0x60
[  +0.004414] softirqs last  enabled at (59654): [<ffffffffb307d9c7>] irq_exit_rcu+0xd7/0x130
[  +0.004205] softirqs last disabled at (59649): [<ffffffffb307d9c7>] irq_exit_rcu+0xd7/0x130
[  +0.004203] ---[ end trace 0000000000000000 ]---

(As written by CVE List.)

## Affected

- Linux Linux: from 0f28cca87e9afc22280c44d378d2a6e249933977 before 2d5a6742a242091292cc0a2b607be701a45d0c4e; from 0f28cca87e9afc22280c44d378d2a6e249933977 before 306888b1246bf44e703b6f1ccc746c2746c1a981; from 0f28cca87e9afc22280c44d378d2a6e249933977 before cf97eb7e47d4671084c7e114c5d88a3d0540ecbd; 6.0 (not affected: before 6.0; from 6.0.19 up to 6.0.*; from 6.1.5 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/2d5a6742a242091292cc0a2b607be701a45d0c4e>
- <https://git.kernel.org/stable/c/306888b1246bf44e703b6f1ccc746c2746c1a981>
- <https://git.kernel.org/stable/c/cf97eb7e47d4671084c7e114c5d88a3d0540ecbd>

## Sources

- CVE List: [CVE-2023-54144](https://www.cve.org/CVERecord?id=CVE-2023-54144), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54144](https://nvd.nist.gov/vuln/detail/CVE-2023-54144), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54144 · Whole record: https://cve.day/CVE-2023-54144.json · Rebuilt by cve.day 2026-11-25T22:58:35.194Z
