{"id":"CVE-2021-47383","published":"2024-05-21T15:03:44Z","modified":"2026-08-05T08:47:33Z","title":"tty: Fix out-of-bound vmalloc access in imageblit","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: Fix out-of-bound vmalloc access in imageblit\n\nThis issue happens when a userspace program does an ioctl\nFBIOPUT_VSCREENINFO passing the fb_var_screeninfo struct\ncontaining only the fields xres, yres, and bits_per_pixel\nwith values.\n\nIf this struct is the same as the previous ioctl, the\nvc_resize() detects it and doesn't call the resize_screen(),\nleaving the fb_var_screeninfo incomplete. And this leads to\nthe updatescrollmode() calculates a wrong value to\nfbcon_display->vrows, which makes the real_y() return a\nwrong value of y, and that value, eventually, causes\nthe imageblit to access an out-of-bound address value.\n\nTo solve this issue I made the resize_screen() be called\neven if the screen does not need any resizing, so it will\n\"fix and fill\" the fb_var_screeninfo independently.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.18256,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7e71fcedfda6f7de18f850a6b36e78d78b04476f","tags":[]},{"url":"https://git.kernel.org/stable/c/70aed03b1d5a5df974f456cdc8eedb213c94bb8b","tags":[]},{"url":"https://git.kernel.org/stable/c/067c694d06040db6f0c65281bb358452ca6d85b9","tags":[]},{"url":"https://git.kernel.org/stable/c/8a6a240f52e14356386030d8958ae8b1761d2325","tags":[]},{"url":"https://git.kernel.org/stable/c/883f7897a25e3ce14a7f274ca4c73f49ac84002a","tags":[]},{"url":"https://git.kernel.org/stable/c/d570c48dd37dbe8fc6875d4461d01a9554ae2560","tags":[]},{"url":"https://git.kernel.org/stable/c/699d926585daa6ec44be556cdc1ab89e5d54557b","tags":[]},{"url":"https://git.kernel.org/stable/c/3b0c406124719b625b1aba431659f5cdc24a982c","tags":[]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7e71fcedfda6f7de18f850a6b36e78d78b04476f",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 70aed03b1d5a5df974f456cdc8eedb213c94bb8b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 067c694d06040db6f0c65281bb358452ca6d85b9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a6a240f52e14356386030d8958ae8b1761d2325",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 883f7897a25e3ce14a7f274ca4c73f49ac84002a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d570c48dd37dbe8fc6875d4461d01a9554ae2560",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 699d926585daa6ec44be556cdc1ab89e5d54557b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b0c406124719b625b1aba431659f5cdc24a982c"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T17:37:20.634635Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34388","exploited":false,"provenance":"source"}}