Vulnerability 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; } ----------
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.19, < 4.19.256 |
References
- https://git.kernel.org/stable/c/446f123aa6021e5f75a20789f05ff3f7ae51a42fPatch
- https://git.kernel.org/stable/c/5c6c65681f39bf71bc72ed589dec3b8b20e75cacPatch
- https://git.kernel.org/stable/c/777a462e1ae50a01fc4a871efa8e34d596a1e17dPatch
- https://git.kernel.org/stable/c/af77c56aa35325daa2bc2bed5c2ebf169be61b86Patch
- https://git.kernel.org/stable/c/cc9e874dace0c89ae535230c7da19b764746811ePatch
- https://git.kernel.org/stable/c/e02fa87e572bb7d90dcdbce9c0f519f1eb992e96Patch
- https://git.kernel.org/stable/c/e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18defPatch
FAQ
What is CVE-2022-50222?
CVE-2022-50222 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 aft...
How severe is CVE-2022-50222?
CVE-2022-50222 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50222?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.