Files
linux/drivers/vfio/platform
Alex Williamson ce9ff21ea8 vfio/platform: check the bounds of read/write syscalls
count and offset are passed from user space and not checked, only
offset is capped to 40 bits, which can be used to read/write out of
bounds of the device.

Fixes: 6e3f264560 (“vfio/platform: read and write support for the device fd”)
Cc: [email protected]
Reported-by: Mostafa Saleh <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Reviewed-by: Mostafa Saleh <[email protected]>
Tested-by: Mostafa Saleh <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
2025-01-23 13:13:27 -07:00
..
2023-06-16 12:23:50 -06:00
2023-06-16 12:23:50 -06:00
2023-06-16 12:23:50 -06:00