------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:187! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 32118 Comm: syz-executor.0 Not tainted 6.9.0-rc1-syzkaller #0 Hardware name: ARM-Versatile Express PC is at sg_set_buf include/linux/scatterlist.h:187 [inline] PC is at sg_init_one+0x9c/0xa8 lib/scatterlist.c:143 LR is at sg_init_table+0x2c/0x40 lib/scatterlist.c:128 pc : [<807e8518>] lr : [<807e690c>] psr: 80000113 sp : df9d1ad0 ip : df9d1b08 fp : df9d1aec r10: 00000000 r9 : ffefd004 r8 : ff7e7f1c r7 : 000000f9 r6 : df9d1af0 r5 : a68ddfc8 r4 : ffefd004 r3 : df000000 r2 : ffffffd8 r1 : 00000000 r0 : df9d1af0 Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: ba5f0480 DAC: fffffffd Register r0 information: 2-page vmalloc region starting at 0xdf9d0000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796 Register r1 information: NULL pointer Register r2 information: non-paged memory Register r3 information: non-paged memory Register r4 information: non-paged memory Register r5 information: slab vmap_area start a68ddfc8 pointer offset 0 size 40 Register r6 information: 2-page vmalloc region starting at 0xdf9d0000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796 Register r7 information: non-paged memory Register r8 information: 0-page vmalloc region starting at 0xff7d8000 allocated at pcpu_get_vm_areas+0x0/0x12c8 mm/vmalloc.c:3064 Register r9 information: non-paged memory Register r10 information: NULL pointer Register r11 information: 2-page vmalloc region starting at 0xdf9d0000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796 Register r12 information: 2-page vmalloc region starting at 0xdf9d0000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796 Process syz-executor.0 (pid: 32118, stack limit = 0xdf9d0000) Stack: (0xdf9d1ad0 to 0xdf9d2000) 1ac0: ff7e7efc a68ddfc8 defa4538 841aca80 1ae0: df9d1b4c df9d1af0 804c3dd4 807e8488 00000002 00000000 00000000 00000000 1b00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1b20: 00000020 d094de22 a68ddfc8 00000020 defa4538 843c7a84 843c7a80 843c7a80 1b40: df9d1b74 df9d1b50 804c6a18 804c3d24 defa4538 00000000 df9d1be4 00000000 1b60: 83e88000 83ff8600 df9d1bc4 df9d1b78 804bbbf4 804c68c8 804bd118 802e2798 1b80: df9d1bac 00000000 00100cca 00000000 00000000 d094de22 0387789f 00000020 1ba0: 00100cca 00000000 00000000 df9d1be3 00000027 00000000 df9d1c3c df9d1bc8 1bc0: 804bd614 804bbb58 df9d1be3 00000000 8189a8e8 defa4538 00000027 00000027 1be0: 018a3648 00000000 00000000 00000000 00000000 00000000 00000001 00000000 1c00: df9d1c00 df9d1c00 81875270 d094de22 00000406 00000001 00000000 00000027 1c20: 84142ae0 00100cca 00000000 df9d1d50 df9d1cb4 df9d1c40 804bd968 804bd45c 1c40: 00000000 d094de22 df9d1cb8 df9d1d50 00000000 00000000 df9d1c8c df9d1c68 1c60: 8042e9b0 8042e804 df9d1d50 8260cac8 84142ae0 017c0000 83ff8600 00000000 1c80: df9d1cb4 d094de22 804bcde8 df9d1d50 00000000 00000027 84142ae0 83ff8600 1ca0: 00000000 00000000 df9d1d14 df9d1cb8 8047f368 804bd90c 8049445c 80479d1c 1cc0: df9d1d84 83e88000 00000000 00000000 017c0000 85435b00 df9d1d14 df9d1ce8 1ce0: 83ff8600 804943e4 ad9f0003 00000214 83e88000 017c0000 84142ae0 017c0000 1d00: 85435b00 00000000 df9d1dc4 df9d1d18 80480c4c 8047f174 85435b40 ffffffff 1d20: df9d1d88 017c04e8 81c66394 a4a7ff0c 85435b40 017c0000 017e0fff a4a7ff0c 1d40: 00000000 ffffffff df9d1d50 df9d1e48 84142ae0 00000cc0 000017c0 017c0000 1d60: 017c0000 00000a14 84640058 ba5f0480 00002780 00000000 00000000 00000000 1d80: 00000000 de4635d4 00000000 00000000 df9d1dc4 d094de22 80480308 df9d1e48 1da0: 017c04e8 00000214 00000207 017c0000 85435b00 00000007 df9d1e0c df9d1dc8 1dc0: 80215d94 80480880 df9d1dec df9d1dd8 8189b784 8027b094 df9d1e04 83e88000 1de0: 82c02600 8261d0e0 00000207 017c04e8 df9d1e48 80215c4c 83e88000 00000109 1e00: df9d1e44 df9d1e10 802161dc 80215c58 8080ca8c 00000000 00000000 00000000 1e20: 00000000 81848bcc 00000113 ffffffff df9d1e7c 80200288 df9d1f44 df9d1e48 1e40: 80200ae4 802161b0 df9d1ed0 017c04e8 ffffffe8 00000000 83e88000 df9d1ee0 1e60: df9d1fb0 017c04e0 80200288 83e88000 00000109 df9d1f44 00000018 df9d1e94 1e80: 80426ddc 81848bcc 00000113 ffffffff 8089c028 df9d1ee0 df9d1fb0 80200288 1ea0: 83e88000 df9d1ed0 00000008 00000000 83e88000 80426ddc 83e88000 00000000 1ec0: 00000001 0000c350 0007ad28 00000000 00000000 00000000 00000000 00000000 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f00: 802fb878 dddc7340 00000000 00000000 00000000 d094de22 8089c028 83e88000 1f20: df9d1fb0 80200288 00000109 80200288 83e88000 00000109 df9d1fac df9d1f48 1f40: 8020bc18 80426c54 80307668 802fd80c 00000000 81a04f98 df9d1fa4 df9d1f68 1f60: 803097bc 80307618 00000000 00000000 000f4240 00000000 00000000 d094de22 1f80: 00000000 d094de22 00000000 7ecad534 00000000 00000109 80200288 83e88000 1fa0: 00000000 df9d1fb0 80200088 8020bb2c 00000000 00000000 7ecad53c 7ecad534 1fc0: 00000000 7ecad534 00000000 00000109 00000000 00000000 7ecad670 00001a89 1fe0: 00000000 7ecad530 00000001 0007ad28 20000010 00000000 00000000 00000000 Call trace: [<807e847c>] (sg_init_one) from [<804c3dd4>] (zswap_decompress+0xbc/0x208 mm/zswap.c:1089) r7:841aca80 r6:defa4538 r5:a68ddfc8 r4:ff7e7efc [<804c3d18>] (zswap_decompress) from [<804c6a18>] (zswap_load+0x15c/0x198 mm/zswap.c:1637) r9:843c7a80 r8:843c7a80 r7:843c7a84 r6:defa4538 r5:00000020 r4:a68ddfc8 [<804c68bc>] (zswap_load) from [<804bbbf4>] (swap_read_folio+0xa8/0x498 mm/page_io.c:518) r9:83ff8600 r8:83e88000 r7:00000000 r6:df9d1be4 r5:00000000 r4:defa4538 [<804bbb4c>] (swap_read_folio) from [<804bd614>] (swap_cluster_readahead+0x1c4/0x34c mm/swap_state.c:684) r10:00000000 r9:00000027 r8:df9d1be3 r7:00000000 r6:00000000 r5:00100cca r4:00000020 [<804bd450>] (swap_cluster_readahead) from [<804bd968>] (swapin_readahead+0x68/0x4a8 mm/swap_state.c:904) r10:df9d1d50 r9:00000000 r8:00100cca r7:84142ae0 r6:00000027 r5:00000000 r4:00000001 [<804bd900>] (swapin_readahead) from [<8047f368>] (do_swap_page+0x200/0xcc4 mm/memory.c:4046) r10:00000000 r9:00000000 r8:83ff8600 r7:84142ae0 r6:00000027 r5:00000000 r4:df9d1d50 [<8047f168>] (do_swap_page) from [<80480c4c>] (handle_pte_fault mm/memory.c:5301 [inline]) [<8047f168>] (do_swap_page) from [<80480c4c>] (__handle_mm_fault mm/memory.c:5439 [inline]) [<8047f168>] (do_swap_page) from [<80480c4c>] (handle_mm_fault+0x3d8/0x12b8 mm/memory.c:5604) r10:00000000 r9:85435b00 r8:017c0000 r7:84142ae0 r6:017c0000 r5:83e88000 r4:00000214 [<80480874>] (handle_mm_fault) from [<80215d94>] (do_page_fault+0x148/0x3a8 arch/arm/mm/fault.c:333) r10:00000007 r9:85435b00 r8:017c0000 r7:00000207 r6:00000214 r5:017c04e8 r4:df9d1e48 [<80215c4c>] (do_page_fault) from [<802161dc>] (do_DataAbort+0x38/0xa8 arch/arm/mm/fault.c:565) r10:00000109 r9:83e88000 r8:80215c4c r7:df9d1e48 r6:017c04e8 r5:00000207 r4:8261d0e0 [<802161a4>] (do_DataAbort) from [<80200ae4>] (__dabt_svc+0x44/0x60 arch/arm/kernel/entry-armv.S:212) Exception stack(0xdf9d1e48 to 0xdf9d1e90) 1e40: df9d1ed0 017c04e8 ffffffe8 00000000 83e88000 df9d1ee0 1e60: df9d1fb0 017c04e0 80200288 83e88000 00000109 df9d1f44 00000018 df9d1e94 1e80: 80426ddc 81848bcc 00000113 ffffffff r8:80200288 r7:df9d1e7c r6:ffffffff r5:00000113 r4:81848bcc [<80426c48>] (__rseq_handle_notify_resume) from [<8020bc18>] (rseq_handle_notify_resume include/linux/rseq.h:38 [inline]) [<80426c48>] (__rseq_handle_notify_resume) from [<8020bc18>] (resume_user_mode_work include/linux/resume_user_mode.h:62 [inline]) [<80426c48>] (__rseq_handle_notify_resume) from [<8020bc18>] (do_work_pending+0xf8/0x4c0 arch/arm/kernel/signal.c:631) r10:00000109 r9:83e88000 r8:80200288 r7:00000109 r6:80200288 r5:df9d1fb0 r4:83e88000 [<8020bb20>] (do_work_pending) from [<80200088>] (slow_work_pending+0xc/0x24) Exception stack(0xdf9d1fb0 to 0xdf9d1ff8) 1fa0: 00000000 00000000 7ecad53c 7ecad534 1fc0: 00000000 7ecad534 00000000 00000109 00000000 00000000 7ecad670 00001a89 1fe0: 00000000 7ecad530 00000001 0007ad28 20000010 00000000 r9:83e88000 r8:80200288 r7:00000109 r6:00000000 r5:7ecad534 r4:00000000 Code: 1a000004 e1822003 e8860094 e89da8f0 (e7f001f2) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 1a000004 bne 0x18 4: e1822003 orr r2, r2, r3 8: e8860094 stm r6, {r2, r4, r7} c: e89da8f0 ldm sp, {r4, r5, r6, r7, fp, sp, pc} * 10: e7f001f2 udf #18 <-- trapping instruction