]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-fix-use-after-free-bugs'
authorJakub Kicinski <kuba@kernel.org>
Thu, 5 Aug 2021 14:29:55 +0000 (07:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Aug 2021 14:29:55 +0000 (07:29 -0700)
commit6bb5318ce501cb744e58105ba56cd5308e75004d
tree0d91afa203ba3073ca16db355728b62ba3d7d30a
parentaf35fc37354cda3c9c8cc4961b1d24bdc9d27903
parent942e560a3d3862dd5dee1411dbdd7097d29b8416
Merge branch 'net-fix-use-after-free-bugs'

Pavel Skripkin says:

====================
net: fix use-after-free bugs

I've added new checker to smatch yesterday. It warns about using
netdev_priv() pointer after free_{netdev,candev}() call. I hope, it will
get into next smatch release.

Some of the reported bugs are fixed and upstreamed already, but Dan ran new
smatch with allmodconfig and found 2 more. Big thanks to Dan for doing it,
because I totally forgot to do it.
====================

Link: https://lore.kernel.org/r/cover.1628091954.git.paskripkin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>