In the Linux kernel, the following vulnerability has been resolved:
fbdev: fix use-after-free in store_modes()
store_modes() replaces a framebuffer's modelist with modes from userspace. On success it frees the old modelist with fb_destroy_modelist(). Two fields still point into that freed list.
One pointer is fb_display[i].mode, the mode a console is using. fbcon_new_modelist() moves these pointers to the new list. It only does so for consoles still mapped to the framebuffer. An unmapped console is skipped and keeps its stale pointer. Unbinding fbcon, for example, sets con2fb_map[i] to -1 but leaves fb_display[i].mode set. An FBIOPUT_VSCREENINFO ioctl with FB_ACTIVATE_INV_MODE later reaches fbcon_mode_deleted(). That function reads the stale fb_display[i].mode through fb_mode_is_equal(). The read is a use-after-free.
The other pointer is fb_info->mode, the current mode. It is set through the mode sysfs attribute. store_modes() does not update fb_info->mode, so it is left pointing into the freed list. show_mode(), the attribute's read handler, dereferences the stale fb_info->mode through mode_string(). The read is a use-after-free.
Clear both pointers before freeing the list. Commit a1f305893074 ("fbcon: Set fb_display[i]->mode to NULL when the mode is released") added the helper fbcon_delete_modelist(). It clears every fb_display[i].mode that points into a given list. So far it is called only from the unregister path. Call it from store_modes() too, and set fb_info->mode to NULL.
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade python3-perf6.18Upgrade kernel6.12-headersUpgrade kernelUpgrade kernel6.12-modules-extra-commonUpgrade kernel-debuginfoUpgrade kernel6.12-toolsUpgrade python3-perf6.18-debuginfoUpgrade kernel-livepatch-6.1.180-225.360Upgrade kernel6.12-debuginfoUpgrade kernel6.12Upgrade bpftool-debuginfoUpgrade bpftool6.12Upgrade kernel-debuginfo-common-x86_64Upgrade kernel6.18-tools-debuginfoUpgrade kernel-modules-extra-commonUpgrade perf6.18-debuginfoUpgrade kernel6.12-tools-develUpgrade kernel-headersUpgrade bpftool6.18Upgrade microvm-kernel6.18Upgrade perf6.12Upgrade kernel6.12-debuginfo-common-x86_64Upgrade bpftool6.18-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.12-modules-extraUpgrade kernel6.18-debuginfoUpgrade perf6.18Upgrade python3-perfUpgrade kernel6.18-develUpgrade kernel-livepatch-6.12.95-124.187Upgrade python3-perf-debuginfoUpgrade kernel6.12-develUpgrade bpftool6.12-debuginfoUpgrade python3-perf6.12-debuginfoUpgrade kernel-tools-debuginfoUpgrade kernel-toolsUpgrade kernel-tools-develUpgrade perf6.12-debuginfoUpgrade kernel6.12-tools-debuginfoUpgrade kernel-modules-extraUpgrade python3-perf6.12Upgrade kernel6.18Upgrade kernel6.18-modules-extra-commonUpgrade perf-debuginfoUpgrade perfUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-toolsUpgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel6.18-modules-extraUpgrade kernel-livepatch-6.18.38-73.137Upgrade kernel-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernel6.18-tools-develUpgrade kernel6.18-headersUpgrade bpftool | Aug 10, 2026 | Jul 19, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-azureUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-gke-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-raspiUpgrade linux-image-nvidia-64kUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-genericUpgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-generic-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-bosUpgrade linux-image-gke-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-gke-64k-7.0Upgrade linux-image-7.0.0-1012-awsUpgrade linux-image-nvidiaUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-oem-26.04aUpgrade linux-image-oem-7.0Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-gcp-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-ibmUpgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-realtime-64kUpgrade linux-image-realtimeUpgrade linux-image-raspi-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-awsUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-gkeUpgrade linux-image-gcpUpgrade linux-image-generic-64k-7.0Upgrade linux-image-oem-26.04bUpgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-azure-lts-26.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-virtualUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-7.0.0-1013-oemUpgrade linux-image-virtual-7.0Upgrade linux-image-aws-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oracleUpgrade linux-image-oracle-7.0 | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub