Extracting prog: 3m14.190548358s
Minimizing prog: 16m50.790414812s
Simplifying prog options: 3m40.475746461s
Extracting C: 1m47.58854674s
Simplifying C: 0s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd-setsockopt$SO_TIMESTAMPING-socket$nl_netfilter-sendmsg$IPSET_CMD_LIST-socket$inet6_tcp
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
setsockopt$SO_TIMESTAMPING(0xffffffffffffffff, 0x1, 0x25, 0x0, 0x0)
socket$nl_netfilter(0x10, 0x3, 0xc)
sendmsg$IPSET_CMD_LIST(0xffffffffffffffff, 0x0, 0x80)
socket$inet6_tcp(0xa, 0x1, 0x0)
program did not crash
single: failed to extract reproducer
single: executing 1 programs separately with timeout 1m40s
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd-setsockopt$SO_TIMESTAMPING-socket$nl_netfilter-sendmsg$IPSET_CMD_LIST-socket$inet6_tcp
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
setsockopt$SO_TIMESTAMPING(0xffffffffffffffff, 0x1, 0x25, 0x0, 0x0)
socket$nl_netfilter(0x10, 0x3, 0xc)
sendmsg$IPSET_CMD_LIST(0xffffffffffffffff, 0x0, 0x80)
socket$inet6_tcp(0xa, 0x1, 0x0)
program crashed: general protection fault in rwsem_mark_wake
single: successfully extracted reproducer
found reproducer with 8 syscalls
minimizing guilty program
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd-setsockopt$SO_TIMESTAMPING-socket$nl_netfilter-sendmsg$IPSET_CMD_LIST
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
setsockopt$SO_TIMESTAMPING(0xffffffffffffffff, 0x1, 0x25, 0x0, 0x0)
socket$nl_netfilter(0x10, 0x3, 0xc)
sendmsg$IPSET_CMD_LIST(0xffffffffffffffff, 0x0, 0x80)
program crashed: general protection fault in rwsem_mark_wake
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd-setsockopt$SO_TIMESTAMPING-socket$nl_netfilter
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
setsockopt$SO_TIMESTAMPING(0xffffffffffffffff, 0x1, 0x25, 0x0, 0x0)
socket$nl_netfilter(0x10, 0x3, 0xc)
program crashed: general protection fault in rwsem_mark_wake
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd-setsockopt$SO_TIMESTAMPING
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
setsockopt$SO_TIMESTAMPING(0xffffffffffffffff, 0x1, 0x25, 0x0, 0x0)
program crashed: general protection fault in rwsem_mark_wake
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program crashed: general protection fault in rwsem_mark_wake
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
userfaultfd(0x80001)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(0x0, 0x0, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
extracting C reproducer
testing compiled C program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
program did not crash
simplifying guilty program options
testing program (duration=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program crashed: general protection fault in rwsem_mark_wake
validation run: crashed=true
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program did not crash
validation run: crashed=false
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program crashed: general protection fault in rwsem_mark_wake
validation run: crashed=true
testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): getrandom-pselect6-madvise-userfaultfd
detailed listing:
executing program 0:
getrandom(&(0x7f0000000240)=""/286, 0xffffff9a, 0x0)
pselect6(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x15)
userfaultfd(0x80001)
program crashed: general protection fault in rwsem_mark_wake
validation run: crashed=true
reproducing took 32m4.479390352s
repro crashed as (corrupted=false):
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 6374 Comm: syz.2.67 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:rwsem_mark_wake+0xfa/0x7c0 kernel/locking/rwsem.c:445
Code: 01 00 74 08 4c 89 f7 e8 34 d7 8d 00 4c 89 74 24 10 4d 8b 26 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 75 06 00 00 41 83 3e 00 74 64 4c 89 ef be
RSP: 0018:ffffc90003f37620 EFLAGS: 00010006
RAX: 0000000000000003 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 1ffff920007e6ed0 RSI: ffffffff8e4cd0a5 RDI: ffffffff8c4a6280
RBP: ffffc90003f37720 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520007e6ee0 R12: 0000000000000000
R13: ffff888029b482d0 R14: 0000000000000018 R15: ffffc90003f377e0
FS: 00007f7f4fd0b6c0(0000) GS:ffff888124ee1000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000238000 CR3: 0000000074162000 CR4: 00000000003526f0
Call Trace:
rwsem_del_wake_waiter+0x25d/0x2e0 kernel/locking/rwsem.c:612
rwsem_down_read_slowpath+0x76c/0x940 kernel/locking/rwsem.c:1128
__down_read_common kernel/locking/rwsem.c:1291 [inline]
__down_read_killable kernel/locking/rwsem.c:1314 [inline]
down_read_killable+0x9e/0x340 kernel/locking/rwsem.c:1595
mmap_read_lock_killable+0x1d/0x70 include/linux/mmap_lock.h:601
get_mmap_lock_carefully mm/mmap_lock.c:450 [inline]
lock_mm_and_find_vma+0x2d7/0x340 mm/mmap_lock.c:501
do_user_addr_fault+0x330/0x1340 arch/x86/mm/fault.c:1357
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+0x4a/0x90 arch/x86/lib/copy_user_64.S:74
Code: 4c 04 00 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 73 e8 eb c5 a4 c3 cc cc cc cc 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48
RSP: 0018:ffffc90003f37af8 EFLAGS: 00050246
RAX: ffffffff84b8f801 RBX: ffffc90003f37d20 RCX: 0000000000000040
RDX: 0000000000000000 RSI: ffffc90003f37d20 RDI: 000020000028b000
RBP: ffffc90003f37c70 R08: ffffc90003f37d5f R09: 1ffff920007e6fab
R10: dffffc0000000000 R11: fffff520007e6fac R12: 1ffff920007e6fc5
R13: 000020000028b000 R14: ffffc90003f37e38 R15: 0000000000000040
copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline]
copy_to_user_iter lib/iov_iter.c:25 [inline]
iterate_ubuf include/linux/iov_iter.h:30 [inline]
iterate_and_advance2 include/linux/iov_iter.h:302 [inline]
iterate_and_advance include/linux/iov_iter.h:330 [inline]
_copy_to_iter+0x255/0x17d0 lib/iov_iter.c:197
copy_to_iter include/linux/uio.h:220 [inline]
get_random_bytes_user+0x1cf/0x3d0 drivers/char/random.c:462
__do_sys_getrandom drivers/char/random.c:1410 [inline]
__se_sys_getrandom drivers/char/random.c:1384 [inline]
__x64_sys_getrandom+0x17a/0x270 drivers/char/random.c:1384
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:0x7f7f4ed9c799
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:00007f7f4fd0b028 EFLAGS: 00000246 ORIG_RAX: 000000000000013e
RAX: ffffffffffffffda RBX: 00007f7f4f015fa0 RCX: 00007f7f4ed9c799
RDX: 0000000000000000 RSI: 00000000ffffff9a RDI: 0000200000000240
RBP: 00007f7f4ee32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7f4f016038 R14: 00007f7f4f015fa0 R15: 00007ffe192a71a8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rwsem_mark_wake+0xfa/0x7c0 kernel/locking/rwsem.c:445
Code: 01 00 74 08 4c 89 f7 e8 34 d7 8d 00 4c 89 74 24 10 4d 8b 26 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 75 06 00 00 41 83 3e 00 74 64 4c 89 ef be
RSP: 0018:ffffc90003f37620 EFLAGS: 00010006
RAX: 0000000000000003 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 1ffff920007e6ed0 RSI: ffffffff8e4cd0a5 RDI: ffffffff8c4a6280
RBP: ffffc90003f37720 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520007e6ee0 R12: 0000000000000000
R13: ffff888029b482d0 R14: 0000000000000018 R15: ffffc90003f377e0
FS: 00007f7f4fd0b6c0(0000) GS:ffff888124ee1000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000238000 CR3: 0000000074162000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 01 00 add %eax,(%rax)
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 34 d7 8d 00 call 0x8dd740
c: 4c 89 74 24 10 mov %r14,0x10(%rsp)
11: 4d 8b 26 mov (%r14),%r12
14: 4d 8d 74 24 18 lea 0x18(%r12),%r14
19: 4c 89 f0 mov %r14,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 75 06 00 00 jne 0x6ab
36: 41 83 3e 00 cmpl $0x0,(%r14)
3a: 74 64 je 0xa0
3c: 4c 89 ef mov %r13,%rdi
3f: be .byte 0xbe
final repro crashed as (corrupted=false):
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 6374 Comm: syz.2.67 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:rwsem_mark_wake+0xfa/0x7c0 kernel/locking/rwsem.c:445
Code: 01 00 74 08 4c 89 f7 e8 34 d7 8d 00 4c 89 74 24 10 4d 8b 26 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 75 06 00 00 41 83 3e 00 74 64 4c 89 ef be
RSP: 0018:ffffc90003f37620 EFLAGS: 00010006
RAX: 0000000000000003 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 1ffff920007e6ed0 RSI: ffffffff8e4cd0a5 RDI: ffffffff8c4a6280
RBP: ffffc90003f37720 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520007e6ee0 R12: 0000000000000000
R13: ffff888029b482d0 R14: 0000000000000018 R15: ffffc90003f377e0
FS: 00007f7f4fd0b6c0(0000) GS:ffff888124ee1000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000238000 CR3: 0000000074162000 CR4: 00000000003526f0
Call Trace:
rwsem_del_wake_waiter+0x25d/0x2e0 kernel/locking/rwsem.c:612
rwsem_down_read_slowpath+0x76c/0x940 kernel/locking/rwsem.c:1128
__down_read_common kernel/locking/rwsem.c:1291 [inline]
__down_read_killable kernel/locking/rwsem.c:1314 [inline]
down_read_killable+0x9e/0x340 kernel/locking/rwsem.c:1595
mmap_read_lock_killable+0x1d/0x70 include/linux/mmap_lock.h:601
get_mmap_lock_carefully mm/mmap_lock.c:450 [inline]
lock_mm_and_find_vma+0x2d7/0x340 mm/mmap_lock.c:501
do_user_addr_fault+0x330/0x1340 arch/x86/mm/fault.c:1357
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+0x4a/0x90 arch/x86/lib/copy_user_64.S:74
Code: 4c 04 00 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 73 e8 eb c5 a4 c3 cc cc cc cc 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48
RSP: 0018:ffffc90003f37af8 EFLAGS: 00050246
RAX: ffffffff84b8f801 RBX: ffffc90003f37d20 RCX: 0000000000000040
RDX: 0000000000000000 RSI: ffffc90003f37d20 RDI: 000020000028b000
RBP: ffffc90003f37c70 R08: ffffc90003f37d5f R09: 1ffff920007e6fab
R10: dffffc0000000000 R11: fffff520007e6fac R12: 1ffff920007e6fc5
R13: 000020000028b000 R14: ffffc90003f37e38 R15: 0000000000000040
copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline]
copy_to_user_iter lib/iov_iter.c:25 [inline]
iterate_ubuf include/linux/iov_iter.h:30 [inline]
iterate_and_advance2 include/linux/iov_iter.h:302 [inline]
iterate_and_advance include/linux/iov_iter.h:330 [inline]
_copy_to_iter+0x255/0x17d0 lib/iov_iter.c:197
copy_to_iter include/linux/uio.h:220 [inline]
get_random_bytes_user+0x1cf/0x3d0 drivers/char/random.c:462
__do_sys_getrandom drivers/char/random.c:1410 [inline]
__se_sys_getrandom drivers/char/random.c:1384 [inline]
__x64_sys_getrandom+0x17a/0x270 drivers/char/random.c:1384
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:0x7f7f4ed9c799
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:00007f7f4fd0b028 EFLAGS: 00000246 ORIG_RAX: 000000000000013e
RAX: ffffffffffffffda RBX: 00007f7f4f015fa0 RCX: 00007f7f4ed9c799
RDX: 0000000000000000 RSI: 00000000ffffff9a RDI: 0000200000000240
RBP: 00007f7f4ee32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7f4f016038 R14: 00007f7f4f015fa0 R15: 00007ffe192a71a8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rwsem_mark_wake+0xfa/0x7c0 kernel/locking/rwsem.c:445
Code: 01 00 74 08 4c 89 f7 e8 34 d7 8d 00 4c 89 74 24 10 4d 8b 26 4d 8d 74 24 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 75 06 00 00 41 83 3e 00 74 64 4c 89 ef be
RSP: 0018:ffffc90003f37620 EFLAGS: 00010006
RAX: 0000000000000003 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 1ffff920007e6ed0 RSI: ffffffff8e4cd0a5 RDI: ffffffff8c4a6280
RBP: ffffc90003f37720 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520007e6ee0 R12: 0000000000000000
R13: ffff888029b482d0 R14: 0000000000000018 R15: ffffc90003f377e0
FS: 00007f7f4fd0b6c0(0000) GS:ffff888124ee1000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000238000 CR3: 0000000074162000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 01 00 add %eax,(%rax)
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 34 d7 8d 00 call 0x8dd740
c: 4c 89 74 24 10 mov %r14,0x10(%rsp)
11: 4d 8b 26 mov (%r14),%r12
14: 4d 8d 74 24 18 lea 0x18(%r12),%r14
19: 4c 89 f0 mov %r14,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 75 06 00 00 jne 0x6ab
36: 41 83 3e 00 cmpl $0x0,(%r14)
3a: 74 64 je 0xa0
3c: 4c 89 ef mov %r13,%rdi
3f: be .byte 0xbe