platform/x86: dell-laptop: fix missing cleanups in init error path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 037accfa14b28ecf49d9060063929c4b4cde373f · < 6e9cab2247e5b243ae2d907ce7c948a8a9c8d61a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: dell-laptop: fix missing cleanups in init error path
dell_init() initializes several resources after dell_setup_rfkill(), including the optional touchpad LED, keyboard backlight LED, battery hook, debugfs directory and dell-laptop notifier.
If a later LED or backlight registration fails, the error path only tears down the battery hook and rfkill resources. This leaves the notifier, debugfs directory, keyboard backlight LED and optional touchpad LED registered after dell_init() returns an error.
Add the missing cleanup calls before tearing down rfkill.
From the CVE record · Linux
The Linux kernel’s dell-laptop driver can leave a notifier, debugfs directory, and LEDs registered if a later LED or backlight registration fails during initialization. The input does not describe what an attacker could do or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the dell-laptop driver should check their builds; affected versions are not specified.