CVE-2026-46065: fbdev: defio: Disconnect deferred I/O from the lifetime of struct fb_info
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
fbdev: defio: Disconnect deferred I/O from the lifetime of struct fb_info
Hold state of deferred I/O in struct fb_deferred_io_state. Allocate an instance as part of initializing deferred I/O and remove it only after the final mapping has been closed. If the fb_info and the contained deferred I/O meanwhile goes away, clear struct fb_deferred_io_state.info to invalidate the mapping. Any access will then result in a SIGBUS signal.
Fixes a long-standing problem, where a device hot-unplug happens while user space still has an active mapping of the graphics memory. The hot- unplug frees the instance of struct fb_info. Accessing the memory will operate on undefined state.
The Linux kernel CVE team has assigned CVE-2026-46065 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.22 with commit 60b59beafba875aef6d378078bce0baf2287ae14 and fixed in 6.6.140 with commit 2a40f8bc9bb713329f1c35ffc199ee961a7135b0 Issue introduced in 2.6.22 with commit 60b59beafba875aef6d378078bce0baf2287ae14 and fixed in 6.12.88 with commit 2b53d3a52e8e5403a4f4fb57ac6cad3fd2cb1066 Issue introduced in 2.6.22 with commit 60b59beafba875aef6d378078bce0baf2287ae14 and fixed in 6.18.30 with commit 25c2b77bc463f29ee71a54b883548baf9386a0db Issue introduced in 2.6.22 with commit 60b59beafba875aef6d378078bce0baf2287ae14 and fixed in 7.0.4 with commit a0aafb421dd15e935d81543152617f2742cefa70 Issue introduced in 2.6.22 with commit 60b59beafba875aef6d378078bce0baf2287ae14 and fixed in 7.1-rc1 with commit 9ded47ad003f09a94b6a710b5c47f4aa5ceb7429
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-46065
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/video/fbdev/core/fb_defio.c
include/linux/fb.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/2a40f8bc9bb713329f1c35ffc199ee961a7135b0 https://git.kernel.org/stable/c/2b53d3a52e8e5403a4f4fb57ac6cad3fd2cb1066 https://git.kernel.org/stable/c/25c2b77bc463f29ee71a54b883548baf9386a0db https://git.kernel.org/stable/c/a0aafb421dd15e935d81543152617f2742cefa70 https://git.kernel.org/stable/c/9ded47ad003f09a94b6a710b5c47f4aa5ceb7429