CVE-2023-53594 (CNNVD-202510-570)
中文标题:
Linux kernel 安全漏洞
英文标题:
driver core: fix resource leak in device_add()
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于kobject_add失败时未正确清理资源,可能导致资源泄漏。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: driver core: fix resource leak in device_add() When calling kobject_add() failed in device_add(), it will call cleanup_glue_dir() to free resource. But in kobject_add(), dev->kobj.parent has been set to NULL. This will cause resource leak. The process is as follows: device_add() get_device_parent() class_dir_create_and_add() kobject_add() //kobject_get() ... dev->kobj.parent = kobj; ... kobject_add() //failed, but set dev->kobj.parent = NULL ... glue_dir = get_glue_dir(dev) //glue_dir = NULL, and goto //"Error" label ... cleanup_glue_dir() //becaues glue_dir is NULL, not call //kobject_put() The preceding problem may cause insmod mac80211_hwsim.ko to failed. sysfs: cannot create duplicate filename '/devices/virtual/mac80211_hwsim' Call Trace: <TASK> dump_stack_lvl+0x8e/0xd1 sysfs_warn_dup.cold+0x1c/0x29 sysfs_create_dir_ns+0x224/0x280 kobject_add_internal+0x2aa/0x880 kobject_add+0x135/0x1a0 get_device_parent+0x3d7/0x590 device_add+0x2aa/0x1cb0 device_create_groups_vargs+0x1eb/0x260 device_create+0xdc/0x110 mac80211_hwsim_new_radio+0x31e/0x4790 [mac80211_hwsim] init_mac80211_hwsim+0x48d/0x1000 [mac80211_hwsim] do_one_initcall+0x10f/0x630 do_init_module+0x19f/0x5e0 load_module+0x64b7/0x6eb0 __do_sys_finit_module+0x140/0x200 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 </TASK> kobject_add_internal failed for mac80211_hwsim with -EEXIST, don't try to register things with the same name in the same directory.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | e7f6e3c9db4b6f259c89fd05728d024ab32acd71 | - | - |
cpe:2.3:a:linux:linux:e7f6e3c9db4b6f259c89fd05728d024ab32acd71:*:*:*:*:*:*:*
|
| Linux | Linux | a93a63333dbdb182b87e8cc99df8b4474f867acb | - | - |
cpe:2.3:a:linux:linux:a93a63333dbdb182b87e8cc99df8b4474f867acb:*:*:*:*:*:*:*
|
| Linux | Linux | 37de955c11b59050346e530143c20b10b4846527 | - | - |
cpe:2.3:a:linux:linux:37de955c11b59050346e530143c20b10b4846527:*:*:*:*:*:*:*
|
| Linux | Linux | 645897231f960590220144b06d1f994b7eb88326 | - | - |
cpe:2.3:a:linux:linux:645897231f960590220144b06d1f994b7eb88326:*:*:*:*:*:*:*
|
| Linux | Linux | 4.9 | - | - |
cpe:2.3:a:linux:linux:4.9:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2023-53594 |
2025-11-11 15:22:15 | 2025-11-11 07:38:49 |
| NVD | nvd_CVE-2023-53594 |
2025-11-11 14:59:23 | 2025-11-11 07:46:53 |
| CNNVD | cnnvd_CNNVD-202510-570 |
2025-11-11 15:12:59 | 2025-11-11 08:00:21 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202510-570
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']