linux/net/atm
Eric Dumazet d03b79f459 net: atm: fix /proc/net/atm/lec handling
/proc/net/atm/lec must ensure safety against dev_lec[] changes.

It appears it had dev_put() calls without prior dev_hold(),
leading to imbalance and UAF.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com> # Minor atm contributor
Link: https://patch.msgid.link/20250618140844.1686882-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-19 08:36:31 -07:00
..
Kconfig
Makefile
addr.c
addr.h
atm_misc.c
atm_sysfs.c
br2684.c
clip.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
common.c atm: Revert atm_account_tx() if copy_from_iter_full() fails. 2025-06-17 18:42:44 -07:00
common.h
ioctl.c
lec.c net: atm: fix /proc/net/atm/lec handling 2025-06-19 08:36:31 -07:00
lec.h
lec_arpc.h
mpc.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c
pppoatm.c
proc.c
protocols.h
pvc.c
raw.c atm: Revert atm_account_tx() if copy_from_iter_full() fails. 2025-06-17 18:42:44 -07:00
resources.c
resources.h
signaling.c
signaling.h
svc.c