ACK: [SRU Bionic PATCH 0/3] CVE-2021-33655
stefan.bader at canonical.com
Mon Aug 22 08:56:25 UTC 2022
On 05.08.22 17:54, Cengiz Can wrote:
> When sending malicous data to kernel by ioctl cmd FBIOPUT_VSCREENINFO,
> kernel will write memory out of bounds.
> MITRE entry points to a merge commit that contain six patches. Three of
> those were considered relevant.
> commit 6c11df58fd1a ("fbmem: Check virtual screen sizes in fb_set_var()")
> commit e64242caef18 ("fbcon: Prevent that screen size is smaller than font size")
> commit 65a01e601dbb ("fbcon: Disallow setting font bigger than screen size")
> Only the first of those three were backported as far as 4.14 stable.
> Second and third patches have backport candidates that are under review.
> (I didn't pick CONFIG_FB is_console_locked patch. It seems irrelevant).
> [Test case]
> Compile and boot tested on KVM only.
> [Potential regression]
> Somehow high due to changes being very new and not accepted to stable
> tree yet. fbcon must be thoroughly tested.
> Helge Deller (3):
> fbcon: Disallow setting font bigger than screen size
> fbcon: Prevent that screen size is smaller than font size
> fbmem: Check virtual screen sizes in fb_set_var()
> drivers/video/fbdev/core/fbcon.c | 33 ++++++++++++++++++++++++++++++++
> drivers/video/fbdev/core/fbmem.c | 20 ++++++++++++++++---
> include/linux/fbcon.h | 4 ++++
> 3 files changed, 54 insertions(+), 3 deletions(-)
Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the kernel-team