netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPVS: ftp: loaded support on port[0] = 21 9pnet: Insufficient options for proto=fd INFO: task syz-executor.3:14991 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D24224 14991 8181 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xb5/0x170 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xd2/0x100 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x52/0x60 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:374 [inline] __sync_dirty_buffer+0x2a6/0x320 fs/buffer.c:3178 REISERFS warning (device loop1): super-6502 reiserfs_getopt: unknown mount option "ÿÿÿÿ" __ext4_handle_dirty_metadata+0x234/0x590 fs/ext4/ext4_jbd2.c:300 ext4_finish_convert_inline_dir fs/ext4/inline.c:1173 [inline] ext4_convert_inline_data_nolock+0x967/0xd10 fs/ext4/inline.c:1249 ext4_try_add_inline_entry+0x338/0x570 fs/ext4/inline.c:1322 ext4_add_entry+0x33c/0xbb0 fs/ext4/namei.c:2117 ext4_mkdir+0x6f5/0xe10 fs/ext4/namei.c:2711 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fad100820f9 Code: Bad RIP value. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. RSP: 002b:00007fad0e5f4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fad101a1f80 RCX: 00007fad100820f9 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000008 RBP: 00007fad100ddae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccd78d97f R14: 00007fad0e5f4300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:2/35: #0: 000000003d98ad68 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000b605fd7a (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000032d18339 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 000000004010eb88 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #3: 000000004010eb88 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by khungtaskd/1569: #0: 00000000cf49ef8f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 2 locks held by kworker/0:2/4385: #0: 000000000f6d6bf3 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000d062394e ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by kworker/u4:6/5630: 1 lock held by in:imklog/7824: #0: 000000006bfbdf97 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u4:7/9424: audit: type=1804 audit(1678052191.279:426): pid=17537 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir415269489/syzkaller.ndlL9k/111/bus" dev="sda1" ino=14697 res=1 2 locks held by kworker/u4:8/9547: 3 locks held by syz-executor.3/14991: #0: 0000000017d738c3 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 0000000017d738c3 (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000ce5104e4 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000ce5104e4 (&type->i_mutex_dir_key#3/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 000000001eebc6d6 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #2: 000000001eebc6d6 (&ei->xattr_sem){++++}, at: ext4_try_add_inline_entry+0xfc/0x570 fs/ext4/inline.c:1280 3 locks held by syz-executor.5/15184: #0: 00000000e88aaac8 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000e88aaac8 (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000aa954869 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000aa954869 (&type->i_mutex_dir_key#3/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 000000000b1fcd4c (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #2: 000000000b1fcd4c (&ei->xattr_sem){++++}, at: ext4_try_add_inline_entry+0xfc/0x570 fs/ext4/inline.c:1280 2 locks held by syz-executor.4/17452: 1 lock held by syz-executor.1/17508: #0: 000000004010eb88 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: 000000004010eb88 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by kworker/u4:10/17538: 1 lock held by syz-executor.5/17549: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1569 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17549 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline] RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0xc8/0x170 mm/kasan/kasan.c:267 Code: 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 e8 <80> 38 00 74 f2 eb d8 41 bc 08 00 00 00 48 89 ea 45 29 dc 4e 8d 5c RSP: 0018:ffff88803519f128 EFLAGS: 00000283 RAX: ffffed1006a33e4f RBX: ffffed1006a33e52 RCX: ffffffff81299566 RDX: ffffed1006a33e52 RSI: 0000000000000060 RDI: ffff88803519f230 RBP: ffffed1006a33e46 R08: 0000000000000001 R09: ffffed1006a33e51 R10: ffff88803519f28f R11: 0000000000000000 R12: 0000000000000060 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88803519f230 FS: 00007f4bf69ec700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557b4b866be8 CR3: 000000009b941000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x20/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:362 [inline] __unwind_start+0x76/0x960 arch/x86/kernel/unwind_orc.c:595 unwind_start arch/x86/include/asm/unwind.h:60 [inline] __save_stack_trace+0x72/0x190 arch/x86/kernel/stacktrace.c:43 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 kmem_cache_zalloc include/linux/slab.h:699 [inline] alloc_buffer_head+0x20/0x130 fs/buffer.c:3372 alloc_page_buffers+0x169/0x5c0 fs/buffer.c:830 create_empty_buffers+0x2c/0x760 fs/buffer.c:1528 create_page_buffers+0x212/0x350 fs/buffer.c:1645 __block_write_begin_int+0x22b/0x17b0 fs/buffer.c:1957 ext4_da_write_begin+0x4e1/0x10e0 fs/ext4/inode.c:3109 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_writev+0x153/0x2e0 fs/read_write.c:1005 do_pwritev+0x1b6/0x270 fs/read_write.c:1094 __do_sys_pwritev2 fs/read_write.c:1153 [inline] __se_sys_pwritev2 fs/read_write.c:1144 [inline] __x64_sys_pwritev2+0xeb/0x150 fs/read_write.c:1144 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4bf84dd0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4bf69ec168 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f4bf85fd1f0 RCX: 00007f4bf84dd0f9 RDX: 0000000000000001 RSI: 0000000020000680 RDI: 0000000000000003 RBP: 00007f4bf8538ae9 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000007400 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3a8b4def R14: 00007f4bf69ec300 R15: 0000000000022000