CVE-2025-40323
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 4
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: fbcon: Set fb_display[i]->mode to NULL when the mode is released Recently, we discovered the following issue through syzkaller: BUG: KASAN: slab-use-after-free in fb_mode_is_equal+0x285/0x2f0 Read of size 4 at addr ff11000001b3c69c by task syz.xxx ... Call Trace: <TASK> dump_stack_lvl+0xab/0xe0 print_address_description.constprop.0+0x2c/0x390 print_report+0xb9/0x280 kasan_report+0xb8/0xf0 fb_mode_is_equal+0x285/0x2f0 fbcon_mode_deleted+0x129/0x180 fb_set_var+0xe7f/0x11d0 do_fb_ioctl+0x6a0/0x750 fb_ioctl+0xe0/0x140 __x64_sys_ioctl+0x193/0x210 do_syscall_64+0x5f/0x9c0 entry_SYSCALL_64_after_hwframe+0x76/0x7e Based on experimentation and analysis, during framebuffer unregistration, only the memory of fb_info->modelist is freed, without setting the corresponding fb_display[i]->mode to NULL for the freed modes. This leads to UAF issues during subsequent accesses. Here's an example of reproduction steps: 1. With /dev/fb0 already registered in the system, load a kernel module to register a new device /dev/fb1; 2. Set fb1's mode to the global fb_display[] array (via FBIOPUT_CON2FBMAP); 3. Switch console from fb to VGA (to allow normal rmmod of the ko); 4. Unload the kernel module, at this point fb1's modelist is freed, leaving a wild pointer in fb_display[]; 5. Trigger the bug via system calls through fb0 attempting to delete a mode from fb0. Add a check in do_unregister_framebuffer(): if the mode to be freed exists in fb_display[], set the corresponding mode pointer to NULL.
- Published
- 08.12.2025
- Modified
- 16.10.2026
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
52- Red Hat: RHSA-2026:72468 – RHSA-2026:72468 kernel security update 28.09.2026 · Patch day
- Red Hat: RHSA-2026:72467 – RHSA-2026:72467 kernel-rt security update 28.09.2026 · Patch day
- Red Hat: RHSA-2026:71700 – RHSA-2026:71700 kernel security update 25.09.2026 · Patch day
- Red Hat: RHSA-2026:71602 – RHSA-2026:71602 kernel security update 24.09.2026 · Patch day
- Ubuntu: USN-8668-2 – Linux kernel (Raspberry Pi) vulnerabilities 21.09.2026 · Critical · Patch day
- Ubuntu: USN-8668-1 – Linux kernel (GCP) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8620-4 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-3 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-2 – Linux kernel (Azure FIPS) vulnerabilities 29.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-1 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8610-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-3 – Linux kernel vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8597-1 – Linux kernel (IBM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-2 – Linux kernel (NVIDIA Tegra) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-1 – Linux kernel vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8261-1 – Linux kernel (Xilinx) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8165-1 – Linux kernel (Azure FIPS) vulnerabilities 10.04.2026 · Critical · Patch day
- Ubuntu: USN-8095-5 – Linux kernel (Raspberry Pi) vulnerabilities 01.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20876-1 – Security update for the Linux Kernel 30.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20845-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20872-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- Ubuntu: USN-8126-1 – Linux kernel (Azure) vulnerabilities 25.03.2026 · Critical · Patch day
- Ubuntu: USN-8125-1 – Linux kernel (Azure) vulnerabilities 25.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20794-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20819-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20772-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- Ubuntu: USN-8095-4 – Linux kernel (AWS) vulnerabilities 23.03.2026 · Critical · Patch day
- Ubuntu: USN-8095-3 – Linux kernel (Real-time) vulnerabilities 17.03.2026 · Critical · Patch day
- Ubuntu: USN-8095-2 – Linux kernel (FIPS) vulnerabilities 17.03.2026 · Critical · Patch day
- Ubuntu: USN-8100-1 – Linux kernel (NVIDIA) vulnerabilities 16.03.2026 · Critical · Patch day
- Ubuntu: USN-8095-1 – Linux kernel vulnerabilities 16.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20564-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20498-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20520-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20477-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20479-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- Ubuntu: USN-8029-3 – Linux kernel (Azure) vulnerabilities 24.02.2026 · Critical · Patch day
- Ubuntu: USN-8048-1 – Linux kernel (OEM) vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-2 – Linux kernel vulnerabilities 17.02.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:0473-1 – Security update for the Linux Kernel 12.02.2026 · HIGH · Patch day
- Ubuntu: USN-8030-1 – Linux kernel (GCP) vulnerabilities 12.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-1 – Linux kernel vulnerabilities 12.02.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20220-1 – Security update for the Linux Kernel 05.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20228-1 – Security update for the Linux Kernel 05.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20207-1 – Security update for the Linux Kernel 04.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0315-1 – Security update for the Linux Kernel 28.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0293-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0281-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0278-1 – Security update for the Linux Kernel 23.01.2026 · HIGH · Patch day
- Microsoft: Mariner 16.12.2025 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.