Bug 2213485 (CVE-2023-3161) - CVE-2023-3161 kernel: fbcon: shift-out-of-bounds in fbcon_set_font()
Summary: CVE-2023-3161 kernel: fbcon: shift-out-of-bounds in fbcon_set_font()
Keywords:
Status: NEW
Alias: CVE-2023-3161
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2213491 2213492 2213493 2213494 2213490
Blocks: 2213488
TreeView+ depends on / blocked
 
Reported: 2023-06-08 10:47 UTC by Mauro Matteo Cascella
Modified: 2023-07-10 20:17 UTC (History)
44 users (show)

Fixed In Version: kernel 6.2-rc7
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Framebuffer Console (fbcon) in the Linux Kernel. When providing a font->width and font->height greater than 32 to the fbcon_set_font, since there are no checks in place, a shift-out-of-bounds occurs, leading to undefined behavior and possible denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2023-06-08 10:47:23 UTC
A flaw was found in the Framebuffer Console (fbcon) in the Linux Kernel. When providing font->width and font->height greater than 32 to fbcon_set_font, since there are no checks in place, a shift-out-of-bounds occurs leading to undefined behavior and possible denial of service.

Upstream fix:
https://github.com/torvalds/linux/commit/2b09d5d364986f724f17001ccfe4126b9b43a0be

Comment 1 Mauro Matteo Cascella 2023-06-08 10:59:48 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2213490]

Comment 3 Justin M. Forbes 2023-06-09 14:34:10 UTC
This was fixed for Fedora with the 6.1.11 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.