diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-11-11 16:56:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-12 09:42:30 +0100 |
commit | d4548b14dd7e5c698f81ce23ce7b69a896373b45 (patch) | |
tree | b52323fb418e13da819b4d997c8f3b31fa2cbe7a /drivers/tty/serial/sh-sci.h | |
parent | 9b085d6e889076928d307f05cabf76e35db1e63b (diff) |
serial: 8250: 8250_omap: Fix possible array out of bounds access
k3_soc_devices array is missing a sentinel entry which may result in out
of bounds access as reported by kernel KASAN.
Fix this by adding a sentinel entry.
Fixes: 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20201111112653.2710-1-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.h')
0 files changed, 0 insertions, 0 deletions