Bug 2230042 (CVE-2023-38409) - CVE-2023-38409 kernel: fbcon: out-of-sync arrays in fbcon_mode_deleted due to wrong con2fb_map assignment
Summary: CVE-2023-38409 kernel: fbcon: out-of-sync arrays in fbcon_mode_deleted due to...
Keywords:
Status: NEW
Alias: CVE-2023-38409
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:
Blocks: 2224231
TreeView+ depends on / blocked
 
Reported: 2023-08-08 14:29 UTC by Rohit Keshri
Modified: 2023-08-11 15:23 UTC (History)
46 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2023-08-08 14:29:08 UTC
An issue was discovered in set_con2fb_map in drivers/video/fbdev/core/fbcon.c in the Linux kernel before 6.2.12. Because an assignment occurs only for the first vc, the fbcon_registered_fb and fbcon_display arrays can be desynchronized in fbcon_mode_deleted (the con2fb_map points at the old fb_info).

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=fffb0b52d5258554c645c966c6cbef7de50b851d
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.2.12


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