CVE-2021-47383

Updated: 2024-08-21 08:07:57.208621

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x NONE 0
CVSS Version 3.x MEDIUM 6.6

Status

OS name Project name Version Score Severity Status Errata Last updated
AlmaLinux 9.2 ESU kernel 5.14.0 6.6 MEDIUM Released CLSA-2024:1728936982 2024-10-14 17:38:18
AlmaLinux 9.2 FIPS kernel 5.14.0 6.6 MEDIUM In Testing 2024-10-14 05:34:03
CentOS 6 ELS kernel 2.6.32 6.6 MEDIUM Ignored 2024-08-22 03:43:50
CentOS 7 ELS kernel 3.10.0 6.6 MEDIUM Released CLSA-2024:1724693366 2024-09-09 12:13:20
CentOS 8.4 ELS kernel 4.18.0 6.6 MEDIUM Released CLSA-2024:1727690947 2024-09-30 10:53:17
CentOS 8.5 ELS kernel 4.18.0 6.6 MEDIUM Released CLSA-2024:1727690025 2024-09-30 10:53:18
CentOS Stream 8 ELS kernel 4.18.0 6.6 MEDIUM Released CLSA-2024:1727815919 2024-10-01 17:36:01
CloudLinux 6 ELS kernel 2.6.32 6.6 MEDIUM Ignored 2024-08-22 03:43:50
CloudLinux 7 ELS kernel 3.10.0 6.6 MEDIUM Ignored 2024-08-22 03:43:49
Oracle Linux 6 ELS kernel 2.6.32 6.6 MEDIUM Ignored 2024-08-22 03:43:49