CVE-2026-74424

fbcon: fix NULL pointer dereference for a console without vc_data

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 18, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

fbcon: fix NULL pointer dereference for a console without vc_data

fbcon_new_modelist() runs when a framebuffer's modelist changes. For each console mapped to it with fb_display[i].mode set, it reads vc_cons[i].d and passes the vc_num to fbcon_set_disp(). This assumes a console with a mode set has a vc_data, but it can be NULL. fbcon_set_disp() sets fb_display[i].mode before it checks vc_data, and fbcon_deinit() leaves the mode set after the vc_data is freed. fbcon_new_modelist() then dereferences the NULL vc_data.

Keep fb_display[i].mode set only while the console has a vc_data. Check vc_data before setting the mode in fbcon_set_disp(), and clear the mode in fbcon_deinit(). The existing mode check in fbcon_new_modelist() then skips such consoles.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before 8e9b8b008f4036df0318870c5d754134ff1b94ccAffected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before cc4382dc5134826a3936a6b08de17f7dc7abe232Affected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before 9b783b7e03dc78ec102edf618259a2b55911fc6aAffected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before ac970358c5ca0775841bd2a56ce15dc464b99003Affected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before 6617df8c246311c82cebf061a4cee55b9df60922Affected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before b134ad2f7c06b3c1098dcc95008e2045ff4b49b2Affected
  • d1baa4ffa677bf6986c460fcfd4cdaf8bfe66f0e to before 5fae9a928482d4845bca169a3a098789203a1ca4Affected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.