
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability (CVE-2020-25669) was discovered in the Linux Kernel's Sun keyboard driver implementation. The vulnerability was found in the sunkbdreinit function located in drivers/input/keyboard/sunkbd.c and was confirmed in kernel version 5.9.4. The issue occurs when the function sunkbdreinit is scheduled by sunkbdinterrupt before the struct sunkbd being freed. Although the dangling pointer is set to NULL in sunkbddisconnect, there remains an alias in sunkbd_reinit causing a use-after-free condition (Openwall List).
The vulnerability requires CONFIGKEYBOARDSUNKBD=y and CONFIGKASAN=y configurations to be exploited. The root cause is a race condition where sunkbdreinit is scheduled before memory deallocation, but the cleanup doesn't properly handle the scheduled work. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
Successful exploitation of this vulnerability could lead to denial of service (crash or memory corruption), information disclosure, or potentially privilege escalation on systems using the Sun keyboard driver. On affected systems, a local attacker could potentially execute arbitrary code or cause system crashes (Ubuntu Security).
A patch for this vulnerability is available in the Linux kernel repository. The fix involves ensuring proper cancellation of reinit work before driver structure teardown. The patch can be found at the Linux kernel repository commit 77e70d351db7de07a46ac49b87a6c3c7a60fca7e (Linux Kernel Patch). Multiple Linux distributions have released updates to address this vulnerability, including Ubuntu and Debian.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."