GSD-2023-1002036 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
A use-after-free vulnerability in the Linux kernel's virtual console driver allows local attackers to potentially execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is GSD-2023-1002036?
GSD-2023-1002036 is an use after free vulnerability in Kernel, published on 13 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.93 by commit fc9e27f3ba083534b8bbf72ab0f5c810ffdc7d18, it was introduced in version v2.6.38 by commit ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff. For more details please see the references link.
Which versions are affected by GSD-2023-1002036?
1 open source package ship an affected version, including Kernel.
| Package | Affected | Fixed in |
|---|---|---|
Kernel Linux | All versions | None |
How do I fix GSD-2023-1002036?
No fix has been published for GSD-2023-1002036 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is GSD-2023-1002036 being exploited?
There is no known exploitation of GSD-2023-1002036 in the wild and no public exploit code.