bisecting cause commit starting from 555f3d7be91a873114c9656069f1a9fa476ec41a building syzkaller on a7dab6385c1d95547a88e22577fb56fbcd5c37eb testing commit 555f3d7be91a873114c9656069f1a9fa476ec41a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9cf4e1d556be97d154e7156565f7770bd407822b32b087782aaf579e8a554ee8 all runs: crashed: WARNING in component_del testing release v5.16 testing commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6392e7dc90e0a4647080a5029d93ca58348fb8a5852ea8aba24fe1cfc2cb5f6d all runs: OK # git bisect start 555f3d7be91a873114c9656069f1a9fa476ec41a df0cc57e057f18e44dac8e6c18aba47ab53202f9 Bisecting: 6327 revisions left to test after this (roughly 13 steps) [1dbfae0113f1423b42c304989a3cc8a7dd0ea53e] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 testing commit 1dbfae0113f1423b42c304989a3cc8a7dd0ea53e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e17f60ae22a8d5f12b97f601c9cedb78859bac4a6bcf0a4aa8ac30adf7e788ca all runs: OK # git bisect good 1dbfae0113f1423b42c304989a3cc8a7dd0ea53e Bisecting: 3069 revisions left to test after this (roughly 12 steps) [3bad80dab94a16c9b7991105e3bffd5fe5957e9a] Merge tag 'char-misc-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 3bad80dab94a16c9b7991105e3bffd5fe5957e9a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aa4e36b85998ef9495aa116fd15871aa88db1b19f801e7a166aab3774909b9f1 all runs: crashed: WARNING in component_del # git bisect bad 3bad80dab94a16c9b7991105e3bffd5fe5957e9a Bisecting: 1562 revisions left to test after this (roughly 11 steps) [455e73a07f6e288b0061dfcf4fcf54fa9fe06458] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit 455e73a07f6e288b0061dfcf4fcf54fa9fe06458 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 688a0317b34949a2fa1a03a23354cdcff72b3cd85e39730081264c9410b248f1 all runs: crashed: WARNING in component_del # git bisect bad 455e73a07f6e288b0061dfcf4fcf54fa9fe06458 Bisecting: 846 revisions left to test after this (roughly 10 steps) [22ef12195e13c5ec58320dbf99ef85059a2c0820] Merge tag 'staging-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit 22ef12195e13c5ec58320dbf99ef85059a2c0820 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: eec1f32de2c3e783d525d305255d0627ebcf169254bb2022c6330cfc0b4b8aa1 all runs: OK # git bisect good 22ef12195e13c5ec58320dbf99ef85059a2c0820 Bisecting: 433 revisions left to test after this (roughly 9 steps) [8834147f9505661859ce44549bf601e2a06bba7c] Merge tag 'fscache-rewrite-20220111' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs testing commit 8834147f9505661859ce44549bf601e2a06bba7c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 203efb1112ff1e2bf3090585a732eaa3e7c7db939a75927592f8cbb4b8962c7b all runs: crashed: WARNING in component_del # git bisect bad 8834147f9505661859ce44549bf601e2a06bba7c Bisecting: 172 revisions left to test after this (roughly 8 steps) [57ea81971b7296b42fc77424af44c5915d3d4ae2] Merge tag 'usb-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 57ea81971b7296b42fc77424af44c5915d3d4ae2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6a621f6dd3628a913f17fc7094ae71c7864facc6ddae4031618a6909e5350f7a all runs: crashed: WARNING in component_del # git bisect bad 57ea81971b7296b42fc77424af44c5915d3d4ae2 Bisecting: 119 revisions left to test after this (roughly 7 steps) [195437d14fb424a2ee50d51441181f16fd549789] serial: stm32: correct loop for dma error handling testing commit 195437d14fb424a2ee50d51441181f16fd549789 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c6816ed5e6b9b51391f19a724d2f07b86e8464011224395279ed3861b13fab1a all runs: OK # git bisect good 195437d14fb424a2ee50d51441181f16fd549789 Bisecting: 59 revisions left to test after this (roughly 6 steps) [1aebf115afd730d1e0f773b8273b04b8681e1128] usb: host: ehci-sh: propagate errors from platform_get_irq() testing commit 1aebf115afd730d1e0f773b8273b04b8681e1128 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cdbea9ed3ef7c10a028ca93a5b736aab1fe88fe62074c9dc7886a7da0e5aa274 all runs: OK # git bisect good 1aebf115afd730d1e0f773b8273b04b8681e1128 Bisecting: 35 revisions left to test after this (roughly 5 steps) [e681a9d2050cdcaf24adeabc9f1aea6cff94be22] Merge 5.16-rc8 into usb-next testing commit e681a9d2050cdcaf24adeabc9f1aea6cff94be22 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6a15f19785f0a96b92ae4dcab475b6f2c4597dfec53ed0b06ccef37bab8f9d53 all runs: crashed: WARNING in component_del # git bisect bad e681a9d2050cdcaf24adeabc9f1aea6cff94be22 Bisecting: 11 revisions left to test after this (roughly 4 steps) [d057ac484a370f90d0353b30ad0fab2b4f1adf27] usb: isp1760: Use platform_get_irq() to get the interrupt testing commit d057ac484a370f90d0353b30ad0fab2b4f1adf27 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 441585a208bc051c1c832c84958ce97dfdba2c18c5468453fe236c05708df4ea all runs: OK # git bisect good d057ac484a370f90d0353b30ad0fab2b4f1adf27 Bisecting: 5 revisions left to test after this (roughly 3 steps) [13068b7472f9720f807fe72b9bf3f76b9fd6d6ab] acpi: Export acpi_bus_type testing commit 13068b7472f9720f807fe72b9bf3f76b9fd6d6ab compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bdffc2df98019e86d2c30c59de6885d9e13e19bef611d27df9d666f9718d2964 all runs: OK # git bisect good 13068b7472f9720f807fe72b9bf3f76b9fd6d6ab Bisecting: 2 revisions left to test after this (roughly 2 steps) [730b49aac426e1e8016d3c2dd6b407e500423821] usb: typec: port-mapper: Convert to the component framework testing commit 730b49aac426e1e8016d3c2dd6b407e500423821 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4e9409f3ac697d9951de1d2d873ced97f9d0a210623a52d00e0f8c41ddd63bb4 all runs: crashed: WARNING in component_del # git bisect bad 730b49aac426e1e8016d3c2dd6b407e500423821 Bisecting: 0 revisions left to test after this (roughly 1 step) [8c67d06f3fd9639c44d8147483fb1c132d71388f] usb: Link the ports to the connectors they are attached to testing commit 8c67d06f3fd9639c44d8147483fb1c132d71388f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ddab13458e06a4e849d219e89b76781f756cbf1122e94d181a056bffdea12848 all runs: crashed: WARNING in component_del # git bisect bad 8c67d06f3fd9639c44d8147483fb1c132d71388f Bisecting: 0 revisions left to test after this (roughly 0 steps) [882c982dada4d53079c56de94ccbce1e21cc675f] acpi: Store CRC-32 hash of the _PLD in struct acpi_device testing commit 882c982dada4d53079c56de94ccbce1e21cc675f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 94fbdb64b5dfbeadb6ef927e38cb903614cc2e13945a706bc257204700031564 all runs: OK # git bisect good 882c982dada4d53079c56de94ccbce1e21cc675f 8c67d06f3fd9639c44d8147483fb1c132d71388f is the first bad commit commit 8c67d06f3fd9639c44d8147483fb1c132d71388f Author: Heikki Krogerus Date: Thu Dec 23 11:23:49 2021 +0300 usb: Link the ports to the connectors they are attached to Creating link to the USB Type-C connector for every new port that is added when possible. Reviewed-by: Andy Shevchenko Acked-by: Rafael J. Wysocki Signed-off-by: Heikki Krogerus Link: https://lore.kernel.org/r/20211223082349.45616-1-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman Documentation/ABI/testing/sysfs-bus-usb | 9 +++++++++ drivers/usb/core/port.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) culprit signature: ddab13458e06a4e849d219e89b76781f756cbf1122e94d181a056bffdea12848 parent signature: 94fbdb64b5dfbeadb6ef927e38cb903614cc2e13945a706bc257204700031564 revisions tested: 16, total time: 2h45m34.690229342s (build: 1h41m32.011909749s, test: 1h2m34.367909985s) first bad commit: 8c67d06f3fd9639c44d8147483fb1c132d71388f usb: Link the ports to the connectors they are attached to recipients (to): ["andriy.shevchenko@linux.intel.com" "gregkh@linuxfoundation.org" "heikki.krogerus@linux.intel.com" "rafael.j.wysocki@intel.com"] recipients (cc): [] crash: WARNING in component_del ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4052 at drivers/base/component.c:767 component_del+0x387/0x4b0 drivers/base/component.c:765 Modules linked in: CPU: 0 PID: 4052 Comm: syz-executor172 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:component_del+0x387/0x4b0 drivers/base/component.c:767 Code: 48 89 f8 48 c1 e8 03 42 80 3c 20 00 75 6b 48 39 6b 20 75 a4 48 c7 43 20 00 00 00 00 eb 9a 48 c7 c7 60 e5 61 8b e8 79 9d 67 04 <0f> 0b 31 ed 5b 48 89 ef 5d 41 5c 41 5d 41 5e 41 5f e9 a3 16 98 fd RSP: 0018:ffffc900027dfa90 EFLAGS: 00010282 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88801a7d0000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc900027df9d8 RBP: ffffffff8b61e520 R08: 0000000000000001 R09: ffffc900027df9df R10: fffff520004fbf3b R11: 0000000000000325 R12: ffff88801d6d5008 R13: ffffffff8962a3e0 R14: ffff88801c88d000 R15: ffff88801c88d540 FS: 000055555646a300(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558bd09bb058 CR3: 000000006d28c000 CR4: 0000000000350ee0 Call Trace: usb_hub_remove_port_device+0x22a/0x330 drivers/usb/core/port.c:653 hub_disconnect+0x15a/0x470 drivers/usb/core/hub.c:1737 usb_unbind_interface+0x183/0x7e0 drivers/usb/core/driver.c:458 __device_release_driver+0x523/0x660 drivers/base/dd.c:1205 device_release_driver_internal drivers/base/dd.c:1236 [inline] device_release_driver+0x21/0x30 drivers/base/dd.c:1259 proc_ioctl.part.0+0x39c/0x430 drivers/usb/core/devio.c:2332 proc_ioctl drivers/usb/core/devio.c:170 [inline] proc_ioctl_default drivers/usb/core/devio.c:2375 [inline] usbdev_do_ioctl drivers/usb/core/devio.c:2731 [inline] usbdev_ioctl+0x2289/0x2ea0 drivers/usb/core/devio.c:2791 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f182abe16d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcfdd16778 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f182ac25184 RCX: 00007f182abe16d9 RDX: 0000000020000380 RSI: 00000000c0105512 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcfdd161f0 R09: 0000000000000001 R10: 000000000000ffff R11: 0000000000000246 R12: 00007ffcfdd1678c R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000