platform/x86: asus-wmi: fix resource leaks on probe failure
In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: fix resource leaks on probe failure During driver initialization in asus_wmi_add(), various subsystems are registered sequentially. However, the error path labels are out of order relative to the registration sequence. Specifically: 1. If asus_wmi_custom_fan_curve_init() fails, the driver jumps to fail_custom_fan_curve. Because this label is placed below fail_sysfs, it bypasses the cleanup calls for the input device and sysfs groups, which were successfully registered before, leaking those resources. 2. If asus_screenpad_init() fails, the driver jumps to fail_screenpad. Because fail_screenpad is placed below fail_backlight, it bypasses the cleanup calls for backlight and rfkill, leaking those resources. Fix these resource leaks by reordering the error path labels in asus_wmi_add() to match the exact reverse order of the resource allocations.
CVE-2026-93116
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-93116
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "0f0ac158d28ff78e75c334e869b1cb8e69372a1f",
"lessThan": "959ed35f8c8f07b8dd43c3f917a43ae2f77e4471",
"versionType": "git"
},
{
"status": "affected",
"version": "0f0ac158d28ff78e75c334e869b1cb8e69372a1f",
"lessThan": "8d5999608da60db45949e5459f74f581cdaacd04",
"versionType": "git"
},
{
"status": "affected",
"version": "0f0ac158d28ff78e75c334e869b1cb8e69372a1f",
"lessThan": "8410cd2690d463b60527d00ac8cffea2d5a041f6",
"versionType": "git"
},
{
"status": "affected",
"version": "0f0ac158d28ff78e75c334e869b1cb8e69372a1f",
"lessThan": "3308b8c5f5a28403611a2f5a46f06aabe4f0c661",
"versionType": "git"
},
{
"status": "affected",
"version": "0f0ac158d28ff78e75c334e869b1cb8e69372a1f",
"lessThan": "ef3daa2b84a2b8499ce9e2ce1c865dca36d39f95",
"versionType": "git"
}
],
"programFiles": [
"drivers/platform/x86/asus-wmi.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.17",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/platform/x86/asus-wmi.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93116
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #48712 · Revision 1
- Added to Heist Feed
- Publisher date