------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON(tmp < 0): count = 0xfffffffffffffffe, magic = 0xffff888077660f50, owner = 0x1, curr 0xffff88803286bd00, list not empty
WARNING: kernel/locking/rwsem.c:1389 at __up_read+0x307/0x6b0 kernel/locking/rwsem.c:1389, CPU#1: syz.3.655/8430
Modules linked in:
CPU: 1 UID: 0 PID: 8430 Comm: syz.3.655 Not tainted syzkaller #0 PREEMPT(full)
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:ffffc900037379d8 EFLAGS: 00010246
RAX: ffffffff8bccf400 RBX: ffff888077660fa8 RCX: ffff888077660f50
RDX: fffffffffffffffe RSI: ffffffff8bccf660 RDI: ffffffff90159a90
RBP: ffffc90003737ab0 R08: 0000000000000001 R09: ffff88803286bd00
R10: ffffffff8bccf400 R11: ffffed100eecc1ec R12: fffffffffffffffe
R13: 1ffff920006e6f44 R14: ffff888077660f50 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff888125536000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f60a225d8bf CR3: 000000007e842000 CR4: 00000000003526f0
Call Trace:
<TASK>
mmap_read_unlock include/linux/mmap_lock.h:619 [inline]
exit_mm+0x17e/0x250 kernel/exit.c:579
do_exit+0x8b9/0x2490 kernel/exit.c:962
do_group_exit+0x21b/0x2d0 kernel/exit.c:1116
get_signal+0x1284/0x1330 kernel/signal.c:3035
arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:64 [inline]
exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:269 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline]
do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f04c099c799
Code: Unable to access opcode bytes at 0x7f04c099c76f.
RSP: 002b:00007f04c17d1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: 000000000000000b RBX: 00007f04c0c15fa0 RCX: 00007f04c099c799
RDX: 0000000000000318 RSI: 00002000000bd000 RDI: 0000000000000004
RBP: 00007f04c0a32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f04c0c16038 R14: 00007f04c0c15fa0 R15: 00007ffedbec60b8
</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