====================================== | [ 16.393163][ T11] ================================================================== | [ 16.393395][ T11] BUG: KASAN: slab-use-after-free in cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) | [ 16.393588][ T11] Read of size 8 at addr ffff888004d49bf8 by task kworker/u16:0/11 | [ 16.393769][ T11] [ 16.394025][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.394197][ T11] Workqueue: netns cleanup_net [ 16.394343][ T11] Call Trace: [ 16.394438][ T11] [ 16.394504][ T11] dump_stack_lvl (lib/dump_stack.c:123) [ 16.394632][ T11] print_address_description.constprop.0 (mm/kasan/report.c:379) [ 16.394790][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 16.394918][ T11] print_report (mm/kasan/report.c:490) [ 16.395041][ T11] ? kasan_addr_to_slab (./include/linux/mm.h:1294 mm/kasan/../slab.h:211 mm/kasan/common.c:38) [ 16.395166][ T11] kasan_report (mm/kasan/report.c:604) [ 16.395263][ T11] ? cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 16.395389][ T11] cleanup_net (net/core/net_namespace.c:462 net/core/net_namespace.c:661) [ 16.395511][ T11] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 16.395640][ T11] ? __pfx_cleanup_net (net/core/net_namespace.c:592) [ 16.395762][ T11] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 47)) [ 16.395887][ T11] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 16.396010][ T11] ? process_one_work (kernel/workqueue.c:3205) [ 16.396136][ T11] process_one_work (kernel/workqueue.c:3229) [ 16.396263][ T11] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 16.396390][ T11] ? __pfx_process_one_work (kernel/workqueue.c:3131) [ 16.396517][ T11] ? assign_work (kernel/workqueue.c:1200) [ 16.396640][ T11] worker_thread (kernel/workqueue.c:3304 kernel/workqueue.c:3391) [ 16.396767][ T11] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 16.396893][ T11] kthread (kernel/kthread.c:389) [ 16.396991][ T11] ? __pfx_kthread (kernel/kthread.c:342) [ 16.397129][ T11] ret_from_fork (arch/x86/kernel/process.c:147) [ 16.397256][ T11] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: print_report:kasan_report:cleanup_net:process_one_work:worker_thread