netlink: 108 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 108 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 108 bytes leftover after parsing attributes in process `syz-executor.0'. INFO: task syz-executor.0:26924 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.0 D27736 26924 8142 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 pipe_lock_nested fs/pipe.c:77 [inline] pipe_lock fs/pipe.c:85 [inline] pipe_wait+0x1bd/0x1e0 fs/pipe.c:133 pipe_write+0x5c3/0xf80 fs/pipe.c:500 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fcc75e35059 Code: Bad RIP value. RSP: 002b:00007fcc747aa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fcc75f47f60 RCX: 00007fcc75e35059 RDX: 00000000fffffecc RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007fcc75e8f08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1284423f R14: 00007fcc747aa300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1564: #0: 000000008675e7cf (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7815: #0: 0000000017524a25 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/8040: #0: 00000000d17f65f5 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000565a68c0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.0/26924: #0: 0000000040bf7e4b (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:77 [inline] #0: 0000000040bf7e4b (&pipe->mutex/1){+.+.}, at: pipe_lock fs/pipe.c:85 [inline] #0: 0000000040bf7e4b (&pipe->mutex/1){+.+.}, at: pipe_wait+0x1bd/0x1e0 fs/pipe.c:133 3 locks held by syz-executor.0/26960: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1564 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4695 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0xf7e/0x1400 arch/x86/kernel/unwind_orc.c:555 Code: b3 02 00 00 83 e0 07 40 38 c6 41 0f 9e c0 40 84 f6 0f 95 c0 41 84 c0 0f 85 9a 02 00 00 49 0f bf 77 02 4c 89 f7 48 03 74 24 68 ad ee ff ff 84 c0 0f 85 a0 fe ff ff e9 e6 f4 ff ff 49 8d 56 40 RSP: 0018:ffff8880a09275e0 EFLAGS: 00000287 RAX: 0000000000000000 RBX: 1ffff11014124ec5 RCX: ffffffff8bb61c9f RDX: ffff8880a0927750 RSI: ffff8880a0927ac0 RDI: ffff8880a0927710 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880a092776f R11: 0000000000074071 R12: ffff8880a0927af0 R13: ffff8880a0927745 R14: ffff8880a0927710 R15: ffffffff8bb61c9a FS: 00007f6e5bfb78c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e56337000 CR3: 00000000a0fce000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 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_trace+0x11a/0x380 mm/slab.c:3623 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] aa_alloc_file_ctx security/apparmor/include/file.h:60 [inline] apparmor_file_alloc_security+0x394/0xad0 security/apparmor/lsm.c:438 security_file_alloc+0x40/0x90 security/security.c:880 __alloc_file+0xd8/0x340 fs/file_table.c:105 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xe9/0x2df0 fs/namei.c:3526 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6e5b54685d Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffeedf9c910 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffeedf9cc20 RCX: 00007f6e5b54685d RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005654c23a6340 RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff R13: 00005654c2399040 R14: 00007ffeedf9cbe0 R15: 00005654c23a6160 ---------------- Code disassembly (best guess): 0: b3 02 mov $0x2,%bl 2: 00 00 add %al,(%rax) 4: 83 e0 07 and $0x7,%eax 7: 40 38 c6 cmp %al,%sil a: 41 0f 9e c0 setle %r8b e: 40 84 f6 test %sil,%sil 11: 0f 95 c0 setne %al 14: 41 84 c0 test %al,%r8b 17: 0f 85 9a 02 00 00 jne 0x2b7 1d: 49 0f bf 77 02 movswq 0x2(%r15),%rsi 22: 4c 89 f7 mov %r14,%rdi 25: 48 03 74 24 68 add 0x68(%rsp),%rsi * 2a: e8 ad ee ff ff callq 0xffffeedc <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 a0 fe ff ff jne 0xfffffed7 37: e9 e6 f4 ff ff jmpq 0xfffff522 3c: 49 8d 56 40 lea 0x40(%r14),%rdx