CVE-2021-47383
published high CVSS 3.1 · 7.8tty: Fix out-of-bound vmalloc access in imageblit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7e71fcedfda6f7de18f850a6b36e78d78b04476f · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 70aed03b1d5a5df974f456cdc8eedb213c94bb8b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 067c694d06040db6f0c65281bb358452ca6d85b9 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a6a240f52e14356386030d8958ae8b1761d2325 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 883f7897a25e3ce14a7f274ca4c73f49ac84002a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d570c48dd37dbe8fc6875d4461d01a9554ae2560 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 699d926585daa6ec44be556cdc1ab89e5d54557b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3b0c406124719b625b1aba431659f5cdc24a982c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.4.286 through 4.4.* (unaffected · semver) · 4.9.285 through 4.9.* (unaffected · semver) · 4.14.249 through 4.14.* (unaffected · semver) · 4.19.209 through 4.19.* (unaffected · semver) · 5.4.151 through 5.4.* (unaffected · semver) · 5.10.71 through 5.10.* (unaffected · semver) · 5.14.10 through 5.14.* (unaffected · semver) · 5.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1719 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-007 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-099 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.22.1.el8_10 | ELSA-2024-7000 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tty: Fix out-of-bound vmalloc access in imageblit This issue happens when a userspace program does an ioctl FBIOPUT_VSCREENINFO passing the fb_var_screeninfo struct containing only the fields xres, yres, and bits_per_pixel with values. If this struct is the same as the previous ioctl, the vc_resize() detects it and doesn't call the resize_screen(), leaving the fb_var_screeninfo incomplete. And this leads to the updatescrollmode() calculates a wrong value to fbcon_display->vrows, which makes the real_y() return a wrong value of y, and that value, eventually, causes the imageblit to access an out-of-bound address value. To solve this issue I made the resize_screen() be called even if the screen does not need any resizing, so it will "fix and fill" the fb_var_screeninfo independently.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is triggered by a local FBIOPUT_VSCREENINFO ioctl on /dev/fbN that flows through fb_set_var → fbcon_modechanged → vc_do_resize → updatescrollmode → imageblit; it is not reachable via network or adjacent protocols. AC:L - A crafted incomplete fb_var_screeninfo (undersized/zero virtual resolution) deterministically drives negative fbcon_display->vrows and an OOB imageblit write; syzkaller has a reliable C repro with no race or attacker-independent conditions. PR:L - do_fb_ioctl/FBIOPUT_VSCREENINFO performs no capability check; access only requires opening /dev/fbN, which seated users, video-group members, and embedded/Android graphics processes commonly have without real root in the init namespace. UI:N - The attacker opens the framebuffer device and issues the ioctl directly; fbcon_modechanged calls update_screen on the same path, so no separate victim action is required. S:U - Impact is kernel memory corruption and crash within the same host security authority; it does not cross a VM, IOMMU, or other distinct boundary. C:H - The defect is kernel memory corruption via a vmalloc out-of-bounds access in imageblit; per guidance, such corruption can be leveraged for information disclosure and is scored High when uncertain. I:H - Syzbot confirms a KASAN vmalloc-out-of-bounds Write in fast_imageblit/sys_imageblit past screen_base; out-of-bounds writes are scored High because they enable memory corruption and potential control-flow hijacking. A:H - The out-of-bounds kernel write can oops/panic the kernel (and does under KASAN), which is a high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7e71fcedfda6f7de18f850a6b36e78d78b04476f (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 70aed03b1d5a5df974f456cdc8eedb213c94bb8b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 067c694d06040db6f0c65281bb358452ca6d85b9 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a6a240f52e14356386030d8958ae8b1761d2325 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 883f7897a25e3ce14a7f274ca4c73f49ac84002a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d570c48dd37dbe8fc6875d4461d01a9554ae2560 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 699d926585daa6ec44be556cdc1ab89e5d54557b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3b0c406124719b625b1aba431659f5cdc24a982c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.4.286 through 4.4.* (unaffected · semver)4.9.285 through 4.9.* (unaffected · semver)4.14.249 through 4.14.* (unaffected · semver)4.19.209 through 4.19.* (unaffected · semver)5.4.151 through 5.4.* (unaffected · semver)5.10.71 through 5.10.* (unaffected · semver)5.14.10 through 5.14.* (unaffected · semver)5.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/067c694d06040db6f0c65281bb358452ca6d85b9
- https://git.kernel.org/stable/c/3b0c406124719b625b1aba431659f5cdc24a982c
- https://git.kernel.org/stable/c/699d926585daa6ec44be556cdc1ab89e5d54557b
- https://git.kernel.org/stable/c/70aed03b1d5a5df974f456cdc8eedb213c94bb8b
- https://git.kernel.org/stable/c/7e71fcedfda6f7de18f850a6b36e78d78b04476f
- https://git.kernel.org/stable/c/883f7897a25e3ce14a7f274ca4c73f49ac84002a
- https://git.kernel.org/stable/c/8a6a240f52e14356386030d8958ae8b1761d2325
- https://git.kernel.org/stable/c/d570c48dd37dbe8fc6875d4461d01a9554ae2560
Provider assertions
3Linux · cna
tty: Fix out-of-bound vmalloc access in imageblit
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77822befe7cf9ac9043d9195179be7b2123f68a2567232e12751f0f2a9880a6e
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record