ci2 starts bisection 2022-08-14 22:36:25.2337993 +0000 UTC m=+177977.136559104 bisecting cause commit starting from 30abcdabf21e73e5f7b5ae0d7bdcfe52ba607731 building syzkaller on 8dfcaa3d2828a113ae780da01f5f73ad64710e31 testing commit 30abcdabf21e73e5f7b5ae0d7bdcfe52ba607731 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5d7a36263b4c4e2d388faa5c7ca3b182d4193101dbee2ec69ec4a41efd72cc74 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in kernfs_name_hash run #2: crashed: general protection fault in kernfs_name_hash run #3: crashed: general protection fault in kernfs_name_hash run #4: crashed: general protection fault in kernfs_name_hash run #5: crashed: general protection fault in del_gendisk run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in kernfs_name_hash run #10: crashed: general protection fault in del_gendisk run #11: crashed: general protection fault in kernfs_name_hash run #12: crashed: general protection fault in del_gendisk run #13: crashed: general protection fault in del_gendisk run #14: crashed: general protection fault in kernfs_name_hash run #15: crashed: general protection fault in del_gendisk run #16: crashed: general protection fault in kernfs_name_hash run #17: crashed: general protection fault in del_gendisk run #18: crashed: general protection fault in kernfs_name_hash run #19: crashed: general protection fault in kernfs_name_hash testing release v5.10.135 testing commit 4fd9cb57a3f5e611efde7772643134385de3a5a6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 748f6f6da14418d7147fdda818be300a24e5f98baf021a154ad902e29d39ee4c all runs: OK # git bisect start 30abcdabf21e73e5f7b5ae0d7bdcfe52ba607731 4fd9cb57a3f5e611efde7772643134385de3a5a6 Bisecting: 3006 revisions left to test after this (roughly 12 steps) [53f83e3aae12d6992cee48ca488e64599a8cc7a2] UPSTREAM: crypto: blake2b - update file comment testing commit 53f83e3aae12d6992cee48ca488e64599a8cc7a2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 40c547c426ce33b5736752af303fd697a40fa05175dadda3ca30f225aefffead all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip 53f83e3aae12d6992cee48ca488e64599a8cc7a2 Bisecting: 3005 revisions left to test after this (roughly 12 steps) [15023db7dc75eaa7803dd7d548b82faa74b4dbc8] UPSTREAM: crypto: arm/blake2b - add NEON-accelerated BLAKE2b testing commit 15023db7dc75eaa7803dd7d548b82faa74b4dbc8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0d4792f6ac3f2dd8b0e36a9fe72f7b6af7e39ac57c99fdcbf35d50350a49fb53 all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip 15023db7dc75eaa7803dd7d548b82faa74b4dbc8 Bisecting: 3005 revisions left to test after this (roughly 12 steps) [64d769e53f2094eb2b39c1de0d920969168dcf12] ANDROID: fips140: add service indicators testing commit 64d769e53f2094eb2b39c1de0d920969168dcf12 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0c38603c466970725e884b36e9bc642308e913e34af8b0c947bb6225d23ded09 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in del_gendisk run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in kernfs_name_hash run #4: crashed: general protection fault in del_gendisk run #5: crashed: general protection fault in del_gendisk run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in del_gendisk run #9: crashed: general protection fault in kernfs_name_hash # git bisect bad 64d769e53f2094eb2b39c1de0d920969168dcf12 Bisecting: 2631 revisions left to test after this (roughly 11 steps) [23776409e4f63ff768b5b0d6ac3f646a88d4cf97] UPSTREAM: xhci: check slot_id is valid before gathering slot info testing commit 23776409e4f63ff768b5b0d6ac3f646a88d4cf97 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 366f668d2e58e6a2b82a8230aaf9774ab8c130a4760e02955b49946320aecaf7 all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip 23776409e4f63ff768b5b0d6ac3f646a88d4cf97 Bisecting: 2631 revisions left to test after this (roughly 11 steps) [897e5dd0f008818020c5feaf9f0ef59766ee9697] ANDROID: GKI: rockchip: Sync symbols testing commit 897e5dd0f008818020c5feaf9f0ef59766ee9697 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 293d4f09a2da817ac17913c90dd5f5d696703322a1ad8e58f643d340bbf93be6 run #0: crashed: general protection fault in kernfs_name_hash run #1: crashed: general protection fault in del_gendisk run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in kernfs_name_hash run #4: crashed: general protection fault in kernfs_name_hash run #5: crashed: general protection fault in kernfs_name_hash run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in kernfs_name_hash run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in kernfs_name_hash # git bisect bad 897e5dd0f008818020c5feaf9f0ef59766ee9697 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [1c2af92b869c363ada8df84340bab033b81e6628] UPSTREAM: psci: Support psci_ops.get_version for v0.1 testing commit 1c2af92b869c363ada8df84340bab033b81e6628 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c2a8d2f7092858b610fe24a4a935b9c3366dc450b78e6fe5375a7c640181eba8 all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip 1c2af92b869c363ada8df84340bab033b81e6628 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [ac71b643388c704592844532881377e274aff004] Revert "powerpc: use non-set_fs based maccess routines" testing commit ac71b643388c704592844532881377e274aff004 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6f25ad39d2d865b15ce868af8673a913de741c33aa5e033a08279c3775c9253a all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip ac71b643388c704592844532881377e274aff004 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [24a918c2cabbe67603e4c262c66d94e4399100e8] ANDROID: Add initial x86_64 gki_defconfig testing commit 24a918c2cabbe67603e4c262c66d94e4399100e8 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: c8c2dc2ad99457967b3c627a13945779561ef80219496a4314846da36d9cd58e run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.66:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.66' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #1: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.53:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.53' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #2: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.54:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.54' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #3: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.55:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.55' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #4: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.56:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.56' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #5: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.57:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.57' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #6: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.25:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #7: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.58:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.58' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #8: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.59:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.10.59' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #9: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.15.192:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.15.192' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system # git bisect skip 24a918c2cabbe67603e4c262c66d94e4399100e8 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [488ee13b2d1be02d7cc3ee11004742a181fcf5a6] ANDROID: gki_defconfig: set CONFIG_STACK_HASH_ORDER to 12 testing commit 488ee13b2d1be02d7cc3ee11004742a181fcf5a6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 471aef09a49250370a84078390bdafc213c187e8a675fa921f476f410c5e46da all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip 488ee13b2d1be02d7cc3ee11004742a181fcf5a6 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [389e2406d348a2f54b9010822e24f1b1886f0f68] ANDROID: staging: android: ion: Expose ion_alloc() to kernel space testing commit 389e2406d348a2f54b9010822e24f1b1886f0f68 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 9ecfd190b023417009b04d3795b31a86f7223b3ab6de9ec0e2dfc38291d6547e run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.53:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.53' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #1: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.7:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.0.7' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #2: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.0.142:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.0.142' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #3: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.83:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.83' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #4: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.86:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.86' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #5: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.99:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.99' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #6: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.102:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.102' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #7: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.106:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.106' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #8: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.107:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.107' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system run #9: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.1.110:./syz-fuzzer"]: exit status 1 Warning: Permanently added '10.128.1.110' (ECDSA) to the list of known hosts. scp: ./syz-fuzzer: Read-only file system # git bisect skip 389e2406d348a2f54b9010822e24f1b1886f0f68 Bisecting: 2560 revisions left to test after this (roughly 11 steps) [ea9acb155e294492eb392087fc09ebe184d0ef6b] FROMLIST: usb: xhci-plat: add xhci_plat_priv_overwrite testing commit ea9acb155e294492eb392087fc09ebe184d0ef6b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fa7218c400aeee442f289e73c8cf39ef95c902071e55e30bd6b1355b42fdefea all runs: basic kernel testing failed: KASAN: use-after-free Read in task_active_pid_ns # git bisect skip ea9acb155e294492eb392087fc09ebe184d0ef6b Bisecting: 2560 revisions left to test after this (roughly 11 steps) [9b136eab76eee8988a8474008aa7a8cfc83be421] ANDROID: pstore/ram: Add backward compatibility for ramoops reserved region testing commit 9b136eab76eee8988a8474008aa7a8cfc83be421 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e0dc4755b190dde75275da66f6c6fc6fb27e5db344ae48772d54f63768e0a251 all runs: OK # git bisect good 9b136eab76eee8988a8474008aa7a8cfc83be421 Bisecting: 138 revisions left to test after this (roughly 7 steps) [70fb50176ed6cd462c373d765e93f27be6a3a6ee] UPSTREAM: kasan, slub: reset tag when printing address testing commit 70fb50176ed6cd462c373d765e93f27be6a3a6ee compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 53db513939341aced958faea68a65bb4eb7ae9e93462dc939af047a20061dd5a run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in kernfs_name_hash run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in kernfs_name_hash run #4: crashed: general protection fault in kernfs_name_hash run #5: crashed: general protection fault in kernfs_name_hash run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in kernfs_name_hash run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in kernfs_name_hash # git bisect bad 70fb50176ed6cd462c373d765e93f27be6a3a6ee Bisecting: 69 revisions left to test after this (roughly 6 steps) [8914725a582861666a2a298efbcb5ae7613a47b7] FROMGIT: usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events testing commit 8914725a582861666a2a298efbcb5ae7613a47b7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5ac2c75f225ac233599f1f9b14f37675640497778e744daca5729717e015a6d8 all runs: OK # git bisect good 8914725a582861666a2a298efbcb5ae7613a47b7 Bisecting: 34 revisions left to test after this (roughly 5 steps) [9f19de4e29e71774d587394d76d331dc6381e6d7] ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus testing commit 9f19de4e29e71774d587394d76d331dc6381e6d7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d571b3fe6b6aa64b32902ff6adf8e425e4ff8dfefb90f3c7f2264e4a821fd94d run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in del_gendisk run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in del_gendisk run #4: crashed: general protection fault in kernfs_name_hash run #5: crashed: general protection fault in kernfs_name_hash run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in kernfs_name_hash run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in del_gendisk # git bisect bad 9f19de4e29e71774d587394d76d331dc6381e6d7 Bisecting: 16 revisions left to test after this (roughly 4 steps) [0ad91fe43286e005bd8efe0bbcb808383f5dbdce] ANDROID: sched: Make uclamp changes depend on CAP_SYS_NICE testing commit 0ad91fe43286e005bd8efe0bbcb808383f5dbdce compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 74fe4e9effad3ce50961a69cda6470e386b1272d635d10b2ba7dca90c42d87b0 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in kernfs_name_hash run #2: crashed: general protection fault in kernfs_name_hash run #3: crashed: general protection fault in del_gendisk run #4: crashed: general protection fault in del_gendisk run #5: crashed: general protection fault in del_gendisk run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in del_gendisk run #9: crashed: general protection fault in del_gendisk # git bisect bad 0ad91fe43286e005bd8efe0bbcb808383f5dbdce Bisecting: 8 revisions left to test after this (roughly 3 steps) [bfc334cc0bdd70d94e63a029af54753f832d3713] FROMGIT: sched: Skip priority checks with SCHED_FLAG_KEEP_PARAMS testing commit bfc334cc0bdd70d94e63a029af54753f832d3713 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: efb29ea4f0203aed71d0839557cdcb7d6984a9b48996d8bda3ce1b77f880c760 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in kernfs_name_hash run #2: crashed: general protection fault in kernfs_name_hash run #3: crashed: general protection fault in del_gendisk run #4: crashed: general protection fault in del_gendisk run #5: crashed: general protection fault in del_gendisk run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in kernfs_name_hash run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in kernfs_name_hash # git bisect bad bfc334cc0bdd70d94e63a029af54753f832d3713 Bisecting: 4 revisions left to test after this (roughly 2 steps) [9520a2129fbeb10150ff8d7e08ed26662a27d334] ANDROID: ABI: Update allowed list for galaxy testing commit 9520a2129fbeb10150ff8d7e08ed26662a27d334 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 94cc57ab39b137d5333efdf03346a91552598744a578f1c41e7f1859eecf962b run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in kernfs_name_hash run #2: crashed: general protection fault in kernfs_name_hash run #3: crashed: general protection fault in del_gendisk run #4: crashed: general protection fault in kernfs_name_hash run #5: crashed: general protection fault in kernfs_name_hash run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in kernfs_name_hash # git bisect bad 9520a2129fbeb10150ff8d7e08ed26662a27d334 Bisecting: 1 revision left to test after this (roughly 1 step) [bda49ad0602e5250a9d3dd61deda19d3e5615c54] FROMGIT: loop: Select I/O scheduler 'none' from inside add_disk() testing commit bda49ad0602e5250a9d3dd61deda19d3e5615c54 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f34bf7530855328252c285ad3bb77c086d7c4e0394fa590ea92934ca82598af0 run #0: crashed: general protection fault in del_gendisk run #1: crashed: general protection fault in del_gendisk run #2: crashed: general protection fault in del_gendisk run #3: crashed: general protection fault in del_gendisk run #4: crashed: general protection fault in del_gendisk run #5: crashed: general protection fault in kernfs_name_hash run #6: crashed: general protection fault in kernfs_name_hash run #7: crashed: general protection fault in del_gendisk run #8: crashed: general protection fault in kernfs_name_hash run #9: crashed: general protection fault in del_gendisk # git bisect bad bda49ad0602e5250a9d3dd61deda19d3e5615c54 Bisecting: 0 revisions left to test after this (roughly 0 steps) [d8b946254effbe36780f0b855da509a07470b8d2] FROMGIT: blk-mq: Introduce the BLK_MQ_F_NO_SCHED_BY_DEFAULT flag testing commit d8b946254effbe36780f0b855da509a07470b8d2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 44fff4d8451c57f24ddfa63c3395c7862c85cc13d6264d6baa37122871097f9e all runs: OK # git bisect good d8b946254effbe36780f0b855da509a07470b8d2 bda49ad0602e5250a9d3dd61deda19d3e5615c54 is the first bad commit commit bda49ad0602e5250a9d3dd61deda19d3e5615c54 Author: Bart Van Assche Date: Mon Aug 2 10:05:29 2021 -0700 FROMGIT: loop: Select I/O scheduler 'none' from inside add_disk() We noticed that the user interface of Android devices becomes very slow under memory pressure. This is because Android uses the zram driver on top of the loop driver for swapping, because under memory pressure the swap code alternates reads and writes quickly, because mq-deadline is the default scheduler for loop devices and because mq-deadline delays writes by five seconds for such a workload with default settings. Fix this by making the kernel select I/O scheduler 'none' from inside add_disk() for loop devices. This default can be overridden at any time from user space, e.g. via a udev rule. This approach has an advantage compared to changing the I/O scheduler from userspace from 'mq-deadline' into 'none', namely that synchronize_rcu() does not get called. Additionally, this patch reduces the Android boot time on my test setup with 0.5 seconds compared to configuring the loop I/O scheduler from user space. Signed-off-by: Bart Van Assche Bug: 194450129 (cherry picked from commit 2112f5c1330a671fa852051d85cb9eadc05d7eb7 git://git.kernel.dk/linux-block/ for-5.15/block) Change-Id: I6f9579b4cd2cb22fcb5c858d4f292f1870336fdd Signed-off-by: Bart Van Assche drivers/block/loop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) culprit signature: f34bf7530855328252c285ad3bb77c086d7c4e0394fa590ea92934ca82598af0 parent signature: 44fff4d8451c57f24ddfa63c3395c7862c85cc13d6264d6baa37122871097f9e revisions tested: 22, total time: 3h16m34.948461919s (build: 1h48m58.634223944s, test: 1h24m6.575908424s) first bad commit: bda49ad0602e5250a9d3dd61deda19d3e5615c54 FROMGIT: loop: Select I/O scheduler 'none' from inside add_disk() recipients (to): ["axboe@kernel.dk" "bvanassche@acm.org" "bvanassche@google.com" "linux-block@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: general protection fault in del_gendisk RBP: 00007f08bdea1189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4bfb7d1f R14: 00007f08bddbd300 R15: 0000000000022000 ---[ end trace 0f756e78014ec09e ]--- general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7] CPU: 1 PID: 430 Comm: syz-executor.0 Tainted: G W 5.10.43-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:kill_device drivers/base/core.c:3354 [inline] RIP: 0010:device_del+0xe3/0xd00 drivers/base/core.c:3382 Code: c1 ea 03 80 3c 02 00 0f 85 c5 0a 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 68 49 8d bc 24 d0 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e a6 09 00 00 41 0f b6 84 24 d0 00 00 RSP: 0018:ffffc900008d7ca0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88810d567068 RCX: ffffffff84262aa9 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffffc900008d7d58 R08: 0000000000000001 R09: ffffc900008d7c3f R10: fffff5200011af87 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88810d567108 R14: fffffbfff0cdf1c8 R15: 0000000000000008 FS: 00007f08bddbd700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08bdf5b0b0 CR3: 000000010c65d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: del_gendisk+0x611/0xa60 block/genhd.c:953 loop_remove drivers/block/loop.c:2194 [inline] loop_control_ioctl drivers/block/loop.c:2293 [inline] loop_control_ioctl+0x30d/0x3d0 drivers/block/loop.c:2259 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x129/0x1a0 fs/ioctl.c:739 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f08bde47279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08bddbd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f08bdf59f80 RCX: 00007f08bde47279 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007f08bdea1189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4bfb7d1f R14: 00007f08bddbd300 R15: 0000000000022000 Modules linked in: ---[ end trace 0f756e78014ec09f ]--- RIP: 0010:kill_device drivers/base/core.c:3354 [inline] RIP: 0010:device_del+0xe3/0xd00 drivers/base/core.c:3382 Code: c1 ea 03 80 3c 02 00 0f 85 c5 0a 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 68 49 8d bc 24 d0 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e a6 09 00 00 41 0f b6 84 24 d0 00 00 RSP: 0018:ffffc900008d7ca0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88810d567068 RCX: ffffffff84262aa9 RDX: 000000000000001a RSI: 0000000000000008 RDI: 00000000000000d0 RBP: ffffc900008d7d58 R08: 0000000000000001 R09: ffffc900008d7c3f R10: fffff5200011af87 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88810d567108 R14: fffffbfff0cdf1c8 R15: 0000000000000008 FS: 00007f08bddbd700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08bdf5b0b0 CR3: 000000010c65d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 c5 0a 00 00 jne 0xad2 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 63 68 mov 0x68(%rbx),%r12 1b: 49 8d bc 24 d0 00 00 lea 0xd0(%r12),%rdi 22: 00 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 06 je 0x38 32: 0f 8e a6 09 00 00 jle 0x9de 38: 41 rex.B 39: 0f .byte 0xf 3a: b6 84 mov $0x84,%dh 3c: 24 d0 and $0xd0,%al