====================================== | [ 123.295618][ T11] ================================================================== | [ 123.295886][ T11] BUG: KASAN: slab-use-after-free in cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) | [ 123.296097][ T11] Read of size 8 at addr ffff8880090f80f8 by task kworker/u16:0/11 | [ 123.296301][ T11] [ 123.296579][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 123.296760][ T11] Workqueue: netns cleanup_net [ 123.296910][ T11] Call Trace: [ 123.297016][ T11] [ 123.297093][ T11] dump_stack_lvl (lib/dump_stack.c:123) [ 123.297237][ T11] print_address_description.constprop.0 (mm/kasan/report.c:379) [ 123.297415][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 123.297563][ T11] print_report (mm/kasan/report.c:490) [ 123.297706][ T11] ? kasan_addr_to_slab (./include/linux/mm.h:1294 mm/kasan/../slab.h:211 mm/kasan/common.c:38) [ 123.297849][ T11] kasan_report (mm/kasan/report.c:604) [ 123.297961][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 123.298111][ T11] cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 123.298254][ T11] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 123.298400][ T11] ? __pfx_cleanup_net (net/core/net_namespace.c:592) [ 123.298542][ T11] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 47)) [ 123.298691][ T11] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 123.298837][ T11] ? process_one_work (kernel/workqueue.c:3205) [ 123.298985][ T11] process_one_work (kernel/workqueue.c:3229) [ 123.299134][ T11] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 123.299281][ T11] ? __pfx_process_one_work (kernel/workqueue.c:3131) [ 123.299430][ T11] ? assign_work (kernel/workqueue.c:1200) [ 123.299580][ T11] worker_thread (kernel/workqueue.c:3304 kernel/workqueue.c:3391) [ 123.299733][ T11] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 123.299882][ T11] kthread (kernel/kthread.c:389) [ 123.299993][ T11] ? __pfx_kthread (kernel/kthread.c:342) [ 123.300143][ T11] ret_from_fork (arch/x86/kernel/process.c:147) [ 123.300290][ T11] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: print_report:kasan_report:cleanup_net:process_one_work:worker_thread