CVE-2022-50222
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
4.19
and later are affected. Fixed in
4.19.256,
5.4.211,
5.10.137,
5.15.61,
5.18.18,
5.19.2,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-50222 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/446f123aa6021e5f75a20789f05ff3f7ae51a42f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5c6c65681f39bf71bc72ed589dec3b8b20e75cac
-
PatchKernel patch commithttps://git.kernel.org/stable/c/777a462e1ae50a01fc4a871efa8e34d596a1e17d
Frequently asked questions
-
What is CVE-2022-50222?
CVE-2022-50222 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.19 onward and has been patched in 4.19.256, 5.4.211, 5.10.137 and others. CVE-2022-50222 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50222?
CVE-2022-50222 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-50222?
Yes — CVE-2022-50222 has been patched. Fixed versions include 4.19.256, 5.4.211, 5.10.137 and others. If you are running Linux kernel 4.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50222 actively exploited?
No — CVE-2022-50222 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.