bisecting cause commit starting from 68bb4665a2ce1338a74867e71bd5182f5b214a91 building syzkaller on 8bc4594f832068a30c0eff44d468311780057d1f testing commit 68bb4665a2ce1338a74867e71bd5182f5b214a91 with gcc (GCC) 8.1.0 kernel signature: 2867a69b82ca5f32bc425e0110732dae51713bc5920d1a834f49dabbbd688c54 all runs: crashed: unregister_netdevice: waiting for DEV to become free testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b with gcc (GCC) 8.1.0 kernel signature: 934f0a134532bbbd345c7e8b605e59600f755e76ac937b8aa8fb348b839f419b all runs: OK # git bisect start 68bb4665a2ce1338a74867e71bd5182f5b214a91 bbf5c979011a099af5dc76498918ed7df445635b Bisecting: 7516 revisions left to test after this (roughly 13 steps) [c48b75b7271db23c1b2d1204d6e8496d91f27711] Merge tag 'sound-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit c48b75b7271db23c1b2d1204d6e8496d91f27711 with gcc (GCC) 8.1.0 kernel signature: 9a2381878bdc33ec4990e346935262c1106b44c9646045acec11e11fd34e7f55 all runs: OK # git bisect good c48b75b7271db23c1b2d1204d6e8496d91f27711 Bisecting: 3763 revisions left to test after this (roughly 12 steps) [93f3d8f54a22eaa5ae4ec269615729c4f9b1cf1e] Merge tag 'trace-v5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace testing commit 93f3d8f54a22eaa5ae4ec269615729c4f9b1cf1e with gcc (GCC) 8.1.0 kernel signature: b868e44dd995f1ec40b5d91672bbeab39495a98cd21e2b6f37451cb825ad7d12 all runs: OK # git bisect good 93f3d8f54a22eaa5ae4ec269615729c4f9b1cf1e Bisecting: 1933 revisions left to test after this (roughly 11 steps) [9313f8026328d0309d093f6774be4b8f5340c0e5] Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost testing commit 9313f8026328d0309d093f6774be4b8f5340c0e5 with gcc (GCC) 8.1.0 kernel signature: fb8a376a59958002f372624fe6a14a7e17f0748bb35a1955c3b9af472c51664c all runs: OK # git bisect good 9313f8026328d0309d093f6774be4b8f5340c0e5 Bisecting: 1076 revisions left to test after this (roughly 10 steps) [2e368dd2bbeac6bfd50886371db185b1092067b4] Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 2e368dd2bbeac6bfd50886371db185b1092067b4 with gcc (GCC) 8.1.0 kernel signature: b809db3aea8f366d3fa308c7acf7d6eb4639374d4802e7aef12b702306b45b1e all runs: OK # git bisect good 2e368dd2bbeac6bfd50886371db185b1092067b4 Bisecting: 534 revisions left to test after this (roughly 9 steps) [9289beb8ebb520538e869646a9f7c935a050dbb9] Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt testing commit 9289beb8ebb520538e869646a9f7c935a050dbb9 with gcc (GCC) 8.1.0 kernel signature: 476bc4c7cfcc0354f86415287d2043db10094d7059be78f7704a047c70914071 all runs: OK # git bisect good 9289beb8ebb520538e869646a9f7c935a050dbb9 Bisecting: 280 revisions left to test after this (roughly 8 steps) [af0041875ce7f5a05362b884e90cf82c27876096] Merge tag 'io_uring-5.10-2020-10-24' of git://git.kernel.dk/linux-block testing commit af0041875ce7f5a05362b884e90cf82c27876096 with gcc (GCC) 8.1.0 kernel signature: 7c1d33d44443f46c6608e4e58299d19ecf2b0dbb32da8731b79e75cdfda100e5 all runs: OK # git bisect good af0041875ce7f5a05362b884e90cf82c27876096 Bisecting: 144 revisions left to test after this (roughly 7 steps) [b9c0f4bd5b8114ee1773734e07cda921b6e8248b] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma testing commit b9c0f4bd5b8114ee1773734e07cda921b6e8248b with gcc (GCC) 8.1.0 kernel signature: a7897cfc4a5ed5e90f14abad163e760186976165be42cc9ff0896c17787af4ff all runs: OK # git bisect good b9c0f4bd5b8114ee1773734e07cda921b6e8248b Bisecting: 72 revisions left to test after this (roughly 6 steps) [79ae3e256aa1cfaa801e23a13b7f9e1a49cacb20] selftests: net: bridge: igmp: add support for packet source address testing commit 79ae3e256aa1cfaa801e23a13b7f9e1a49cacb20 with gcc (GCC) 8.1.0 kernel signature: 589ddd0d462dd02576aec15091ae54ef6a719f9ce4fdd8f62c340b5c335b875d all runs: OK # git bisect good 79ae3e256aa1cfaa801e23a13b7f9e1a49cacb20 Bisecting: 36 revisions left to test after this (roughly 5 steps) [d26796ae589401d209f63f462d5aee3746f3c51e] udp: check udp sock encap_type in __udp_lib_err testing commit d26796ae589401d209f63f462d5aee3746f3c51e with gcc (GCC) 8.1.0 kernel signature: 71c7c116843ccd95faf6789fdebec27fccaff95f5de3e2ed2513d503ca791892 all runs: OK # git bisect good d26796ae589401d209f63f462d5aee3746f3c51e Bisecting: 18 revisions left to test after this (roughly 4 steps) [c1181f42ff1e7e0158184baee171dd54e67c353a] net: dec: tulip: de2104x: Add shutdown handler to stop NIC testing commit c1181f42ff1e7e0158184baee171dd54e67c353a with gcc (GCC) 8.1.0 kernel signature: fef1bd6ca04dcf269ec8768f41846fa494f8c5c7f274d9b2f964857d69dc3862 all runs: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad c1181f42ff1e7e0158184baee171dd54e67c353a Bisecting: 8 revisions left to test after this (roughly 3 steps) [f1bfe8b5415171b5e70c2a47d399c91bd7c2752e] sctp: add udphdr to overhead when udp_port is set testing commit f1bfe8b5415171b5e70c2a47d399c91bd7c2752e with gcc (GCC) 8.1.0 kernel signature: 828115be97c7dc9b917626d99f084fd269833020c5ed8db1d20d8bce2f9d179a all runs: OK # git bisect good f1bfe8b5415171b5e70c2a47d399c91bd7c2752e Bisecting: 4 revisions left to test after this (roughly 2 steps) [e38d86b354f96e3ed6f5e6c7dbb442d7107fc0bd] sctp: add the error cause for new encapsulation port restart testing commit e38d86b354f96e3ed6f5e6c7dbb442d7107fc0bd with gcc (GCC) 8.1.0 kernel signature: a1a728bb466c0e7205c6afaea7405e5fd7671aadd025bc8cc540a0731dbf9548 all runs: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad e38d86b354f96e3ed6f5e6c7dbb442d7107fc0bd Bisecting: 1 revision left to test after this (roughly 1 step) [600af7fd809ad2a307b6c53b2a3e45453a75cdb6] sctp: support for sending packet over udp4 sock testing commit 600af7fd809ad2a307b6c53b2a3e45453a75cdb6 with gcc (GCC) 8.1.0 kernel signature: 1edce46d0cd011d0bda6b384c14a2e57d4098ec08bb8bfea7d71ce709085647a all runs: crashed: BUG: sleeping function called from invalid context in exc_page_fault # git bisect bad 600af7fd809ad2a307b6c53b2a3e45453a75cdb6 Bisecting: 0 revisions left to test after this (roughly 0 steps) [bcd623d8e9fa5f82bbd8cd464dc418d24139157b] sctp: call sk_setup_caps in sctp_packet_transmit instead testing commit bcd623d8e9fa5f82bbd8cd464dc418d24139157b with gcc (GCC) 8.1.0 kernel signature: 00f6d7b3d539a56721003ed7640f2ff78fde12bb61727dc762e5b605eef1f2b0 all runs: crashed: unregister_netdevice: waiting for DEV to become free # git bisect bad bcd623d8e9fa5f82bbd8cd464dc418d24139157b bcd623d8e9fa5f82bbd8cd464dc418d24139157b is the first bad commit commit bcd623d8e9fa5f82bbd8cd464dc418d24139157b Author: Xin Long Date: Thu Oct 29 15:05:05 2020 +0800 sctp: call sk_setup_caps in sctp_packet_transmit instead sk_setup_caps() was originally called in Commit 90017accff61 ("sctp: Add GSO support"), as: "We have to refresh this in case we are xmiting to more than one transport at a time" This actually happens in the loop of sctp_outq_flush_transports(), and it shouldn't be tied to gso, so move it out of gso part and before sctp_packet_pack(). Signed-off-by: Xin Long Acked-by: Marcelo Ricardo Leitner Signed-off-by: Jakub Kicinski net/sctp/output.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) culprit signature: 00f6d7b3d539a56721003ed7640f2ff78fde12bb61727dc762e5b605eef1f2b0 parent signature: 828115be97c7dc9b917626d99f084fd269833020c5ed8db1d20d8bce2f9d179a revisions tested: 16, total time: 4h0m19.819452304s (build: 1h16m57.212269643s, test: 2h41m47.467165493s) first bad commit: bcd623d8e9fa5f82bbd8cd464dc418d24139157b sctp: call sk_setup_caps in sctp_packet_transmit instead recipients (to): ["kuba@kernel.org" "lucien.xin@gmail.com" "marcelo.leitner@gmail.com"] recipients (cc): [] crash: unregister_netdevice: waiting for DEV to become free bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): Released all slaves unregister_netdevice: waiting for lo to become free. Usage count = 1