ci2 starts bisection 2024-10-27 18:03:45.502649109 +0000 UTC m=+146635.272994104 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: c478b6322c28a2f70fae47a3b3e1def44d65dd03289117995bbf54f84ae1b9e6 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 [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: 4f138b5ae5f15e40642aa43c89886968c0fa35a08da9e7da89827dcc9b8ebe45 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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 [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: d4c487ab128e1bce25ee0ef17e74e4e63f633a352973798dada8d0bfdd95125c 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 [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 kernel signature: 7abeddc0ade2bad6ce6dbc1d6a5815e302d57cf852aa2254cad252bda5b430b9 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 [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 kernel signature: 78d92d6e577c351471e988d8463f37156dffec6657ff85e15fe14c72e8c00cb6 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 [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: 7af84b546eb7967924436b65a11da4d8024114d5f610e2c930e06aec606753a0 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD e5e5644ea27f86a29c84df744a01ea7de65ef800 testing commit e5e5644ea27f86a29c84df744a01ea7de65ef800 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 43638de48556d5286eaa8b51ead5849777abd7c1dc2e633ca26dfe3acafea4fe 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: 1h40m58.034003461s (build: 1h0m9.531002916s, test: 37m48.25599608s) crash still not fixed or there were kernel test errors commit msg: Revert "udf: Avoid excessive partition lengths" 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 ffffc90000222fff by task syz.0.15/472 CPU: 0 PID: 472 Comm: syz.0.15 Not tainted 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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:0x7f7b872d9f39 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:00007f7b86d5b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000af RAX: ffffffffffffffda RBX: 00007f7b87491f80 RCX: 00007f7b872d9f39 RDX: 0000000000000000 RSI: 0000000000000578 RDI: 0000000020000040 RBP: 00007f7b8734c216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7b87491f80 R15: 00007ffdebfa1c48 Memory state around the buggy address: ffffc90000222e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90000222f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90000222f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90000223000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90000223080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== BUG: unable to handle page fault for address: ffffc90000222fff #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 100000067 P4D 100000067 PUD 100119067 PMD 1083d7067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 472 Comm: syz.0.15 Tainted: G B 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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:ffffc90000af7a00 EFLAGS: 00010286 RAX: 0000000000000001 RBX: ffffc900002233c2 RCX: 0000000000000578 RDX: ffffc90000223000 RSI: 0000000000000004 RDI: ffffffff856b99e0 RBP: ffffc90000af7da8 R08: ffffc9000022303c R09: 0000000000000000 R10: fffffbfff0ad733c R11: 0000000000000001 R12: ffffc90000222fff R13: ffffc90000223000 R14: 0000000000000000 R15: 0000000000000578 FS: 00007f7b86d5b6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000222fff CR3: 00000001102d8000 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:0x7f7b872d9f39 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:00007f7b86d5b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000af RAX: ffffffffffffffda RBX: 00007f7b87491f80 RCX: 00007f7b872d9f39 RDX: 0000000000000000 RSI: 0000000000000578 RDI: 0000000020000040 RBP: 00007f7b8734c216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7b87491f80 R15: 00007ffdebfa1c48 Modules linked in: CR2: ffffc90000222fff ---[ end trace c25082402628a70b ]--- 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:ffffc90000af7a00 EFLAGS: 00010286 RAX: 0000000000000001 RBX: ffffc900002233c2 RCX: 0000000000000578 RDX: ffffc90000223000 RSI: 0000000000000004 RDI: ffffffff856b99e0 RBP: ffffc90000af7da8 R08: ffffc9000022303c R09: 0000000000000000 R10: fffffbfff0ad733c R11: 0000000000000001 R12: ffffc90000222fff R13: ffffc90000223000 R14: 0000000000000000 R15: 0000000000000578 FS: 00007f7b86d5b6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000222fff CR3: 00000001102d8000 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