zephyr/drivers
Leandro Pereira 845ac3ef46 drivers: spi: Fix TOCTOU while transceiving SPI messages
To avoid another thread from modifying the spi_buf_set and spi_config
structures passed to the spi_transceive() syscall, copy those to the
kernel stack before validating.

Fixes #7378.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-05-17 07:45:15 +03:00
..
adc drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
aio drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
bluetooth drivers/bluetooth/hci: Name the choice of BT HCI driver bus 2018-05-15 15:11:12 -05:00
clock_control drivers/stm32f0x_ll_clock: Enable SYSCFG in clock_control 2018-05-14 09:45:40 -05:00
console
counter drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
crypto drivers: crypto: crypto_mtls_shim: Set output length for all operations 2018-05-16 23:30:11 +03:00
display
dma drivers/dma: dma_stm32f4x: check stream id boundaries 2018-05-15 15:48:55 -05:00
entropy drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
ethernet
flash drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
gpio drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
grove
i2c drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
i2s drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
ieee802154 boards: dts: Add mcr20a bindings and fix networking samples 2018-05-10 15:43:42 -05:00
interrupt_controller
ipm drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
led
led_strip
net
pci
pinmux
pwm pwm: stm32: Fix type for PMW3 support 2018-05-15 14:48:44 -05:00
rtc drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
sensor drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
serial drivers: serial: Fix race condition in nRF5 UART TX 2018-05-16 18:10:03 +02:00
spi drivers: spi: Fix TOCTOU while transceiving SPI messages 2018-05-17 07:45:15 +03:00
timer drivers: timer: nRFx: Remove redundant code 2018-05-16 10:16:29 +02:00
usb drivers/usb_dc_stm32: Check if SYSCFG is enabled 2018-05-14 09:45:40 -05:00
watchdog drivers: watchdog: Add shim for nrfx WDT driver 2018-05-14 10:28:23 -05:00
wifi
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
Kconfig