platform/x86: dell-laptop: fix missing cleanups in init error path
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1e41ca4a7fba2e680d6950e9511245255fffa46chttps://git.kernel.org/stable/c/6bd76d5421a72d2526c9be8f01f55bee960f899fhttps://git.kernel.org/stable/c/6e9cab2247e5b243ae2d907ce7c948a8a9c8d61ahttps://git.kernel.org/stable/c/b351e082711d12f075a36a6cd67709693689315fhttps://git.kernel.org/stable/c/e4908b3bed755f73870416b971e162a8d0ef0aef