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.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <8e9b8b008f4036df0318870c5d754134ff1b94cc; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <cc4382dc5134826a3936a6b08de17f7dc7abe232; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <9b783b7e03dc78ec102edf618259a2b55911fc6a; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <ac970358c5ca0775841bd2a56ce15dc464b99003; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <6617df8c246311c82cebf061a4cee55b9df60922; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <b134ad2f7c06b3c1098dcc95008e2045ff4b49b2; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <5fae9a928482d4845bca169a3a098789203a1ca4; 0 to <5.15.212; 0 to <6.1.178; 0 to <6.6.145; 0 to <6.12.97; 0 to <6.18.40; 0 to <7.1.5
LinuxLinux5.15.212 to <=5.15.*; 6.1.178 to <=6.1.*; 6.6.145 to <=6.6.*; 6.12.97 to <=6.12.*; 6.18.40 to <=6.18.*; 7.1.5 to <=7.1.*; 7.2-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.