u-boot/drivers/virtio
Andrew Scull 43937a4f5e virtio: rng: Check length before copying
Check the length of data written by the device is consistent with the
size of the buffers to avoid out-of-bounds memory accesses in case
values aren't consistent.

Signed-off-by: Andrew Scull <ascull@google.com>
Cc: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-06-08 09:24:04 -04:00
..
Kconfig virtio: pci: Allow exclusion of legacy driver 2022-05-03 15:50:45 -04:00
Makefile virtio: pci: Allow exclusion of legacy driver 2022-05-03 15:50:45 -04:00
virtio_blk.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
virtio_blk.h virtio: Add block driver support 2018-11-14 09:16:27 -08:00
virtio_mmio.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
virtio_mmio.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
virtio_net.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
virtio_net.h virtio: Add net driver support 2018-11-14 09:16:27 -08:00
virtio_pci_legacy.c pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
virtio_pci_modern.c virtio: pci: Make use of dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
virtio_pci.h virtio: Add virtio over pci transport driver 2018-11-14 09:16:28 -08:00
virtio_ring.c virtio_ring: Check used descriptors are chain heads 2022-06-08 09:24:03 -04:00
virtio_rng.c virtio: rng: Check length before copying 2022-06-08 09:24:04 -04:00
virtio_sandbox.c virtio: sandbox: Bind RNG rather than block device 2022-06-08 09:24:04 -04:00
virtio-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00