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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-06-18T11:03:56.744Z
- **Modified:** 2026-11-05T20:17:27.950Z

## Who should check

- Anyone running Linux \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e02fa87e572bb7d90dcdbce9c0f519f1eb992e96; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< cc9e874dace0c89ae535230c7da19b764746811e; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 5c6c65681f39bf71bc72ed589dec3b8b20e75cac; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 446f123aa6021e5f75a20789f05ff3f7ae51a42f; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 777a462e1ae50a01fc4a871efa8e34d596a1e17d; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< af77c56aa35325daa2bc2bed5c2ebf169be61b86
- Anyone running Linux 4.19

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

## Affected and fixed versions

- Linux: \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e02fa87e572bb7d90dcdbce9c0f519f1eb992e96; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< cc9e874dace0c89ae535230c7da19b764746811e; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 5c6c65681f39bf71bc72ed589dec3b8b20e75cac; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 446f123aa6021e5f75a20789f05ff3f7ae51a42f; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 777a462e1ae50a01fc4a871efa8e34d596a1e17d; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< af77c56aa35325daa2bc2bed5c2ebf169be61b86 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50222. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50222.md
Affected: Linux >= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, < e02fa87e572bb7d90dcdbce9c0f519f1eb992e96; >= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, < cc9e874dace0c89ae535230c7da19b764746811e; >= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, < 5c6c65681f39bf71bc72ed589dec3b8b20e75cac; >= d8ae7242718738ee1bf9bfd…
Fixed in: Linux 5c6c65681f39bf71bc72ed589dec3b8b20e75cac, Linux 446f123aa6021e5f75a20789f05ff3f7ae51a42f, Linux 777a462e1ae50a01fc4a871efa8e34d596a1e17d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50222 being exploited?

There is no confirmed exploitation: CVE-2022-50222 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50222?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50222?

Linux \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e02fa87e572bb7d90dcdbce9c0f519f1eb992e96; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< cc9e874dace0c89ae535230c7da19b764746811e; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 5c6c65681f39bf71bc72ed589dec3b8b20e75cac; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 446f123aa6021e5f75a20789f05ff3f7ae51a42f; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< 777a462e1ae50a01fc4a871efa8e34d596a1e17d; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< e0ef23e9b0ad18b9fd3741b0f1ad2282e4a18def; \>= d8ae7242718738ee1bf9bfdd632d2a4b150fdd26, \< af77c56aa35325daa2bc2bed5c2ebf169be61b86; Linux 4.19.

### Is there a fix for CVE-2022-50222?

Yes. Fixed in Linux 5c6c65681f39bf71bc72ed589dec3b8b20e75cac, Linux 446f123aa6021e5f75a20789f05ff3f7ae51a42f, Linux 777a462e1ae50a01fc4a871efa8e34d596a1e17d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50222?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50222>

HTML: <https://flawdb.com/CVE-2022-50222> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50222>
