1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00
serenity/Kernel/Graphics/VirtIOGPU
Liav A b19dc8a9b6 Kernel: Prevent out-of-bounds read/write in VirtIO GPU3DDevice::ioctl
Before doing a check if offset_in_region + num_bytes of the transfer
descriptor are together more than NUM_TRANSFER_REGION_PAGES * PAGE_SIZE,
check that addition of both of these parameters will not simply overflow
which could lead to out-of-bounds read/write.

Fixes #17518.
2023-02-23 09:33:54 +00:00
..
Console.cpp Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
Console.h Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
DisplayConnector.cpp Kernel/Graphics: Restore VirtIO GPU framebuffer console functionality 2022-12-31 05:13:21 -07:00
DisplayConnector.h Kernel: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00
GPU3DDevice.cpp Kernel: Prevent out-of-bounds read/write in VirtIO GPU3DDevice::ioctl 2023-02-23 09:33:54 +00:00
GPU3DDevice.h Kernel/Graphics: Increase VirtIO GPU transfer buffer size to 4MiB 2022-12-26 09:39:20 +01:00
GraphicsAdapter.cpp Kernel/VirtIOGPU: Propagate proper errno codes from query_and_set_edid 2023-02-10 09:14:20 +00:00
GraphicsAdapter.h Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
Protocol.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00