8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 0000000e when read [0000000e] *pgd=8540a003, *pmd=df9b2003 Internal error: Oops: 205 [#1] SMP ARM Modules linked in: CPU: 0 UID: 0 PID: 8577 Comm: syz.1.564 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 : [<80889b64>] lr : [<81a4c394>] psr: 20000013 sp : dfb8dde8 ip : dfb8dda8 fp : dfb8de04 r10: 85094c80 r9 : 00000000 r8 : 80000001 r7 : dfb8de20 r6 : 00000000 r5 : 84937100 r4 : 856300c0 r3 : 00000001 r2 : 00000000 r1 : 856b6c80 r0 : 00000000 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 84d21680 DAC: fffffffd Register r0 information: NULL pointer Register r1 information: slab kmalloc-64 start 856b6c80 pointer offset 0 size 64 Register r2 information: NULL pointer Register r3 information: non-paged memory Register r4 information: slab io_kiocb start 856300c0 pointer offset 0 size 192 Register r5 information: slab kmalloc-2k start 84937000 pointer offset 256 size 2048 Register r6 information: NULL pointer Register r7 information: 2-page vmalloc region starting at 0xdfb8c000 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 85094c80 pointer offset 0 size 576 Register r11 information: 2-page vmalloc region starting at 0xdfb8c000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2844 Register r12 information: 2-page vmalloc region starting at 0xdfb8c000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2844 Process syz.1.564 (pid: 8577, stack limit = 0xdfb8c000) Stack: (0xdfb8dde8 to 0xdfb8e000) dde0: 856300c0 84a2e500 00000000 00000040 dfb8de54 dfb8de08 de00: 80892e90 80889b20 84937128 000000e8 85b80000 00000001 01000000 00000000 de20: 00000000 c0db1dea dfb8de54 856300c0 81cf0bd4 00000000 00000000 00000000 de40: 80000001 8546ec00 dfb8de7c dfb8de58 80882314 80892c6c 856300c0 80000001 de60: 0000000a 81cf0b5c 849576c0 00000000 dfb8debc dfb8de80 80886de4 808822d4 de80: 00000000 00000000 00000000 81cf0bd4 00000000 84937000 8563012c 856300c0 dea0: 85b80000 00000000 00000000 8546ec00 dfb8df14 dfb8dec0 808878fc 80886da8 dec0: 8088e2b8 81a4c338 00000000 00000000 00000001 00000001 81cf0b5c 00000001 dee0: 84937000 c0db1dea 84957540 00000000 84937000 000027e2 84957540 00000000 df00: 8546ec00 00000000 dfb8dfa4 dfb8df18 808883a4 808876fc ecac8b10 84937040 df20: 00000000 00000000 81a50110 81a4ffe0 dfb8df54 dfb8df40 8026b438 8029ce24 df40: dfb8dfb0 40000000 dfb8df84 dfb8df58 802229dc 8026b3f4 00000000 8281d05c df60: dfb8dfb0 0014c490 ecac8b10 80222930 00000000 c0db1dea dfb8dfac 00000000 df80: 00000000 002e630c 000001aa 8020029c 8546ec00 000001aa 00000000 dfb8dfa8 dfa0: 80200060 80888278 00000000 00000000 00000006 000027e2 00000000 00000000 dfc0: 00000000 00000000 002e630c 000001aa 002d0000 00000000 00006364 76baa0bc dfe0: 76ba9ec0 76ba9eb0 0001939c 00131f30 60000010 00000006 00000000 00000000 Call trace: [<80889b14>] (io_buffer_select) from [<80892e90>] (io_recvmsg+0x230/0x420 io_uring/net.c:988) r7:00000040 r6:00000000 r5:84a2e500 r4:856300c0 [<80892c60>] (io_recvmsg) from [<80882314>] (__io_issue_sqe+0x4c/0x1c0 io_uring/io_uring.c:1734) r10:8546ec00 r9:80000001 r8:00000000 r7:00000000 r6:00000000 r5:81cf0bd4 r4:856300c0 [<808822c8>] (__io_issue_sqe) from [<80886de4>] (io_issue_sqe+0x48/0x59c io_uring/io_uring.c:1757) r9:00000000 r8:849576c0 r7:81cf0b5c r6:0000000a r5:80000001 r4:856300c0 [<80886d9c>] (io_issue_sqe) from [<808878fc>] (io_queue_sqe io_uring/io_uring.c:1963 [inline]) [<80886d9c>] (io_issue_sqe) from [<808878fc>] (io_submit_sqe io_uring/io_uring.c:2219 [inline]) [<80886d9c>] (io_issue_sqe) from [<808878fc>] (io_submit_sqes+0x20c/0x938 io_uring/io_uring.c:2336) r10:8546ec00 r9:00000000 r8:00000000 r7:85b80000 r6:856300c0 r5:8563012c r4:84937000 [<808876f0>] (io_submit_sqes) from [<808883a4>] (__do_sys_io_uring_enter io_uring/io_uring.c:3396 [inline]) [<808876f0>] (io_submit_sqes) from [<808883a4>] (sys_io_uring_enter+0x138/0x780 io_uring/io_uring.c:3330) r10:00000000 r9:8546ec00 r8:00000000 r7:84957540 r6:000027e2 r5:84937000 r4:00000000 [<8088826c>] (sys_io_uring_enter) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfb8dfa8 to 0xdfb8dff0) dfa0: 00000000 00000000 00000006 000027e2 00000000 00000000 dfc0: 00000000 00000000 002e630c 000001aa 002d0000 00000000 00006364 76baa0bc dfe0: 76ba9ec0 76ba9eb0 0001939c 00131f30 r10:000001aa r9:8546ec00 r8:8020029c r7:000001aa r6:002e630c 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