summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2018-10-31 14:05:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-01 09:46:34 +0100
commita48b4b9cd6714f899f05d2580c7efb3700d744f3 (patch)
treeb5588c7917d78637cee33cf4a6566a0fd173fe7d /include/linux
parent385e1c3bbe57e13115153573747754ca39db80b0 (diff)
can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
commit e7a6994d043a1e31d5b17706a22ce33d2a3e4cdc upstream. If the "struct can_priv::echo_skb" is accessed out of bounds would lead to a kernel crash. Better print a sensible warning message instead and try to recover. Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions