CVE-2026-43497
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2026
Last modified:
26/06/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
fbdev: udlfb: add vm_ops to dlfb_ops_mmap to prevent use-after-free<br />
<br />
dlfb_ops_mmap() uses remap_pfn_range() to map vmalloc framebuffer pages<br />
to userspace but sets no vm_ops on the VMA. This means the kernel cannot<br />
track active mmaps. When dlfb_realloc_framebuffer() replaces the backing<br />
buffer via FBIOPUT_VSCREENINFO, existing mmap PTEs are not invalidated.<br />
On USB disconnect, dlfb_ops_destroy() calls vfree() on the old pages<br />
while userspace PTEs still reference them, resulting in a use-after-free:<br />
the process retains read/write access to freed kernel pages.<br />
<br />
Add vm_operations_struct with open/close callbacks that maintain an<br />
atomic mmap_count on struct dlfb_data. In dlfb_realloc_framebuffer(),<br />
check mmap_count and return -EBUSY if the buffer is currently mapped,<br />
preventing buffer replacement while userspace holds stale PTEs.<br />
<br />
Tested with PoC using dummy_hcd + raw_gadget USB device emulation.
Impact
Base Score 3.x
7.30
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19 (including) | 5.10.258 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.209 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.175 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.140 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.88 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.30 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/18dd358de72d57993422cbb5dfb29ccd74efe192
- https://git.kernel.org/stable/c/4f312c30f0368e8d2a76aa650dff73f23490b5e7
- https://git.kernel.org/stable/c/5931f5651ee32bd41b3323256b31fcc8e71336ed
- https://git.kernel.org/stable/c/60f711cfd580f86fea8284146ac133804e728f9a
- https://git.kernel.org/stable/c/8de779dc40d35d39fa07387b6f921eb11df0f511
- https://git.kernel.org/stable/c/a2c53a3822ee26e8d758071815b9ed3bf6669fc1
- https://git.kernel.org/stable/c/da9b065cedfd3b574f229d5be594e6aa47a27ae6
- https://git.kernel.org/stable/c/e3d9865dacd7435b8465848428210d0f0c673311



