linux-IllusionX/net/ncsi
Eddie James dd41dab62f net/ncsi: Disable the ncsi work before freeing the associated structure
[ Upstream commit a0ffa68c70b367358b2672cdab6fa5bc4c40de2c ]

The work function can run after the ncsi device is freed, resulting
in use-after-free bugs or kernel panic.

Fixes: 2d283bdd07 ("net/ncsi: Resource management")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://patch.msgid.link/20240925155523.1017097-1-eajames@linux.ibm.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 12:03:01 +02:00
..
internal.h
Kconfig
Makefile
ncsi-aen.c
ncsi-cmd.c
ncsi-manage.c
ncsi-netlink.c
ncsi-netlink.h
ncsi-pkt.h
ncsi-rsp.c