ci2 starts bisection 2025-03-04 10:16:31.743946449 +0000 UTC m=+237320.345907749 bisecting fixing commit since 8d23314f588a573519ab88c332e94c927f870810 building syzkaller on 9314348adf7605682d49192fa6487aac93f5782b ensuring issue is reproducible on original commit 8d23314f588a573519ab88c332e94c927f870810 testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 942aabc7e4cd58c4846a3e512c87837c23a4d60c6c4d293b5f7a9f1491fb08ab all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a5c0a17e28e04d6306a3516aebfc11321a42b1869728a861566967308f1f30d8 all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed kconfig minimization: base=4789 full=6020 leaves diff=243 split chunks (needed=false): <243> split chunk #0 of len 243 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a5e0b143adce7153e717b3ddf58577f80a8e1f1a0e1a12e5a6e19c7115ed8396 all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f250a8c4c605be09cae72ee19f7f9df2f3dfa2c774e78dc94a44dd84a6cb974e all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ae1a0d3712cd2cfafa4ef269d89beaf4abc93715384ccac1e04328a80e17c032 all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3d61ccbb63ce623effe9fe6cf15a60ddec36f53e397268b93be12ccb6c47e0c0 all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 8d23314f588a573519ab88c332e94c927f870810 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 8d23314f588a573519ab88c332e94c927f870810: net/socket.c:1128: undefined reference to `wext_handle_ioctl' net/socket.c:3397: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 47 configs; suspects: [HID_ZEROPLUS USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM USB_XHCI_PCI_RENESAS WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 testing commit 3f5f2283d6843bde6658e93fc50f5f00e5bd3595 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f78999bec5d0de0a4092800e352641fd394b62656bcd0a2d693be6a1bc7833f all runs: crashed: KASAN: vmalloc-out-of-bounds Read in load_module representative crash: KASAN: vmalloc-out-of-bounds Read in load_module, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 2h7m47.055162479s (build: 1h31m5.759299723s, test: 34m21.967389008s) crash still not fixed or there were kernel test errors commit msg: Merge branch 'android13-5.10' into android13-5.10-lts crash: KASAN: vmalloc-out-of-bounds Read in load_module ================================================================== BUG: KASAN: vmalloc-out-of-bounds in elf_validity_check kernel/module.c:3073 [inline] BUG: KASAN: vmalloc-out-of-bounds in load_module+0x93be/0xa5c0 kernel/module.c:4008 Read of size 1 at addr ffffc900005b8fff by task syz.0.15/475 CPU: 1 PID: 475 Comm: syz.0.15 Not tainted 5.10.234-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:452 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:306 elf_validity_check kernel/module.c:3073 [inline] load_module+0x93be/0xa5c0 kernel/module.c:4008 __do_sys_init_module+0x1fb/0x230 kernel/module.c:4226 __se_sys_init_module kernel/module.c:4209 [inline] __x64_sys_init_module+0x6e/0xb0 kernel/module.c:4209 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f399bb76f39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f399b5f8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000af RAX: ffffffffffffffda RBX: 00007f399bd2ef80 RCX: 00007f399bb76f39 RDX: 0000000000000000 RSI: 0000000000000578 RDI: 0000000020000040 RBP: 00007f399bbe9216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f399bd2ef80 R15: 00007ffc60e4fb38 Memory state around the buggy address: ffffc900005b8e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900005b8f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc900005b8f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900005b9000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900005b9080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== BUG: unable to handle page fault for address: ffffc900005b8fff #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 100000067 P4D 100000067 PUD 100112067 PMD 102ba1067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 475 Comm: syz.0.15 Tainted: G B 5.10.234-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:elf_validity_check kernel/module.c:3073 [inline] RIP: 0010:load_module+0x376/0xa5c0 kernel/module.c:4008 Code: 00 00 00 00 fc ff df 4f 8d 64 0d ff 4c 89 e6 48 c1 ee 03 0f b6 04 06 4c 89 e6 83 e6 07 40 38 f0 7f 08 84 c0 0f 85 24 90 00 00 <41> 80 3c 24 00 0f 85 e8 01 00 00 48 8d 7b 04 48 b8 00 00 00 00 00 RSP: 0018:ffffc90000b37a00 EFLAGS: 00010286 RAX: 0000000000000001 RBX: ffffc900005b93c2 RCX: 0000000000000578 RDX: ffffc900005b9000 RSI: 0000000000000004 RDI: ffffffff856bb9e0 RBP: ffffc90000b37da8 R08: ffffc900005b903c R09: 0000000000000000 R10: fffffbfff0ad773c R11: 0000000000000001 R12: ffffc900005b8fff R13: ffffc900005b9000 R14: 0000000000000000 R15: 0000000000000578 FS: 00007f399b5f86c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900005b8fff CR3: 00000001265d2000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_init_module+0x1fb/0x230 kernel/module.c:4226 __se_sys_init_module kernel/module.c:4209 [inline] __x64_sys_init_module+0x6e/0xb0 kernel/module.c:4209 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f399bb76f39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f399b5f8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000af RAX: ffffffffffffffda RBX: 00007f399bd2ef80 RCX: 00007f399bb76f39 RDX: 0000000000000000 RSI: 0000000000000578 RDI: 0000000020000040 RBP: 00007f399bbe9216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f399bd2ef80 R15: 00007ffc60e4fb38 Modules linked in: CR2: ffffc900005b8fff ---[ end trace 42d664bde185618c ]--- RIP: 0010:elf_validity_check kernel/module.c:3073 [inline] RIP: 0010:load_module+0x376/0xa5c0 kernel/module.c:4008 Code: 00 00 00 00 fc ff df 4f 8d 64 0d ff 4c 89 e6 48 c1 ee 03 0f b6 04 06 4c 89 e6 83 e6 07 40 38 f0 7f 08 84 c0 0f 85 24 90 00 00 <41> 80 3c 24 00 0f 85 e8 01 00 00 48 8d 7b 04 48 b8 00 00 00 00 00 RSP: 0018:ffffc90000b37a00 EFLAGS: 00010286 RAX: 0000000000000001 RBX: ffffc900005b93c2 RCX: 0000000000000578 RDX: ffffc900005b9000 RSI: 0000000000000004 RDI: ffffffff856bb9e0 RBP: ffffc90000b37da8 R08: ffffc900005b903c R09: 0000000000000000 R10: fffffbfff0ad773c R11: 0000000000000001 R12: ffffc900005b8fff R13: ffffc900005b9000 R14: 0000000000000000 R15: 0000000000000578 FS: 00007f399b5f86c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900005b8fff CR3: 00000001265d2000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 4f 8d fisttps -0x73(%rdi) 3: 64 0d ff 4c 89 e6 fs or $0xe6894cff,%eax 9: 48 c1 ee 03 shr $0x3,%rsi d: 0f b6 04 06 movzbl (%rsi,%rax,1),%eax 11: 4c 89 e6 mov %r12,%rsi 14: 83 e6 07 and $0x7,%esi 17: 40 38 f0 cmp %sil,%al 1a: 7f 08 jg 0x24 1c: 84 c0 test %al,%al 1e: 0f 85 24 90 00 00 jne 0x9048 * 24: 41 80 3c 24 00 cmpb $0x0,(%r12) <-- trapping instruction 29: 0f 85 e8 01 00 00 jne 0x217 2f: 48 8d 7b 04 lea 0x4(%rbx),%rdi 33: 48 rex.W 34: b8 00 00 00 00 mov $0x0,%eax