resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x16e/0x220 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x23/0x40 kernel/entry/common.c:296 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f4b549 ===================================================== BUG: KMSAN: uninit-value in show_opcodes+0x2c1/0x2e0 arch/x86/kernel/dumpstack.c:123 show_opcodes+0x2c1/0x2e0 arch/x86/kernel/dumpstack.c:123 show_ip arch/x86/kernel/dumpstack.c:144 [inline] show_iret_regs+0xe3/0x230 arch/x86/kernel/dumpstack.c:149 __show_regs+0x31/0xc90 arch/x86/kernel/process_64.c:74 show_regs_if_on_stack+0x45e/0x530 arch/x86/kernel/dumpstack.c:167 show_trace_log_lvl+0x392/0x490 arch/x86/kernel/dumpstack.c:298 show_regs+0xad/0xd0 arch/x86/kernel/dumpstack.c:475 __warn+0x242/0x580 kernel/panic.c:618 report_bug+0x7ff/0xa10 lib/bug.c:198 handle_bug+0x41/0x70 arch/x86/kernel/traps.c:317 exc_invalid_op+0x1b/0x50 arch/x86/kernel/traps.c:338 asm_exc_invalid_op+0x1b/0x20 arch/x86/include/asm/idtentry.h:568 refcount_warn_saturate+0x2ce/0x320 lib/refcount.c:28 __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] kref_put include/linux/kref.h:64 [inline] aa_put_label security/apparmor/include/label.h:444 [inline] apparmor_sk_free_security+0x2da/0x330 security/apparmor/lsm.c:829 security_sk_free+0x6e/0x100 security/security.c:2291 sk_prot_free net/core/sock.c:2062 [inline] __sk_destruct+0x692/0xb10 net/core/sock.c:2152 sk_destruct net/core/sock.c:2167 [inline] __sk_free+0x6f2/0x770 net/core/sock.c:2178 sk_free+0x6c/0xb0 net/core/sock.c:2189 sock_put include/net/sock.h:1980 [inline] pfkey_release+0x410/0x5b0 net/key/af_key.c:186 __sock_release net/socket.c:650 [inline] sock_close+0xdb/0x2d0 net/socket.c:1365 __fput+0x643/0xea0 fs/file_table.c:320 ____fput+0x1a/0x20 fs/file_table.c:348 task_work_run+0x229/0x2c0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x16e/0x220 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x23/0x40 kernel/entry/common.c:296 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable opcodes created at: show_opcodes+0x49/0x2e0 arch/x86/kernel/dumpstack.c:118 show_ip arch/x86/kernel/dumpstack.c:144 [inline] show_iret_regs+0xe3/0x230 arch/x86/kernel/dumpstack.c:149 CPU: 1 PID: 18388 Comm: syz-executor.2 Not tainted 6.1.0-rc2-syzkaller-61955-g4a3e741a3d6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 =====================================================