bisecting fixing commit since 13d2ce42de8cb98ff952f8de6307f896203854c2 building syzkaller on 97183ed760478c5b970c8c549d99c8147a72e293 testing commit 13d2ce42de8cb98ff952f8de6307f896203854c2 with gcc (GCC) 8.1.0 kernel signature: d2a907f41b97b02bbcbfdc3dbec026bae462f984d5a4813264217e00e158d544 all runs: crashed: divide error in squashfs_readpage testing current HEAD 675cc038067f0e530471c56a7442935f84669d95 testing commit 675cc038067f0e530471c56a7442935f84669d95 with gcc (GCC) 8.1.0 kernel signature: 380da0ce9b6c2729b1f28882ebb9b7f43b834238577d2b7ccf4f79761c1111e9 all runs: crashed: divide error in squashfs_readpage revisions tested: 2, total time: 23m2.437629208s (build: 16m41.24202663s, test: 5m44.899039769s) the crash still happens on HEAD commit msg: Linux 4.19.167 crash: divide error in squashfs_readpage IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 divide error: 0000 [#1] PREEMPT SMP KASAN wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 CPU: 1 PID: 9900 Comm: syz-executor.4 Not tainted 4.19.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:fill_meta_index fs/squashfs/file.c:256 [inline] RIP: 0010:read_blocklist fs/squashfs/file.c:345 [inline] RIP: 0010:squashfs_readpage+0x8b4/0x2330 fs/squashfs/file.c:482 Code: 8b 47 c8 31 d2 48 63 8d 2c fe ff ff 48 89 85 90 fe ff ff 48 63 85 78 fe ff ff 48 89 cb 48 c1 e1 0b c1 e3 0b 89 9d 60 fe ff ff <48> f7 f1 85 c0 48 89 85 68 fe ff ff 89 85 8c fe ff ff 0f 8e 22 11 RSP: 0018:ffff8880a15cf588 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff11012ebb62f RDI: ffff8880802cb4c8 RBP: ffff8880a15cf780 R08: ffffea0002026d20 R09: fffff94000404da6 R10: fffff94000404da6 R11: ffffea0002026d37 R12: ffff8880802cb4c0 R13: 00000000000000de R14: 0000000000000099 R15: ffff8880802cb4f8 FS: 00007f9a115e0700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c396dbbb88 CR3: 0000000097dbb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: read_pages+0x2b1/0x510 mm/readahead.c:133 __do_page_cache_readahead+0x353/0x580 mm/readahead.c:211 ra_submit mm/internal.h:66 [inline] ondemand_readahead+0x42b/0xbc0 mm/readahead.c:493 page_cache_sync_readahead+0x1d9/0x3c0 mm/readahead.c:528 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0xf3d/0x2150 mm/filemap.c:2385 call_read_iter include/linux/fs.h:1815 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x440/0x880 fs/read_write.c:418 vfs_read+0xf9/0x2f0 fs/read_write.c:452 kernel_read+0x90/0x130 fs/read_write.c:431 prepare_binprm+0x5bd/0x810 fs/exec.c:1596 __do_execve_file.isra.12+0xe52/0x1d40 fs/exec.c:1815 do_execveat_common fs/exec.c:1879 [inline] do_execveat+0x18/0x20 fs/exec.c:1907 __do_sys_execveat fs/exec.c:1988 [inline] __se_sys_execveat fs/exec.c:1980 [inline] __x64_sys_execveat+0xe2/0x120 fs/exec.c:1980 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e159 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9a115dfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e159 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000119bfd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fff1f5ec74f R14: 00007f9a115e09c0 R15: 000000000119bf8c Modules linked in: divide error: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 9912 Comm: syz-executor.2 Tainted: G D 4.19.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ---[ end trace 0108dd907426002b ]--- RIP: 0010:fill_meta_index fs/squashfs/file.c:256 [inline] RIP: 0010:read_blocklist fs/squashfs/file.c:345 [inline] RIP: 0010:squashfs_readpage+0x8b4/0x2330 fs/squashfs/file.c:482 RIP: 0010:fill_meta_index fs/squashfs/file.c:256 [inline] RIP: 0010:read_blocklist fs/squashfs/file.c:345 [inline] RIP: 0010:squashfs_readpage+0x8b4/0x2330 fs/squashfs/file.c:482 Code: 8b 47 c8 31 d2 48 63 8d 2c fe ff ff 48 89 85 90 fe ff ff 48 63 85 78 fe ff ff 48 89 cb 48 c1 e1 0b c1 e3 0b 89 9d 60 fe ff ff <48> f7 f1 85 c0 48 89 85 68 fe ff ff 89 85 8c fe ff ff 0f 8e 22 11 Code: 8b 47 c8 31 d2 48 63 8d 2c fe ff ff 48 89 85 90 fe ff ff 48 63 85 78 fe ff ff 48 89 cb 48 c1 e1 0b c1 e3 0b 89 9d 60 fe ff ff <48> f7 f1 85 c0 48 89 85 68 fe ff ff 89 85 8c fe ff ff 0f 8e 22 11 RSP: 0018:ffff8880b3d0f588 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff1101314b977 RDI: ffff8880802d3988 RBP: ffff8880b3d0f780 R08: ffffea00020211e0 R09: fffff9400040423e R10: fffff9400040423e R11: ffffea00020211f7 R12: ffff8880802d3980 R13: 00000000000000de R14: 0000000000000099 R15: ffff8880802d39b8 FS: 00007fda1a40e700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e18b0 CR3: 00000000982d2000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RSP: 0018:ffff8880a15cf588 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff11012ebb62f RDI: ffff8880802cb4c8 read_pages+0x2b1/0x510 mm/readahead.c:133 __do_page_cache_readahead+0x353/0x580 mm/readahead.c:211 ra_submit mm/internal.h:66 [inline] ondemand_readahead+0x42b/0xbc0 mm/readahead.c:493 page_cache_sync_readahead+0x1d9/0x3c0 mm/readahead.c:528 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0xf3d/0x2150 mm/filemap.c:2385 call_read_iter include/linux/fs.h:1815 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x440/0x880 fs/read_write.c:418 vfs_read+0xf9/0x2f0 fs/read_write.c:452 kernel_read+0x90/0x130 fs/read_write.c:431 prepare_binprm+0x5bd/0x810 fs/exec.c:1596 __do_execve_file.isra.12+0xe52/0x1d40 fs/exec.c:1815 do_execveat_common fs/exec.c:1879 [inline] do_execveat+0x18/0x20 fs/exec.c:1907 __do_sys_execveat fs/exec.c:1988 [inline] __se_sys_execveat fs/exec.c:1980 [inline] __x64_sys_execveat+0xe2/0x120 fs/exec.c:1980 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e159 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fda1a40dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e159 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000119bfd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffcbec27dcf R14: 00007fda1a40e9c0 R15: 000000000119bf8c Modules linked in: IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready RBP: ffff8880a15cf780 R08: ffffea0002026d20 R09: fffff94000404da6 ieee80211 phy10: Selected rate control algorithm 'minstrel_ht' R10: fffff94000404da6 R11: ffffea0002026d37 R12: ffff8880802cb4c0 Bluetooth: hci0: command 0x0419 tx timeout R13: 00000000000000de R14: 0000000000000099 R15: ffff8880802cb4f8 Bluetooth: hci5: command 0x0419 tx timeout FS: 00007f9a115e0700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 Bluetooth: hci3: command 0x0419 tx timeout CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Bluetooth: hci4: command 0x0419 tx timeout CR2: 00007ffcdb0bac0c CR3: 0000000097dbb000 CR4: 00000000001406e0 Bluetooth: hci1: command 0x0419 tx timeout DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400