# CVE-2022-50222: tty: vt: initialize unicode screen buffer

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-06-18T11:03:56.744Z
- Modified: 2026-11-05T20:17:27.950Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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;
  }
  ----------

(As written by CVE List.)

## Affected

- Linux Linux: from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before e02fa87e572bb7d90dcdbce9c0f519f1eb992e96; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before cc9e874dace0c89ae535230c7da19b764746811e; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before 5c6c65681f39bf71bc72ed589dec3b8b20e75cac; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before 446f123aa6021e5f75a20789f05ff3f7ae51a42f; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before 777a462e1ae50a01fc4a871efa8e34d596a1e17d; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def; from d8ae7242718738ee1bf9bfdd632d2a4b150fdd26 before af77c56aa35325daa2bc2bed5c2ebf169be61b86; 4.19 (not affected: before 4.19; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.19 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/e02fa87e572bb7d90dcdbce9c0f519f1eb992e96> (patch)
- <https://git.kernel.org/stable/c/cc9e874dace0c89ae535230c7da19b764746811e> (patch)
- <https://git.kernel.org/stable/c/5c6c65681f39bf71bc72ed589dec3b8b20e75cac> (patch)
- <https://git.kernel.org/stable/c/446f123aa6021e5f75a20789f05ff3f7ae51a42f> (patch)
- <https://git.kernel.org/stable/c/777a462e1ae50a01fc4a871efa8e34d596a1e17d> (patch)
- <https://git.kernel.org/stable/c/e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def> (patch)
- <https://git.kernel.org/stable/c/af77c56aa35325daa2bc2bed5c2ebf169be61b86> (patch)

## Sources

- CVE List: [CVE-2022-50222](https://www.cve.org/CVERecord?id=CVE-2022-50222), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50222](https://nvd.nist.gov/vuln/detail/CVE-2022-50222), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50222 · Whole record: https://cve.day/CVE-2022-50222.json · Rebuilt by cve.day 2026-11-25T22:58:21.112Z
