8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 0000000e when read [0000000e] *pgd=85172003, *pmd=e980a003 Internal error: Oops: 205 [#1] SMP ARM Modules linked in: CPU: 1 UID: 0 PID: 24370 Comm: syz.2.4707 Not tainted 6.15.0-rc6-syzkaller #0 PREEMPT Hardware name: ARM-Versatile Express PC is at io_ring_buffer_select io_uring/kbuf.c:163 [inline] PC is at io_buffer_select+0x50/0x18c io_uring/kbuf.c:207 LR is at rcu_read_unlock include/linux/rcupdate.h:873 [inline] LR is at xa_load+0x68/0xa4 lib/xarray.c:1621 pc : [<80889b54>] lr : [<81a4c394>] psr: 20000013 sp : dfbd5de8 ip : dfbd5da8 fp : dfbd5e04 r10: 84c46f00 r9 : 00000000 r8 : 80000001 r7 : dfbd5e20 r6 : 00000000 r5 : 84976900 r4 : 85e6f600 r3 : 00000001 r2 : 00000000 r1 : 84aef400 r0 : 00000000 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 30c5387d Table: 84826900 DAC: 00000000 Register r0 information: NULL pointer Register r1 information: slab kmalloc-64 start 84aef400 pointer offset 0 size 64 Register r2 information: NULL pointer Register r3 information: non-paged memory Register r4 information: slab io_kiocb start 85e6f600 pointer offset 0 size 192 Register r5 information: slab kmalloc-2k start 84976800 pointer offset 256 size 2048 Register r6 information: NULL pointer Register r7 information: 2-page vmalloc region starting at 0xdfbd4000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2844 Register r8 information: non-slab/vmalloc memory Register r9 information: NULL pointer Register r10 information: slab sock_inode_cache start 84c46f00 pointer offset 0 size 576 Register r11 information: 2-page vmalloc region starting at 0xdfbd4000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2844 Register r12 information: 2-page vmalloc region starting at 0xdfbd4000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2844 Process syz.2.4707 (pid: 24370, stack limit = 0xdfbd4000) Stack: (0xdfbd5de8 to 0xdfbd6000) 5de0: 85e6f600 856fb200 00000000 00000040 dfbd5e54 dfbd5e08 5e00: 80892e80 80889b10 84976928 000000e8 85ac0000 00000001 01000000 00000000 5e20: 00000000 b6c7834a dfbd5e54 85e6f600 81cf0bd4 00000000 00000000 00000000 5e40: 80000001 856ed400 dfbd5e7c dfbd5e58 80882304 80892c5c 85e6f600 80000001 5e60: 0000000a 81cf0b5c 84b7ccc0 00000000 dfbd5ebc dfbd5e80 80886dd4 808822c4 5e80: 00000000 00000000 00000000 81cf0bd4 00000000 84976800 85e6f66c 85e6f600 5ea0: 85ac0000 00000000 00000000 856ed400 dfbd5f14 dfbd5ec0 808878ec 80886d98 5ec0: 8088e2a8 81a4c338 00000000 00000000 00000001 00000001 81cf0b5c 00000001 5ee0: 84976800 b6c7834a 84b7c3c0 00000000 84976800 00005b43 84b7c3c0 00000000 5f00: 856ed400 00000000 dfbd5fa4 dfbd5f18 80888394 808876ec ecac8b10 84976840 5f20: 00000000 00000000 81a50110 81a4ffe0 dfbd5f54 dfbd5f40 8026b438 8029ce24 5f40: dfbd5fb0 40000000 dfbd5f84 dfbd5f58 802229dc 8026b3f4 00000000 8281d05c 5f60: dfbd5fb0 0014c490 ecac8b10 80222930 00000000 b6c7834a dfbd5fac 00000000 5f80: 00000000 002e643c 000001aa 8020029c 856ed400 000001aa 00000000 dfbd5fa8 5fa0: 80200060 80888268 00000000 00000000 00000005 00005b43 00000000 00000000 5fc0: 00000000 00000000 002e643c 000001aa 002d0000 00000000 00006364 76b0e0bc 5fe0: 76b0dec0 76b0deb0 0001939c 00131f30 60000010 00000005 00000000 00000000 Call trace: [<80889b04>] (io_buffer_select) from [<80892e80>] (io_recvmsg+0x230/0x420 io_uring/net.c:988) r7:00000040 r6:00000000 r5:856fb200 r4:85e6f600 [<80892c50>] (io_recvmsg) from [<80882304>] (__io_issue_sqe+0x4c/0x1c0 io_uring/io_uring.c:1734) r10:856ed400 r9:80000001 r8:00000000 r7:00000000 r6:00000000 r5:81cf0bd4 r4:85e6f600 [<808822b8>] (__io_issue_sqe) from [<80886dd4>] (io_issue_sqe+0x48/0x59c io_uring/io_uring.c:1757) r9:00000000 r8:84b7ccc0 r7:81cf0b5c r6:0000000a r5:80000001 r4:85e6f600 [<80886d8c>] (io_issue_sqe) from [<808878ec>] (io_queue_sqe io_uring/io_uring.c:1963 [inline]) [<80886d8c>] (io_issue_sqe) from [<808878ec>] (io_submit_sqe io_uring/io_uring.c:2219 [inline]) [<80886d8c>] (io_issue_sqe) from [<808878ec>] (io_submit_sqes+0x20c/0x938 io_uring/io_uring.c:2336) r10:856ed400 r9:00000000 r8:00000000 r7:85ac0000 r6:85e6f600 r5:85e6f66c r4:84976800 [<808876e0>] (io_submit_sqes) from [<80888394>] (__do_sys_io_uring_enter io_uring/io_uring.c:3396 [inline]) [<808876e0>] (io_submit_sqes) from [<80888394>] (sys_io_uring_enter+0x138/0x780 io_uring/io_uring.c:3330) r10:00000000 r9:856ed400 r8:00000000 r7:84b7c3c0 r6:00005b43 r5:84976800 r4:00000000 [<8088825c>] (sys_io_uring_enter) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfbd5fa8 to 0xdfbd5ff0) 5fa0: 00000000 00000000 00000005 00005b43 00000000 00000000 5fc0: 00000000 00000000 002e643c 000001aa 002d0000 00000000 00006364 76b0e0bc 5fe0: 76b0dec0 76b0deb0 0001939c 00131f30 r10:000001aa r9:856ed400 r8:8020029c r7:000001aa r6:002e643c r5:00000000 r4:00000000 Code: e3130001 0a00002f e5910000 e1d120be (e1d030be) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: e3130001 tst r3, #1 4: 0a00002f beq 0xc8 8: e5910000 ldr r0, [r1] c: e1d120be ldrh r2, [r1, #14] * 10: e1d030be ldrh r3, [r0, #14] <-- trapping instruction