ci2 starts bisection 2023-05-23 18:23:50.907876397 +0000 UTC m=+288402.604780217 bisecting cause commit starting from 270a77dd074c65429c92e5e0b275095ef1b73d32 building syzkaller on 3bb7af1def6b7b99e4c1c9573162eb41b5893cd3 ensuring issue is reproducible on original commit 270a77dd074c65429c92e5e0b275095ef1b73d32 testing commit 270a77dd074c65429c92e5e0b275095ef1b73d32 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fb136362f2c9c475e660c9acec11ff883a4a7461a7617a86db96e2e3f97ea649 all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write testing release v6.1.25 testing commit f17b0ab65d17988d5e6d6fe22f708ef3721080bf gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 92109cb1306a2ae7dd1293ed794e65588fee9466fe605733bed03f859815d925 all runs: OK # git bisect start 270a77dd074c65429c92e5e0b275095ef1b73d32 f17b0ab65d17988d5e6d6fe22f708ef3721080bf Bisecting: 2796 revisions left to test after this (roughly 12 steps) [c0d1ebaba1c57d5a3922fc52b0e8f530cbaaa392] Merge 2d338201d531 ("Merge branch 'akpm' (patches from Andrew)") into android-mainline testing commit c0d1ebaba1c57d5a3922fc52b0e8f530cbaaa392 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1bfeefd6ced76aa4a247801c1b6f14e53c3a34f0b5768bb71bcca69033d0d150 all runs: basic kernel testing failed: UBSAN: object-size-mismatch in wg_xmit # git bisect skip c0d1ebaba1c57d5a3922fc52b0e8f530cbaaa392 Bisecting: 2794 revisions left to test after this (roughly 12 steps) [e930fc6535bfe27b5ee92a74f5941cf538b038e8] FROMLIST: scripts/sorttable: riscv: fix undelcred identifier 'EM_RISCV' error testing commit e930fc6535bfe27b5ee92a74f5941cf538b038e8 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d41734d52c99780c9d4065f2f752efd50dd6b8d44f02d4f27f8e265aeb993c86 all runs: basic kernel testing failed: UBSAN: object-size-mismatch in wg_xmit # git bisect skip e930fc6535bfe27b5ee92a74f5941cf538b038e8 Bisecting: 2794 revisions left to test after this (roughly 12 steps) [479488f5bf3a538fc2d558ead084e4fa0452816a] ANDROID: modpost: Forbid double exports testing commit 479488f5bf3a538fc2d558ead084e4fa0452816a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bb450d461ff70796183b5daea3557b6960a0044cb174d44ae835c98eb51c4ecf run #0: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #1: basic kernel testing failed: UBSAN: object-size-mismatch in wg_xmit run #2: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #3: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #4: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #5: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #6: basic kernel testing failed: UBSAN: object-size-mismatch in wg_xmit run #7: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #8: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #9: basic kernel testing failed: KASAN: use-after-free Read in attach_pid # git bisect skip 479488f5bf3a538fc2d558ead084e4fa0452816a Bisecting: 2794 revisions left to test after this (roughly 12 steps) [9e8fe54a710f4d68063255fcdede18b9489fcd5b] BACKPORT: mm/kmemleak: fix UAF bug in kmemleak_scan() testing commit 9e8fe54a710f4d68063255fcdede18b9489fcd5b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1752b1f4dfa4de9cd131be9e9675c8177567df206804340b786995ad1220e7e8 all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad 9e8fe54a710f4d68063255fcdede18b9489fcd5b Bisecting: 2751 revisions left to test after this (roughly 12 steps) [18afae4adbead95233336a07d24bd94370b6b63d] Revert "Revert "ANDROID: GKI: temporarily disable LTO/CFI"" testing commit 18afae4adbead95233336a07d24bd94370b6b63d gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 28b55f1fb9f26b45a0919b6642966275057051099f31244d21ea101d3a00bed1 all runs: basic kernel testing failed: UBSAN: object-size-mismatch in send4 # git bisect skip 18afae4adbead95233336a07d24bd94370b6b63d Bisecting: 2751 revisions left to test after this (roughly 12 steps) [2866a74576be163115262d67189bd08348b661ef] Merge a74e6a014c9d ("Merge tag 's390-5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux") into android-mainline testing commit 2866a74576be163115262d67189bd08348b661ef gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5cce6032f803842dcb37090334776c2c545c0e55188d38a9900a7a19eb94e682 run #0: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #1: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #2: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #3: basic kernel testing failed: UBSAN: object-size-mismatch in send4 run #4: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #5: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #6: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #7: basic kernel testing failed: KASAN: use-after-free Read in attach_pid run #8: basic kernel testing failed: UBSAN: object-size-mismatch in send4 run #9: basic kernel testing failed: KASAN: use-after-free Read in attach_pid # git bisect skip 2866a74576be163115262d67189bd08348b661ef Bisecting: 2751 revisions left to test after this (roughly 12 steps) [5749a9d6ba095a40e6053e0c9eedbfadc4a915ee] ANDROID: gki_defconfig: sample large page_alloc allocations with HW_TAGS KASAN testing commit 5749a9d6ba095a40e6053e0c9eedbfadc4a915ee gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7aca88c692c17919ad401a7f5010335fc013e6e5e136d48643819a7e8d996822 all runs: OK # git bisect good 5749a9d6ba095a40e6053e0c9eedbfadc4a915ee Bisecting: 482 revisions left to test after this (roughly 9 steps) [2977891dfd4a9415b5a4738240259aa81923fa49] ANDROID: dma-buf: heaps: replace mutex lock with spinlock testing commit 2977891dfd4a9415b5a4738240259aa81923fa49 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aab33feb8a23865fcc6a8824726735d3cdb2bcb17aefb2a9e2910ee2b3a51318 all runs: OK # git bisect good 2977891dfd4a9415b5a4738240259aa81923fa49 Bisecting: 240 revisions left to test after this (roughly 8 steps) [31f15608bb5b21b5daca9d45daf7f3739d68b52c] ANDROID: zram: allow zram to allocate CMA pages testing commit 31f15608bb5b21b5daca9d45daf7f3739d68b52c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47b4d096f34c77157659eac0fab8df0fa889557959176a2cbca9d5fc3ad4ef47 all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad 31f15608bb5b21b5daca9d45daf7f3739d68b52c Bisecting: 120 revisions left to test after this (roughly 7 steps) [db8a6a29f45047c32146e09ee6e34cdf480b9acf] UPSTREAM: PCI: Enable PASID only when ACS RR & UF enabled on upstream path testing commit db8a6a29f45047c32146e09ee6e34cdf480b9acf gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 161159cd23ce2bbeb22f5c40d7519f740424b9fd5ddbe3c00d425e93fcde5ddf all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad db8a6a29f45047c32146e09ee6e34cdf480b9acf Bisecting: 59 revisions left to test after this (roughly 6 steps) [4cf9feacb7e4ba240ae80bebb1643ef7945d2b15] FROMLIST: virt: gunyah: Translate gh_rm_hyp_resource into gunyah_resource testing commit 4cf9feacb7e4ba240ae80bebb1643ef7945d2b15 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b008bf4cbdf80c0b59279b5463c3469724c9dbfcfd2d421e8904df60c1573089 all runs: OK # git bisect good 4cf9feacb7e4ba240ae80bebb1643ef7945d2b15 Bisecting: 29 revisions left to test after this (roughly 5 steps) [ae678a47ee843746e259d2cda0b23b8b175466af] ANDROID: MGLRU: Avoid reactivation of anon pages on swap full testing commit ae678a47ee843746e259d2cda0b23b8b175466af gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 186e89c0389b0cdf589949989d61f5c847c23b1c4cf91348a4940cce9d9217fc all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad ae678a47ee843746e259d2cda0b23b8b175466af Bisecting: 14 revisions left to test after this (roughly 4 steps) [db50ac4d0a402d9f03eb207d8cbe961f3d64e0d8] Merge 6.1.22 into android14-6.1 testing commit db50ac4d0a402d9f03eb207d8cbe961f3d64e0d8 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 884508aacc8f20fdbd56a7c81ff782519cf327cbe0c8139d3eb95ac06f11f49c all runs: OK # git bisect good db50ac4d0a402d9f03eb207d8cbe961f3d64e0d8 Bisecting: 7 revisions left to test after this (roughly 3 steps) [39ed42405e4bffee48fefd61e7385ee1e09f4b9e] UPSTREAM: wifi: nl80211: fix puncturing bitmap policy testing commit 39ed42405e4bffee48fefd61e7385ee1e09f4b9e gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9bb68e04eaf9728d4be1f167df1abf6c9327352b8d91674cd5629c6ecfdc0262 all runs: OK # git bisect good 39ed42405e4bffee48fefd61e7385ee1e09f4b9e Bisecting: 3 revisions left to test after this (roughly 2 steps) [3355e398f35ae44c91aa4143bdef98cfbdff98d8] ANDROID: fuse-bpf: Run bpf with migration disabled testing commit 3355e398f35ae44c91aa4143bdef98cfbdff98d8 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0dce1a494d8549a208a301a84781f46589de029d06138b2352fc3cd6f8973665 all runs: OK # git bisect good 3355e398f35ae44c91aa4143bdef98cfbdff98d8 Bisecting: 1 revision left to test after this (roughly 1 step) [8ff940b3513cbfc569843a6e51bdf3cd2caa6601] ANDROID: incremental fs: Evict inodes before freeing mount data testing commit 8ff940b3513cbfc569843a6e51bdf3cd2caa6601 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8bc17330b458fc4cf1337dc5d889e7b4842d112170fe648ea52eae6ba9b05c50 all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad 8ff940b3513cbfc569843a6e51bdf3cd2caa6601 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b] ANDROID: fsnotify: Notify lower fs of open testing commit c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 761e6227280e63cdbaa80f6aad6ae76738ec6adf78d286708090f3a791384493 all runs: crashed: BUG: unable to handle kernel paging request in fuse_dev_do_write # git bisect bad c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b is the first bad commit commit c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b Author: Daniel Rosenberg Date: Thu May 19 17:04:23 2022 -0700 ANDROID: fsnotify: Notify lower fs of open If the filesystem being watched supports d_canonical_path, notify the lower filesystem of the open as well. Fixes: f37e05049bf8 ("ANDROID: vfs: d_canonical_path for stacked FS") Test: atest CtsOsTestCases:android.os.cts.FileObserverTest Bug: 70706497 Signed-off-by: Daniel Rosenberg Signed-off-by: Paul Lawrence Signed-off-by: Alessio Balsini Change-Id: I7c9d210e8e6ee99928ad9db0b41ffc3ac3371dc0 (cherry picked from commit b289d1706b672f064bbe04c3a8bfb1a5e8ac0923) include/linux/fsnotify.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) culprit signature: 761e6227280e63cdbaa80f6aad6ae76738ec6adf78d286708090f3a791384493 parent signature: 0dce1a494d8549a208a301a84781f46589de029d06138b2352fc3cd6f8973665 revisions tested: 19, total time: 5h53m53.471725465s (build: 3h44m16.036770526s, test: 2h5m13.903887346s) first bad commit: c0b8bfdecfa32e394df30c8ad8dab4ac894d1b0b ANDROID: fsnotify: Notify lower fs of open recipients (to): ["balsini@google.com" "drosen@google.com" "paullawrence@google.com"] recipients (cc): [] crash: BUG: unable to handle kernel paging request in fuse_dev_do_write BUG: unable to handle page fault for address: ffffed10483801ff #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23fff2067 P4D 23fff2067 PUD 23fff0067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 397 Comm: syz-executor.1 Not tainted 6.1.22-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:fuse_dev_do_write+0x34db/0x5490 fs/fuse/dev.c:1938 Code: fc ff df 48 8b 3b 48 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 49 89 fe 0f 85 ac 1b 00 00 8b 1e ff cb 48 01 fb 48 89 d8 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 c2 1b 00 00 c6 03 00 48 8b 44 24 18 80 3c RSP: 0018:ffffc900a1227860 EFLAGS: 00010a07 RAX: 1ffff110483801ff RBX: ffff888241c00fff RCX: ffffffff81ecb35e RDX: dffffc0000000000 RSI: ffffc900c12d79e8 RDI: ffff888141c01000 RBP: ffffc900a1227b90 R08: dffffc0000000000 R09: fffff9400092191f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888129dcabf0 R13: ffff888129dcac00 R14: ffff888141c01000 R15: ffff888129dcabd0 FS: 00007fab4465a700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed10483801ff CR3: 0000000133f9c000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fuse_dev_write+0x128/0x1a0 fs/fuse/dev.c:1988 call_write_iter include/linux/fs.h:2205 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x986/0xcb0 fs/read_write.c:584 ksys_write+0x15c/0x240 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x76/0x80 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fab4388c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fab4465a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fab439ac050 RCX: 00007fab4388c169 RDX: 0000000000000010 RSI: 00000000200042c0 RDI: 0000000000000003 RBP: 00007fab438e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff580b934f R14: 00007fab4465a300 R15: 0000000000022000 Modules linked in: CR2: ffffed10483801ff ---[ end trace 0000000000000000 ]--- RIP: 0010:fuse_dev_do_write+0x34db/0x5490 fs/fuse/dev.c:1938 Code: fc ff df 48 8b 3b 48 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 49 89 fe 0f 85 ac 1b 00 00 8b 1e ff cb 48 01 fb 48 89 d8 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 c2 1b 00 00 c6 03 00 48 8b 44 24 18 80 3c RSP: 0018:ffffc900a1227860 EFLAGS: 00010a07 RAX: 1ffff110483801ff RBX: ffff888241c00fff RCX: ffffffff81ecb35e RDX: dffffc0000000000 RSI: ffffc900c12d79e8 RDI: ffff888141c01000 RBP: ffffc900a1227b90 R08: dffffc0000000000 R09: fffff9400092191f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888129dcabf0 R13: ffff888129dcac00 R14: ffff888141c01000 R15: ffff888129dcabd0 FS: 00007fab4465a700(0000) GS:ffff8881f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed10483801ff CR3: 0000000133f9c000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 48 8b fisttps -0x75(%rax) 3: 3b 48 89 cmp -0x77(%rax),%ecx 6: f0 48 c1 e8 03 lock shr $0x3,%rax b: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax f: 84 c0 test %al,%al 11: 49 89 fe mov %rdi,%r14 14: 0f 85 ac 1b 00 00 jne 0x1bc6 1a: 8b 1e mov (%rsi),%ebx 1c: ff cb dec %ebx 1e: 48 01 fb add %rdi,%rbx 21: 48 89 d8 mov %rbx,%rax 24: 48 c1 e8 03 shr $0x3,%rax * 28: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax <-- trapping instruction 2c: 84 c0 test %al,%al 2e: 0f 85 c2 1b 00 00 jne 0x1bf6 34: c6 03 00 movb $0x0,(%rbx) 37: 48 8b 44 24 18 mov 0x18(%rsp),%rax 3c: 80 .byte 0x80 3d: 3c .byte 0x3c