bisecting fixing commit since d4961772226de3b48a395a26c076d450d7044c76 building syzkaller on bfeda1b1077c9ffe6f9597cbae4b6a5d747b4695 testing commit d4961772226de3b48a395a26c076d450d7044c76 with gcc (GCC) 10.2.1 20210217 kernel signature: 4d2d8c6c78cca7f955ca0b936fec71cbf70ffb428aa28bf81fcec16004f82269 all runs: crashed: general protection fault in try_to_wake_up testing current HEAD 1140ab592e2ebf8153d2b322604031a8868ce7a5 testing commit 1140ab592e2ebf8153d2b322604031a8868ce7a5 with gcc (GCC) 10.2.1 20210217 kernel signature: cae5f3cd8b7731d9369e3d034ff89ef929e9b5d9fd38e96fb04ef812d281780b all runs: OK # git bisect start 1140ab592e2ebf8153d2b322604031a8868ce7a5 d4961772226de3b48a395a26c076d450d7044c76 Bisecting: 7745 revisions left to test after this (roughly 13 steps) [6fa09d313921cd960ebb7f87132e49deb034b5f1] Merge tag 'for-linus-5.13-1' of git://github.com/cminyard/linux-ipmi testing commit 6fa09d313921cd960ebb7f87132e49deb034b5f1 with gcc (GCC) 10.2.1 20210217 kernel signature: 5d87c2c0c47863a57766d18b13498ccdce15172c7b2d1d1298a461b50ac0bf94 all runs: OK # git bisect bad 6fa09d313921cd960ebb7f87132e49deb034b5f1 Bisecting: 3805 revisions left to test after this (roughly 12 steps) [2f9ef0559efbee18a10a3ca26eefe57f69918693] Merge tag 'docs-5.13' of git://git.lwn.net/linux testing commit 2f9ef0559efbee18a10a3ca26eefe57f69918693 with gcc (GCC) 10.2.1 20210217 kernel signature: 0bc561989cde8172845a6da056cfc4f54c74e1d999c173d0d098d7f8173c2089 all runs: OK # git bisect bad 2f9ef0559efbee18a10a3ca26eefe57f69918693 Bisecting: 1637 revisions left to test after this (roughly 11 steps) [8900d92fd666d936a7bfb4c567ac26736a414fb4] Merge tag 'staging-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit 8900d92fd666d936a7bfb4c567ac26736a414fb4 with gcc (GCC) 10.2.1 20210217 kernel signature: aca177a3b9688f4b12de63c6b219eb2ab5a71898bc2be21cfb876b23c0984fe6 all runs: OK # git bisect bad 8900d92fd666d936a7bfb4c567ac26736a414fb4 Bisecting: 970 revisions left to test after this (roughly 10 steps) [8e3a3249502d8ff92d73d827fb41dd44c5a16f76] Merge tag 'char-misc-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 8e3a3249502d8ff92d73d827fb41dd44c5a16f76 with gcc (GCC) 10.2.1 20210217 kernel signature: 99ca136628664a8a3042c602dfe6b155fbeb70173f26c92d93aa995a712197de all runs: OK # git bisect bad 8e3a3249502d8ff92d73d827fb41dd44c5a16f76 Bisecting: 612 revisions left to test after this (roughly 9 steps) [91552ab8ffb81317656214daafd9a7bcf09ab0a0] Merge tag 'irq-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 91552ab8ffb81317656214daafd9a7bcf09ab0a0 with gcc (GCC) 10.2.1 20210217 kernel signature: 954bdd0c3b200e0f0c5851cfb776859f186e84520632dc57a79bc1acb6478ca6 all runs: OK # git bisect bad 91552ab8ffb81317656214daafd9a7bcf09ab0a0 Bisecting: 344 revisions left to test after this (roughly 8 steps) [ffc766b31e900e91454d53b8619f0ff5377df945] Merge tag 'tomoyo-pr-20210426' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1 testing commit ffc766b31e900e91454d53b8619f0ff5377df945 with gcc (GCC) 10.2.1 20210217 kernel signature: b2d94046df42ef9e61e42315192e918903b5e9b64aeeaaaacbc0c70210676c2d all runs: OK # git bisect bad ffc766b31e900e91454d53b8619f0ff5377df945 Bisecting: 174 revisions left to test after this (roughly 7 steps) [bdfd99e6d6bd690b47bd1d45dad218bf08be1dde] Merge tag 'libnvdimm-fixes-for-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm testing commit bdfd99e6d6bd690b47bd1d45dad218bf08be1dde with gcc (GCC) 10.2.1 20210217 kernel signature: c923bb00d4c2016cce3139af94a3be59892ae4de724c33527cf54b94067a074b all runs: OK # git bisect bad bdfd99e6d6bd690b47bd1d45dad218bf08be1dde Bisecting: 69 revisions left to test after this (roughly 6 steps) [c17a3066b4c1acdf36fa307faaa391f558ac0420] Merge tag 'dmaengine-fix-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine testing commit c17a3066b4c1acdf36fa307faaa391f558ac0420 with gcc (GCC) 10.2.1 20210217 kernel signature: be7678d376e6e3a157fd7278eae52e5396936c28b6febaabf869dd45d1741969 all runs: OK # git bisect bad c17a3066b4c1acdf36fa307faaa391f558ac0420 Bisecting: 33 revisions left to test after this (roughly 5 steps) [efc2da9241e643cb90897ac4ed3542daa3edf3bc] Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit efc2da9241e643cb90897ac4ed3542daa3edf3bc with gcc (GCC) 10.2.1 20210217 kernel signature: 6c636d2dc21137ee6c4d84c1a28e8fb41d10acda90153dbca6d2d9e598225178 all runs: OK # git bisect bad efc2da9241e643cb90897ac4ed3542daa3edf3bc Bisecting: 14 revisions left to test after this (roughly 4 steps) [445e09e79743c8ba01f1e9eb6b10faab5a92a5c7] Merge tag 'usb-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 445e09e79743c8ba01f1e9eb6b10faab5a92a5c7 with gcc (GCC) 10.2.1 20210217 kernel signature: 716078ce9760a266d945ab1a336cd52ac220563c3dd95e393f67b410b9689d62 all runs: OK # git bisect bad 445e09e79743c8ba01f1e9eb6b10faab5a92a5c7 Bisecting: 9 revisions left to test after this (roughly 3 steps) [12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4] Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux testing commit 12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4 with gcc (GCC) 10.2.1 20210217 kernel signature: e3b9280857acc9f67c18c4b602111ef6cca4c5bc199134b04a0b73ec72eb948c all runs: crashed: general protection fault in try_to_wake_up # git bisect good 12a0cf7241f9ee6b9b62e4c5aad53c43f46817a4 Bisecting: 4 revisions left to test after this (roughly 2 steps) [bd8b82042269a95db48074b8bb400678dbac1815] usbip: vudc synchronize sysfs code paths testing commit bd8b82042269a95db48074b8bb400678dbac1815 with gcc (GCC) 10.2.1 20210217 kernel signature: 4f11eeb70922b15ad72b3a4588ee6e38aa4a119507065402509460c0b61b0168 all runs: crashed: general protection fault in try_to_wake_up # git bisect good bd8b82042269a95db48074b8bb400678dbac1815 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 with gcc (GCC) 10.2.1 20210217 kernel signature: b422cecbe42bb72be71db496822260782dc311923248c2082714516e2929c9fd 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) [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 with gcc (GCC) 10.2.1 20210217 kernel signature: afc8c021c201286c026248ee7dd7afd9c17b3820a773d62b5a90f80bf8066c63 all runs: OK # git bisect bad bc2f3e4c662841dc19f7e7efae87782b9f3c0831 Bisecting: 0 revisions left to test after this (roughly 0 steps) [363eaa3a450abb4e63bd6e3ad79d1f7a0f717814] usbip: synchronize event handler with sysfs code paths testing commit 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 with gcc (GCC) 10.2.1 20210217 kernel signature: 1450811655ea0e19ba43dffde1e4c8043cb99932d197ea40259d7ca2a5c202c5 all runs: OK # git bisect bad 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 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: 1450811655ea0e19ba43dffde1e4c8043cb99932d197ea40259d7ca2a5c202c5 parent signature: 4f11eeb70922b15ad72b3a4588ee6e38aa4a119507065402509460c0b61b0168 revisions tested: 17, total time: 4h16m58.578216351s (build: 2h5m1.941534058s, test: 2h9m56.289947547s) 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): []