------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON(tmp < 0): count = 0xfffffffffffffffe, magic = 0xffff888033382850, owner = 0x1, curr 0xffff888076a31e80, list not empty
WARNING: kernel/locking/rwsem.c:1389 at __up_read+0x307/0x6b0 kernel/locking/rwsem.c:1389, CPU#0: syz.4.3921/18476
Modules linked in:
CPU: 0 UID: 0 PID: 18476 Comm: syz.4.3921 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__up_read+0x3f5/0x6b0 kernel/locking/rwsem.c:1389
Code: 8b 49 c7 c2 e0 f3 cc 8b 4c 0f 44 d0 48 8b 7c 24 38 48 c7 c6 60 f6 cc 8b 48 8b 54 24 30 4c 89 f1 4d 89 f8 4c 8b 4c 24 28 41 52 <67> 48 0f b9 3a 48 83 c4 08 e8 8d 37 0b 03 e9 72 fe ff ff 48 8d 1d
RSP: 0018:ffffc90003f87798 EFLAGS: 00010246
RAX: ffffffff8bccf400 RBX: ffff8880333828a8 RCX: ffff888033382850
RDX: fffffffffffffffe RSI: ffffffff8bccf660 RDI: ffffffff90159a90
RBP: ffffc90003f87878 R08: 0000000000000001 R09: ffff888076a31e80
R10: ffffffff8bccf400 R11: ffffed100667050c R12: fffffffffffffffe
R13: 1ffff920007f0efc R14: ffff888033382850 R15: 0000000000000001
FS: 00007fd8f0dd56c0(0000) GS:ffff888125436000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f86e464f1f0 CR3: 000000007787c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
mmap_read_unlock include/linux/mmap_lock.h:619 [inline]
do_user_addr_fault+0xbad/0x1340 arch/x86/mm/fault.c:1413
handle_page_fault arch/x86/mm/fault.c:1474 [inline]
exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1527
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618
RIP: 0010:rep_movs_alternative+0x30/0x90 arch/x86/lib/copy_user_64.S:60
Code: 83 f9 08 73 25 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <48> 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 db 83 f9 08
RSP: 0018:ffffc90003f87a18 EFLAGS: 00050206
RAX: 00007ffffffff001 RBX: 0000000000000038 RCX: 0000000000000038
RDX: 0000000000000001 RSI: 000020000003c000 RDI: ffffc90003f87aa0
RBP: ffffc90003f87c30 R08: ffffc90003f87ad7 R09: 1ffff920007f0f5a
R10: dffffc0000000000 R11: fffff520007f0f5b R12: ffffc90003f87ba0
R13: dffffc0000000000 R14: ffffc90003f87aa0 R15: 000020000003c000
copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:141 [inline]
_inline_copy_from_user include/linux/uaccess.h:185 [inline]
_copy_from_user+0x7a/0xb0 lib/usercopy.c:18
copy_from_user include/linux/uaccess.h:223 [inline]
copy_msghdr_from_user net/socket.c:2595 [inline]
recvmsg_copy_msghdr net/socket.c:2854 [inline]
___sys_recvmsg+0x175/0x590 net/socket.c:2926
do_recvmmsg+0x334/0x800 net/socket.c:3025
__sys_recvmmsg net/socket.c:3099 [inline]
__do_sys_recvmmsg net/socket.c:3122 [inline]
__se_sys_recvmmsg net/socket.c:3115 [inline]
__x64_sys_recvmmsg+0x198/0x250 net/socket.c:3115
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd8f2b9c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd8f0dd5028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fd8f2e16090 RCX: 00007fd8f2b9c799
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007fd8f2c32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd8f2e16128 R14: 00007fd8f2e16090 R15: 00007ffe673f6a68
</TASK>
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 49 c7 c2 e0 f3 cc 8b mov $0xffffffff8bccf3e0,%r10
7: 4c 0f 44 d0 cmove %rax,%r10
b: 48 8b 7c 24 38 mov 0x38(%rsp),%rdi
10: 48 c7 c6 60 f6 cc 8b mov $0xffffffff8bccf660,%rsi
17: 48 8b 54 24 30 mov 0x30(%rsp),%rdx
1c: 4c 89 f1 mov %r14,%rcx
1f: 4d 89 f8 mov %r15,%r8
22: 4c 8b 4c 24 28 mov 0x28(%rsp),%r9
27: 41 52 push %r10
* 29: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2e: 48 83 c4 08 add $0x8,%rsp
32: e8 8d 37 0b 03 call 0x30b37c4
37: e9 72 fe ff ff jmp 0xfffffeae
3c: 48 rex.W
3d: 8d .byte 0x8d
3e: 1d .byte 0x1d