CVE-2022-50222 Details
Description
In the Linux kernel, the following vulnerability has been resolved: tty: vt: initialize unicode screen buffer syzbot reports kernel infoleak at vcs_read() [1], for buffer can be read immediately after resize operation. Initialize buffer using kzalloc(). ---------- #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #include <linux/fb.h> int main(int argc, char *argv[]) { struct fb_var_screeninfo var = { }; const int fb_fd = open("/dev/fb0", 3); ioctl(fb_fd, FBIOGET_VSCREENINFO, &var); var.yres = 0x21; ioctl(fb_fd, FBIOPUT_VSCREENINFO, &var); return read(open("/dev/vcsu", O_RDONLY), &var, sizeof(var)) == -1; } ----------
An information leak vulnerability has been identified in the Linux kernel's TTY (teletypewriter) subsystem, specifically within the virtual console (vcs) read operation. This vulnerability arises because the Unicode screen buffer is not properly initialized before being read, allowing potentially sensitive information to be leaked. The issue was reported by zybot and has been addressed by initializing the buffer with a zeroed allocation. The vulnerability can be reproduced by resizing the framebuffer and then reading from the virtual console, which exposes uninitialized data.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/446f123aa6021e5f75a20789f05ff3f7ae51a42f | kernel.org | Patch |
| https://git.kernel.org/stable/c/5c6c65681f39bf71bc72ed589dec3b8b20e75cac | kernel.org | Patch |
| https://git.kernel.org/stable/c/777a462e1ae50a01fc4a871efa8e34d596a1e17d | kernel.org | Patch |
| https://git.kernel.org/stable/c/af77c56aa35325daa2bc2bed5c2ebf169be61b86 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cc9e874dace0c89ae535230c7da19b764746811e | kernel.org | Patch |
| https://git.kernel.org/stable/c/e02fa87e572bb7d90dcdbce9c0f519f1eb992e96 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19, < 4.19.256 >= 4.20, < 5.4.211 >= 5.5, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |