bisecting fixing commit since 10ad6cfd57360760116cde00a8ef756e121367a9 building syzkaller on 5abc3f1ab298244473b613c289f1536e366fcf04 testing commit 10ad6cfd57360760116cde00a8ef756e121367a9 with gcc (GCC) 8.1.0 kernel signature: b302389707cbad358fea5c574efb70f8cd0d4129c3328f1596679ebb4b3ec6e9 all runs: crashed: general protection fault in open_xa_dir testing current HEAD 79524e8c64bda80bb35ab490177d0e6813bf112c testing commit 79524e8c64bda80bb35ab490177d0e6813bf112c with gcc (GCC) 8.1.0 kernel signature: 492c647f249c278040629112dd6d98f0214f664de47c7036439d08d18909a9c8 all runs: OK # git bisect start 79524e8c64bda80bb35ab490177d0e6813bf112c 10ad6cfd57360760116cde00a8ef756e121367a9 Bisecting: 250 revisions left to test after this (roughly 8 steps) [1fa81b7cadc479924412de67e5737d45b00e01ac] vsock/virtio: use RCU to avoid use-after-free on the_virtio_vsock testing commit 1fa81b7cadc479924412de67e5737d45b00e01ac with gcc (GCC) 8.1.0 kernel signature: 19543b0364c10307d14b76289ddcba5b90043bc26471044352bb31523a49bb1b all runs: crashed: general protection fault in open_xa_dir # git bisect good 1fa81b7cadc479924412de67e5737d45b00e01ac Bisecting: 125 revisions left to test after this (roughly 7 steps) [e1313c39cb4f4050c563b79622dd0c92dabc3a96] net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup testing commit e1313c39cb4f4050c563b79622dd0c92dabc3a96 with gcc (GCC) 8.1.0 kernel signature: a8bab1e85f334a90bddb73935b6cd173eb1e819e2f222d2daeaa9361a02f4a60 all runs: OK # git bisect bad e1313c39cb4f4050c563b79622dd0c92dabc3a96 Bisecting: 62 revisions left to test after this (roughly 6 steps) [a1491a6504c38b1e81d7136da44863b214a697c6] drm/amdgpu: prevent double kfree ttm->sg testing commit a1491a6504c38b1e81d7136da44863b214a697c6 with gcc (GCC) 8.1.0 kernel signature: f327ddacd3310b9d88fca88a868d4956ff56d36b328172054de6a5544ff4e859 all runs: crashed: general protection fault in open_xa_dir # git bisect good a1491a6504c38b1e81d7136da44863b214a697c6 Bisecting: 31 revisions left to test after this (roughly 5 steps) [c1ad9bb3b04725c5c9a593abb1657e8a89c62fd7] Bluetooth: Disconnect if E0 is used for Level 4 testing commit c1ad9bb3b04725c5c9a593abb1657e8a89c62fd7 with gcc (GCC) 8.1.0 kernel signature: 61a2fec78d88048fdd3b160d24ce58ea475717aedba399b21fc5ba851512e193 all runs: crashed: general protection fault in open_xa_dir # git bisect good c1ad9bb3b04725c5c9a593abb1657e8a89c62fd7 Bisecting: 15 revisions left to test after this (roughly 4 steps) [c0cded2aa1db11246240b24234e3c4470d431635] mlx4: handle non-napi callers to napi_poll testing commit c0cded2aa1db11246240b24234e3c4470d431635 with gcc (GCC) 8.1.0 kernel signature: 303fc277038e63471a7e18c474d716dcc25b88d775b5b4890865e95ce7728e4c run #0: crashed: kernel BUG at fs/reiserfs/journal.c:LINE! run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good c0cded2aa1db11246240b24234e3c4470d431635 Bisecting: 7 revisions left to test after this (roughly 3 steps) [7bf51ad6408fc39ea6b80c23f0fafcfe30f49377] r8169: fix data corruption issue on RTL8402 testing commit 7bf51ad6408fc39ea6b80c23f0fafcfe30f49377 with gcc (GCC) 8.1.0 kernel signature: c39716b222cb1200a897c8c660933b6c92478fafb349ab3ae0f31b39d7882efc all runs: OK # git bisect bad 7bf51ad6408fc39ea6b80c23f0fafcfe30f49377 Bisecting: 3 revisions left to test after this (roughly 2 steps) [0cca96df3732fef913c0f7c48f7118a90db466da] net/smc: fix valid DMBE buffer sizes testing commit 0cca96df3732fef913c0f7c48f7118a90db466da with gcc (GCC) 8.1.0 kernel signature: 1832493fba04ecb28e2caa334cd61d43126b07124ec359eb62341ff5814d9730 all runs: OK # git bisect bad 0cca96df3732fef913c0f7c48f7118a90db466da Bisecting: 1 revision left to test after this (roughly 1 step) [0bffdde0bb2650df06a6f3c1b78ceed971b68482] net: fec: Fix PHY init after phy_reset_after_clk_enable() testing commit 0bffdde0bb2650df06a6f3c1b78ceed971b68482 with gcc (GCC) 8.1.0 kernel signature: 303fc277038e63471a7e18c474d716dcc25b88d775b5b4890865e95ce7728e4c all runs: OK # git bisect bad 0bffdde0bb2650df06a6f3c1b78ceed971b68482 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c068e505f229ca5f778f825f1401817ce818e917] net: fec: Fix phy_device lookup for phy_reset_after_clk_enable() testing commit c068e505f229ca5f778f825f1401817ce818e917 with gcc (GCC) 8.1.0 kernel signature: 303fc277038e63471a7e18c474d716dcc25b88d775b5b4890865e95ce7728e4c all runs: OK # git bisect bad c068e505f229ca5f778f825f1401817ce818e917 c068e505f229ca5f778f825f1401817ce818e917 is the first bad commit commit c068e505f229ca5f778f825f1401817ce818e917 Author: Marek Vasut Date: Sat Oct 10 11:10:00 2020 +0200 net: fec: Fix phy_device lookup for phy_reset_after_clk_enable() [ Upstream commit 64a632da538a6827fad0ea461925cedb9899ebe2 ] The phy_reset_after_clk_enable() is always called with ndev->phydev, however that pointer may be NULL even though the PHY device instance already exists and is sufficient to perform the PHY reset. This condition happens in fec_open(), where the clock must be enabled first, then the PHY must be reset, and then the PHY IDs can be read out of the PHY. If the PHY still is not bound to the MAC, but there is OF PHY node and a matching PHY device instance already, use the OF PHY node to obtain the PHY device instance, and then use that PHY device instance when triggering the PHY reset. Fixes: 1b0a83ac04e3 ("net: fec: add phy_reset_after_clk_enable() support") Signed-off-by: Marek Vasut Cc: Christoph Niedermaier Cc: David S. Miller Cc: NXP Linux Team Cc: Richard Leitner Cc: Shawn Guo Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman drivers/net/ethernet/freescale/fec_main.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) culprit signature: 303fc277038e63471a7e18c474d716dcc25b88d775b5b4890865e95ce7728e4c parent signature: 303fc277038e63471a7e18c474d716dcc25b88d775b5b4890865e95ce7728e4c revisions tested: 11, total time: 3h3m23.589639636s (build: 1h35m17.479710698s, test: 1h26m58.457837459s) first good commit: c068e505f229ca5f778f825f1401817ce818e917 net: fec: Fix phy_device lookup for phy_reset_after_clk_enable() recipients (to): ["gregkh@linuxfoundation.org" "kuba@kernel.org" "marex@denx.de"] recipients (cc): []