bisecting fixing commit since 4fa56ad0d12e24df768c98bffe9039f915d1bc02 building syzkaller on 6a81331a1d4c744da9204d02ec88d558f7eea9c9 testing commit 4fa56ad0d12e24df768c98bffe9039f915d1bc02 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4b3ace5209d8f9fff96116bb71638e1c7036cd97c3498f344d8663e316f5dc91 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: general protection fault in try_to_wake_up run #2: crashed: general protection fault in try_to_wake_up run #3: crashed: general protection fault in try_to_wake_up run #4: crashed: general protection fault in try_to_wake_up run #5: crashed: general protection fault in try_to_wake_up run #6: crashed: general protection fault in try_to_wake_up run #7: crashed: general protection fault in try_to_wake_up run #8: crashed: general protection fault in try_to_wake_up run #9: crashed: general protection fault in try_to_wake_up run #10: crashed: general protection fault in try_to_wake_up run #11: crashed: general protection fault in try_to_wake_up run #12: crashed: general protection fault in try_to_wake_up run #13: crashed: general protection fault in try_to_wake_up run #14: crashed: general protection fault in try_to_wake_up run #15: crashed: general protection fault in try_to_wake_up run #16: crashed: general protection fault in try_to_wake_up run #17: crashed: general protection fault in try_to_wake_up run #18: crashed: general protection fault in try_to_wake_up run #19: crashed: general protection fault in try_to_wake_up testing current HEAD b81b1829e7e39f6cebdf6e4d5484eacbceda8554 testing commit b81b1829e7e39f6cebdf6e4d5484eacbceda8554 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 698028843507d267c5bf1a1222996a8bfe3704a87456157ea183d343279c8814 all runs: OK # git bisect start b81b1829e7e39f6cebdf6e4d5484eacbceda8554 4fa56ad0d12e24df768c98bffe9039f915d1bc02 Bisecting: 37840 revisions left to test after this (roughly 15 steps) [4cd67adc44a3ccdb3b8526c9f932f905284e028f] Merge tag 'misc-habanalabs-next-2021-09-01' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into char-misc-next testing commit 4cd67adc44a3ccdb3b8526c9f932f905284e028f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip 4cd67adc44a3ccdb3b8526c9f932f905284e028f Bisecting: 37840 revisions left to test after this (roughly 15 steps) [660729e494b6ee64feb97b41f3092c32a41c7dae] drm/bridge: fix LONTIUM_LT8912B dependencies testing commit 660729e494b6ee64feb97b41f3092c32a41c7dae compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cc8eba4e4ef33a5338cf7393b1e202bca1acd70996461244109cfb582c53877a all runs: OK # git bisect bad 660729e494b6ee64feb97b41f3092c32a41c7dae Bisecting: 928 revisions left to test after this (roughly 10 steps) [1539f71602edf09bb33666afddc5a781c42e768d] Merge tag 'drm-misc-next-2021-04-01' of git://anongit.freedesktop.org/drm/drm-misc into drm-next testing commit 1539f71602edf09bb33666afddc5a781c42e768d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 886c43caef7509165353115e2def6bf80ceca3d298020f9090ac93785ab46fb7 run #0: crashed: WARNING in kvm_wait run #1: crashed: general protection fault in try_to_wake_up run #2: crashed: general protection fault in try_to_wake_up run #3: crashed: general protection fault in try_to_wake_up run #4: crashed: general protection fault in try_to_wake_up run #5: crashed: general protection fault in try_to_wake_up run #6: crashed: general protection fault in try_to_wake_up run #7: crashed: general protection fault in try_to_wake_up run #8: crashed: general protection fault in try_to_wake_up run #9: boot failed: WARNING in kvm_wait # git bisect good 1539f71602edf09bb33666afddc5a781c42e768d Bisecting: 565 revisions left to test after this (roughly 9 steps) [cd951b3971cdc1f8c76b075f2c97ff357bf141e2] Merge tag 'amd-drm-next-5.13-2021-04-12' of https://gitlab.freedesktop.org/agd5f/linux into drm-next testing commit cd951b3971cdc1f8c76b075f2c97ff357bf141e2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2b0be3ae89fa36f7e8030ee98b59a413a0be9849e5c2e9a1f56bd471d9d535c3 run #0: basic kernel testing failed: WARNING in kvm_wait run #1: crashed: general protection fault in try_to_wake_up run #2: crashed: general protection fault in try_to_wake_up run #3: crashed: general protection fault in try_to_wake_up run #4: crashed: general protection fault in try_to_wake_up run #5: crashed: general protection fault in try_to_wake_up run #6: boot failed: WARNING in kvm_wait run #7: boot failed: WARNING in kvm_wait run #8: boot failed: WARNING in kvm_wait run #9: boot failed: WARNING in kvm_wait # git bisect good cd951b3971cdc1f8c76b075f2c97ff357bf141e2 Bisecting: 283 revisions left to test after this (roughly 8 steps) [9288e1f7d396b7702649d78f2c711c3e0020c71d] Merge tag 'perf-tools-fixes-for-v5.12-2020-04-09' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit 9288e1f7d396b7702649d78f2c711c3e0020c71d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d0269da8f5524ec31acfb7801d23f5cd7f22cc2a68785729e47bf557679b3bda run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #1: crashed: general protection fault in try_to_wake_up run #2: crashed: general protection fault in try_to_wake_up run #3: crashed: general protection fault in try_to_wake_up run #4: crashed: general protection fault in try_to_wake_up run #5: crashed: general protection fault in try_to_wake_up run #6: crashed: general protection fault in try_to_wake_up run #7: crashed: general protection fault in try_to_wake_up run #8: crashed: general protection fault in try_to_wake_up run #9: crashed: general protection fault in try_to_wake_up # git bisect good 9288e1f7d396b7702649d78f2c711c3e0020c71d Bisecting: 157 revisions left to test after this (roughly 7 steps) [a1a1ca70deb3ec600eeabb21de7f3f48aaae5695] Merge tag 'drm-misc-next-fixes-2021-04-22' of git://anongit.freedesktop.org/drm/drm-misc into drm-next testing commit a1a1ca70deb3ec600eeabb21de7f3f48aaae5695 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7bff29d290695d0e4d2c5f3e4904a5f53bee2eb0efe546d073c74cd4dbbc70d5 all runs: OK # git bisect bad a1a1ca70deb3ec600eeabb21de7f3f48aaae5695 Bisecting: 62 revisions left to test after this (roughly 6 steps) [2ad52bdb220de5ab348098e3482b01235d15a842] drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal testing commit 2ad52bdb220de5ab348098e3482b01235d15a842 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 62cf80205b0fd150a5d0aaf376aadd32cd702a48c92530bbd083515d931fa24d run #0: crashed: general protection fault in try_to_wake_up run #1: crashed: general protection fault in try_to_wake_up run #2: crashed: general protection fault in try_to_wake_up run #3: crashed: general protection fault in try_to_wake_up run #4: crashed: general protection fault in try_to_wake_up run #5: crashed: general protection fault in try_to_wake_up run #6: crashed: general protection fault in try_to_wake_up run #7: crashed: general protection fault in try_to_wake_up run #8: crashed: general protection fault in try_to_wake_up run #9: boot failed: WARNING in kvm_wait # git bisect good 2ad52bdb220de5ab348098e3482b01235d15a842 Bisecting: 30 revisions left to test after this (roughly 5 steps) [95c7b07551879c8ad4d6dca10c02de46ddbf55a8] Merge tag 'powerpc-5.12-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux testing commit 95c7b07551879c8ad4d6dca10c02de46ddbf55a8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 89c7fdf8d931db4cd21343edd4d8ad5913aa3b13986aebddfaf8e718564e7c22 all runs: OK # git bisect bad 95c7b07551879c8ad4d6dca10c02de46ddbf55a8 Bisecting: 15 revisions left to test after this (roughly 4 steps) [12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4] Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux testing commit 12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fea230384413cce32fba40f74a7f00f109e0708be431ad5da8494acc4289c753 all runs: crashed: general protection fault in try_to_wake_up # git bisect good 12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4 Bisecting: 6 revisions left to test after this (roughly 3 steps) [bc2f3e4c662841dc19f7e7efae87782b9f3c0831] Merge tag 'thunderbolt-for-v5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus testing commit bc2f3e4c662841dc19f7e7efae87782b9f3c0831 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 810224e01911f5b6e4a7cf14e45a61ae65ba0c0298f6218cfa35f90906015c98 all runs: OK # git bisect bad bc2f3e4c662841dc19f7e7efae87782b9f3c0831 Bisecting: 4 revisions left to test after this (roughly 2 steps) [9dbf34a834563dada91366c2ac266f32ff34641a] usbip: stub-dev synchronize sysfs code paths testing commit 9dbf34a834563dada91366c2ac266f32ff34641a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4df8ac8d2431f0a3123596bd426169bb4ed3595f6226ad55bb1a58be4de40f4b all runs: crashed: general protection fault in try_to_wake_up # git bisect good 9dbf34a834563dada91366c2ac266f32ff34641a Bisecting: 2 revisions left to test after this (roughly 1 step) [08fe7ae1857080f5075df5ac7fef2ecd4e289117] thunderbolt: Fix off by one in tb_port_find_retimer() testing commit 08fe7ae1857080f5075df5ac7fef2ecd4e289117 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c846bbc795e0ede691241a35566d4d2094f31322872cca91383a621d56db165a all runs: crashed: general protection fault in try_to_wake_up # git bisect good 08fe7ae1857080f5075df5ac7fef2ecd4e289117 Bisecting: 0 revisions left to test after this (roughly 1 step) [363eaa3a450abb4e63bd6e3ad79d1f7a0f717814] usbip: synchronize event handler with sysfs code paths testing commit 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fb364106657e0e8bee701b4874713b09adc849d3f93700abc6d158f70d190920 all runs: OK # git bisect bad 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 Bisecting: 0 revisions left to test after this (roughly 0 steps) [bd8b82042269a95db48074b8bb400678dbac1815] usbip: vudc synchronize sysfs code paths testing commit bd8b82042269a95db48074b8bb400678dbac1815 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1371ff7c8c4f4ca44163f2a47637b0e84bdd0955b67cc7c6ddfdac850d1405de all runs: crashed: general protection fault in try_to_wake_up # git bisect good bd8b82042269a95db48074b8bb400678dbac1815 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 is the first bad commit commit 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 Author: Shuah Khan Date: Mon Mar 29 19:36:51 2021 -0600 usbip: synchronize event handler with sysfs code paths Fuzzing uncovered race condition between sysfs code paths in usbip drivers. Device connect/disconnect code paths initiated through sysfs interface are prone to races if disconnect happens during connect and vice versa. Use sysfs_lock to synchronize event handler with sysfs paths in usbip drivers. Cc: stable@vger.kernel.org Reported-and-tested-by: syzbot+a93fba6d384346a761e3@syzkaller.appspotmail.com Signed-off-by: Shuah Khan Link: https://lore.kernel.org/r/c5c8723d3f29dfe3d759cfaafa7dd16b0dfe2918.1616807117.git.skhan@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman drivers/usb/usbip/usbip_event.c | 2 ++ 1 file changed, 2 insertions(+) culprit signature: fb364106657e0e8bee701b4874713b09adc849d3f93700abc6d158f70d190920 parent signature: 1371ff7c8c4f4ca44163f2a47637b0e84bdd0955b67cc7c6ddfdac850d1405de revisions tested: 15, total time: 3h49m39.266961392s (build: 1h38m34.654202072s, test: 2h8m28.07963808s) first good commit: 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 usbip: synchronize event handler with sysfs code paths recipients (to): ["gregkh@linuxfoundation.org" "skhan@linuxfoundation.org" "syzbot+a93fba6d384346a761e3@syzkaller.appspotmail.com"] recipients (cc): []