====================================== | xx__-> [ 12.132612][ T11] ================================================================== | [ 12.132842][ T11] BUG: KASAN: slab-use-after-free in cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) | [ 12.133039][ T11] Read of size 8 at addr ffff8880051780f8 by task kworker/u16:0/11 | [ 12.133227][ T11] [ 12.133491][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.133648][ T11] Workqueue: netns cleanup_net [ 12.133784][ T11] Call Trace: [ 12.133881][ T11] [ 12.133953][ T11] dump_stack_lvl (lib/dump_stack.c:123) [ 12.134088][ T11] print_address_description.constprop.0 (mm/kasan/report.c:379) [ 12.134245][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 12.134370][ T11] print_report (mm/kasan/report.c:490) [ 12.134494][ T11] ? kasan_addr_to_slab (./include/linux/mm.h:1294 mm/kasan/../slab.h:211 mm/kasan/common.c:38) [ 12.134617][ T11] kasan_report (mm/kasan/report.c:604) [ 12.134713][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 12.134838][ T11] cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 12.134963][ T11] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 12.135088][ T11] ? __pfx_cleanup_net (net/core/net_namespace.c:592) [ 12.135216][ T11] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 47)) [ 12.135344][ T11] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 12.135468][ T11] ? process_one_work (kernel/workqueue.c:3205) [ 12.135594][ T11] process_one_work (kernel/workqueue.c:3229) [ 12.135720][ T11] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 12.135852][ T11] ? __pfx_process_one_work (kernel/workqueue.c:3131) [ 12.135980][ T11] ? assign_work (kernel/workqueue.c:1200) [ 12.136103][ T11] worker_thread (kernel/workqueue.c:3304 kernel/workqueue.c:3391) [ 12.136230][ T11] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 12.136354][ T11] kthread (kernel/kthread.c:389) [ 12.136450][ T11] ? __pfx_kthread (kernel/kthread.c:342) [ 12.136576][ T11] ret_from_fork (arch/x86/kernel/process.c:147) [ 12.136700][ T11] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: print_report:kasan_report:cleanup_net:process_one_work:worker_thread