================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_dec_return include/linux/atomic/atomic-instrumented.h:251 [inline] BUG: KASAN: null-ptr-deref in dst_release net/core/dst.c:172 [inline] BUG: KASAN: null-ptr-deref in dst_release+0x26/0xe0 net/core/dst.c:167 Write of size 4 at addr 0000000000000042 by task kworker/u4:0/8 CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:437 [inline] kasan_report.cold+0x66/0xdf mm/kasan/report.c:450 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_dec_return include/linux/atomic/atomic-instrumented.h:251 [inline] dst_release net/core/dst.c:172 [inline] dst_release+0x26/0xe0 net/core/dst.c:167 dst_cache_destroy net/core/dst_cache.c:160 [inline] dst_cache_destroy+0xcb/0x190 net/core/dst_cache.c:152 ip_tunnel_dev_free+0x21/0x60 net/ipv4/ip_tunnel.c:1011 netdev_run_todo+0x6b4/0xa80 net/core/dev.c:9946 ip_tunnel_delete_nets+0x3a4/0x5b0 net/ipv4/ip_tunnel.c:1124 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:171 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ==================================================================