audit: type=1804 audit(1677008815.242:76): pid=13703 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir2149278918/syzkaller.yCWXaR/103/cgroup.controllers" dev="sda1" ino=13891 res=1 IPVS: persistence engine module ip_vs_pe_ not found ================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 kernel/locking/lockdep.c:3295 Read of size 8 at addr ffff8880a4b403f8 by task syz-executor.1/13601 CPU: 0 PID: 13601 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 ------------[ cut here ]------------ kasan_report mm/kasan/report.c:412 [inline] __asan_report_load8_noabort+0x88/0x90 mm/kasan/report.c:433 ODEBUG: assert_init not available (active state 0) object type: timer_list hint: nr_t1timer_expiry+0x0/0x350 net/netrom/nr_timer.c:55 __lock_acquire+0x2cb4/0x3ff0 kernel/locking/lockdep.c:3295 WARNING: CPU: 1 PID: 13602 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 lib/debugobjects.c:325 Kernel panic - not syncing: panic_on_warn set ... lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_write_lock_bh include/linux/rwlock_api_smp.h:203 [inline] _raw_write_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:312 sock_orphan include/net/sock.h:1801 [inline] nr_release+0x5d/0x360 net/netrom/af_netrom.c:524 __sock_release+0xcd/0x2a0 net/socket.c:599 sock_close+0x15/0x20 net/socket.c:1214 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f993408a0f9 Code: Bad RIP value. RSP: 002b:00007f99325fc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: fffffffffffffffc RBX: 00007f99341a9f80 RCX: 00007f993408a0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f99340e5ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2fdc8d0f R14: 00007f99325fc300 R15: 0000000000022000 CPU: 1 PID: 13602 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Allocated by task 13601: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 Call Trace: kmalloc include/linux/slab.h:520 [inline] sk_prot_alloc+0x1e2/0x2d0 net/core/sock.c:1483 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sk_alloc+0x36/0xec0 net/core/sock.c:1537 nr_create+0xb2/0x5d0 net/netrom/af_netrom.c:436 panic+0x26a/0x50e kernel/panic.c:186 __sock_create+0x3d8/0x740 net/socket.c:1365 sock_create net/socket.c:1416 [inline] __sys_socket+0xef/0x200 net/socket.c:1458 __do_sys_socket net/socket.c:1467 [inline] __se_sys_socket net/socket.c:1465 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1465 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8111: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 sk_prot_free net/core/sock.c:1520 [inline] __sk_destruct+0x684/0x8a0 net/core/sock.c:1602 sk_destruct net/core/sock.c:1617 [inline] __sk_free+0x165/0x3b0 net/core/sock.c:1628 sk_free+0x3b/0x50 net/core/sock.c:1639 sock_put include/net/sock.h:1713 [inline] nr_heartbeat_expiry+0x34f/0x3b0 net/netrom/nr_timer.c:151 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __warn.cold+0x20/0x5a kernel/panic.c:541 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 The buggy address belongs to the object at ffff8880a4b40080 which belongs to the cache kmalloc-2048 of size 2048 report_bug+0x262/0x2b0 lib/bug.c:183 The buggy address is located 888 bytes inside of 2048-byte region [ffff8880a4b40080, ffff8880a4b40880) The buggy address belongs to the page: fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 page:ffffea000292d000 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002bf6588 ffffea000292be88 ffff88813bff0c40 raw: 0000000000000000 ffff8880a4b40080 0000000100000003 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a4b40280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a4b40300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880a4b40380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 ^ RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:325 ffff8880a4b40400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb Code: dd 20 f1 b3 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd 20 f1 b3 88 48 c7 c7 40 e5 b3 88 e8 65 92 7b 04 <0f> 0b 83 05 73 e6 af 07 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89 ffff8880a4b40480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb RSP: 0018:ffff88806e01f7e8 EFLAGS: 00010282 ================================================================== RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 ------------[ cut here ]------------ RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100dc03eef RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff89f90a40 R13: ffffffff815313f0 R14: ffff8880afd969f0 R15: 1ffff1100dc03f08 ODEBUG: assert_init not available (active state 0) object type: timer_list hint: nr_t1timer_expiry+0x0/0x350 net/netrom/nr_timer.c:55 debug_object_assert_init lib/debugobjects.c:694 [inline] debug_object_assert_init+0x1f0/0x2e0 lib/debugobjects.c:665 WARNING: CPU: 0 PID: 13601 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 lib/debugobjects.c:325 Modules linked in: debug_timer_assert_init kernel/time/timer.c:733 [inline] debug_assert_init kernel/time/timer.c:785 [inline] del_timer+0x6d/0x100 kernel/time/timer.c:1210 CPU: 0 PID: 13601 Comm: syz-executor.1 Tainted: G B 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 sk_stop_timer+0x17/0x50 net/core/sock.c:2793 RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:325 nr_disconnect+0x14/0x1c0 net/netrom/nr_subr.c:264 Code: dd 20 f1 b3 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd 20 f1 b3 88 48 c7 c7 40 e5 b3 88 e8 65 92 7b 04 <0f> 0b 83 05 73 e6 af 07 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89 nr_release+0x2c5/0x360 net/netrom/af_netrom.c:532 RSP: 0018:ffff88806e1e77e8 EFLAGS: 00010282 __sock_release+0xcd/0x2a0 net/socket.c:599 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100dc3ceef sock_close+0x15/0x20 net/socket.c:1214 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 __fput+0x2ce/0x890 fs/file_table.c:278 R10: 0000000000000005 R11: ffffffff8c66501b R12: ffffffff89f90a40 task_work_run+0x148/0x1c0 kernel/task_work.c:113 R13: ffffffff815313f0 R14: ffff8880a4b40570 R15: 1ffff1100dc3cf08 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 FS: 00007f99325fc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f993408a0cf CR3: 00000000a5ff7000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_group_exit+0x125/0x310 kernel/exit.c:967 debug_object_assert_init lib/debugobjects.c:694 [inline] debug_object_assert_init+0x1f0/0x2e0 lib/debugobjects.c:665 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 debug_timer_assert_init kernel/time/timer.c:733 [inline] debug_assert_init kernel/time/timer.c:785 [inline] del_timer+0x6d/0x100 kernel/time/timer.c:1210 sk_stop_timer+0x17/0x50 net/core/sock.c:2793 nr_disconnect+0x14/0x1c0 net/netrom/nr_subr.c:264 nr_release+0x2c5/0x360 net/netrom/af_netrom.c:532 __sock_release+0xcd/0x2a0 net/socket.c:599 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 sock_close+0x15/0x20 net/socket.c:1214 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 __fput+0x2ce/0x890 fs/file_table.c:278 entry_SYSCALL_64_after_hwframe+0x49/0xbe task_work_run+0x148/0x1c0 kernel/task_work.c:113 RIP: 0033:0x7f154a8c00f9 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 Code: Bad RIP value. RSP: 002b:00007f1548e32168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: fffffffffffffffc RBX: 00007f154a9dff80 RCX: 00007f154a8c00f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f154a91bae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 do_group_exit+0x125/0x310 kernel/exit.c:967 R13: 00007ffc1963daff R14: 00007f1548e32300 R15: 0000000000022000 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f993408a0f9 Code: Bad RIP value. RSP: 002b:00007f99325fc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: fffffffffffffffc RBX: 00007f99341a9f80 RCX: 00007f993408a0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f99340e5ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2fdc8d0f R14: 00007f99325fc300 R15: 0000000000022000 irq event stamp: 1025646 hardirqs last enabled at (1025646): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (1025645): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1022916): [] read_pnet include/net/net_namespace.h:307 [inline] softirqs last enabled at (1022916): [] sock_net include/net/sock.h:2436 [inline] softirqs last enabled at (1022916): [] netlink_release+0xbcf/0x17b0 net/netlink/af_netlink.c:818 softirqs last disabled at (1025644): [] sock_orphan include/net/sock.h:1801 [inline] softirqs last disabled at (1025644): [] nr_release+0x5d/0x360 net/netrom/af_netrom.c:524 ---[ end trace 81f52ad212185bd5 ]--- Kernel Offset: disabled Rebooting in 86400 seconds..