bond0: vlan2 is up - this may be due to an out of date ifenslave ================================================================== BUG: KASAN: use-after-free in debugfs_remove fs/debugfs/inode.c:662 [inline] BUG: KASAN: use-after-free in debugfs_remove+0xef/0x110 fs/debugfs/inode.c:654 Read of size 8 at addr ffff88808497e1e0 by task kworker/0:2/3334 CPU: 0 PID: 3334 Comm: kworker/0:2 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events __blk_release_queue Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2b9 mm/kasan/report.c:393 debugfs_remove fs/debugfs/inode.c:662 [inline] debugfs_remove+0xef/0x110 fs/debugfs/inode.c:654 blk_trace_free+0x31/0x130 kernel/trace/blktrace.c:324 blk_trace_cleanup kernel/trace/blktrace.c:352 [inline] __blk_trace_remove+0x57/0x80 kernel/trace/blktrace.c:365 blk_trace_shutdown+0x77/0xe0 kernel/trace/blktrace.c:767 __blk_release_queue+0x227/0x4b0 block/blk-sysfs.c:830 process_one_work+0x7c0/0x14c0 kernel/workqueue.c:2116 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Allocated by task 13968: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc.part.0+0x4f/0xd0 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 __d_alloc+0x2a/0x9b0 fs/dcache.c:1623 d_alloc+0x46/0x240 fs/dcache.c:1710 __lookup_hash fs/namei.c:1571 [inline] __lookup_hash+0x51/0x180 fs/namei.c:1563 lookup_one_len+0x27c/0x3a0 fs/namei.c:2539 start_creating fs/debugfs/inode.c:314 [inline] start_creating+0xa1/0x1c0 fs/debugfs/inode.c:290 __debugfs_create_file+0x4f/0x3c0 fs/debugfs/inode.c:353 do_blk_trace_setup+0x319/0xad0 kernel/trace/blktrace.c:541 __blk_trace_setup+0xa3/0x120 kernel/trace/blktrace.c:590 blk_trace_ioctl+0x13b/0x260 kernel/trace/blktrace.c:731 blkdev_ioctl+0xe9/0x17c0 block/ioctl.c:580 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb Freed by task 13979: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xaf/0x190 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kmem_cache_free+0x7c/0x2b0 mm/slab.c:3758 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x78d/0x1180 kernel/rcu/tree.c:2946 __do_softirq+0x254/0x9bf kernel/softirq.c:288 The buggy address belongs to the object at ffff88808497e1a0 which belongs to the cache dentry of size 288 The buggy address is located 64 bytes inside of 288-byte region [ffff88808497e1a0, ffff88808497e2c0) The buggy address belongs to the page: page:ffffea0002125f80 count:1 mapcount:0 mapping:ffff88808497e040 index:0x0 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffff88808497e040 0000000000000000 000000010000000b raw: ffffea0002083fe0 ffffea0002125fe0 ffff88821f8bc680 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808497e080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88808497e100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff88808497e180: fc fc fc fc fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88808497e200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88808497e280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ================================================================== Bearer rejected, not supported in standalone mode bond0: vlan2 is up - this may be due to an out of date ifenslave