Files
twx-linux/drivers
Pavel Andrianov 22dc793fda net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
[ Upstream commit 0571a753cb ]

pxa168_eth_remove() firstly calls unregister_netdev(),
then cancels a timeout work. unregister_netdev() shuts down a device
interface and removes it from the kernel tables. If the timeout occurs
in parallel, the timeout work (pxa168_eth_tx_timeout_task) performs stop
and open of the device. It may lead to an inconsistent state and memory
leaks.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Pavel Andrianov <andrianov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-10 13:04:44 +02:00
..
…
2021-03-03 17:44:32 +01:00
…
…
…
…
…
…
…
2021-01-23 15:38:17 +01:00
…
…
…
…
2020-12-29 13:45:00 +01:00
…
…
…
…
…
…
…
…
…
2021-03-07 11:25:57 +01:00
…
2021-04-07 12:05:39 +02:00
…
…
…