bisecting fixing commit since f6e27dbb1afabcba436e346d6aa88a592a1436bb building syzkaller on d96e88f3207d7ac7ad65e13b896f702ad04c46f7 testing commit f6e27dbb1afabcba436e346d6aa88a592a1436bb with gcc (GCC) 8.1.0 kernel signature: 551fccf32e2549fb2f496e271b33a1ff2849bf2901fe2213e2d11851e69d3c47 all runs: crashed: INFO: task hung in ucma_close testing current HEAD 8961076ed318dfd22aa357b41589f07bf67e73b6 testing commit 8961076ed318dfd22aa357b41589f07bf67e73b6 with gcc (GCC) 8.1.0 kernel signature: 474ace6415342bfb45713098a244efc96fd57af9be588f65f1d6cb354083129c all runs: OK # git bisect start 8961076ed318dfd22aa357b41589f07bf67e73b6 f6e27dbb1afabcba436e346d6aa88a592a1436bb Bisecting: 3195 revisions left to test after this (roughly 12 steps) [2caa8fad60a0186d0afad87e4281965dcba7c3b9] PCI/IOV: Fix memory leak in pci_iov_add_virtfn() testing commit 2caa8fad60a0186d0afad87e4281965dcba7c3b9 with gcc (GCC) 8.1.0 kernel signature: 1ff1d9eaf5c59092c3770246a3e08b12a6f8e18f575cda6526b2b70038a51ec2 all runs: crashed: INFO: task hung in ucma_close # git bisect good 2caa8fad60a0186d0afad87e4281965dcba7c3b9 Bisecting: 1597 revisions left to test after this (roughly 11 steps) [5d7ab2dd163b361fa665114ecfe48e97c7450732] usb: dwc2: Postponed gadget registration to the udc class driver testing commit 5d7ab2dd163b361fa665114ecfe48e97c7450732 with gcc (GCC) 8.1.0 kernel signature: 8af6d424cd47f3450c5886a7bf6c67b49e902111b80f9fd8613395fa287fc83e all runs: boot failed: WARNING in kvm_mmu_set_mmio_spte_mask # git bisect skip 5d7ab2dd163b361fa665114ecfe48e97c7450732 Bisecting: 1597 revisions left to test after this (roughly 11 steps) [03523cde108e4f5d110c066d931864420c1f2d1e] Bluetooth: Disconnect if E0 is used for Level 4 testing commit 03523cde108e4f5d110c066d931864420c1f2d1e with gcc (GCC) 8.1.0 kernel signature: 2e35453e6ccd379bd9800e28e350ebbebfa4726a1a276dfc0b6cee53d53eeac4 all runs: OK # git bisect bad 03523cde108e4f5d110c066d931864420c1f2d1e Bisecting: 1364 revisions left to test after this (roughly 10 steps) [693a889d0430f88f80138b1d73eafefe3eb6a9da] mwifiex: Fix memory corruption in dump_station testing commit 693a889d0430f88f80138b1d73eafefe3eb6a9da with gcc (GCC) 8.1.0 kernel signature: 18b9e99d1df42542799f9f7c34e7be623201eab816ed41506a7284cc9b0aa56e all runs: boot failed: WARNING in kvm_mmu_set_mmio_spte_mask # git bisect skip 693a889d0430f88f80138b1d73eafefe3eb6a9da Bisecting: 1364 revisions left to test after this (roughly 10 steps) [1356c3e8539ac48b9362e60b1fa80ec06bb960ec] vfio-pci: Invalidate mmaps and block MMIO access on disabled memory testing commit 1356c3e8539ac48b9362e60b1fa80ec06bb960ec with gcc (GCC) 8.1.0 kernel signature: f50ac10731dffcbe9ccb8de69e738f06b4524501d1e6c3dcca839bd3127e8685 all runs: crashed: INFO: task hung in ucma_close # git bisect good 1356c3e8539ac48b9362e60b1fa80ec06bb960ec Bisecting: 173 revisions left to test after this (roughly 8 steps) [62f0bcb73c9365668a660afb6a0b10eb2f2de150] dmaengine: tegra-apb: Prevent race conditions on channel's freeing testing commit 62f0bcb73c9365668a660afb6a0b10eb2f2de150 with gcc (GCC) 8.1.0 kernel signature: 9ea248d9a2e1d88c15593c3f09955e56498b9a8be2ef98fa13f23f763f9e73b7 all runs: OK # git bisect bad 62f0bcb73c9365668a660afb6a0b10eb2f2de150 Bisecting: 86 revisions left to test after this (roughly 7 steps) [1cf043baa068a5deecaf800e9122b462ac418159] perf test: Free formats for perf pmu parse test testing commit 1cf043baa068a5deecaf800e9122b462ac418159 with gcc (GCC) 8.1.0 kernel signature: 2315ff7509ee3e0e6b8483284f9e1acc123961e6f4f8cdb9562b745b6ce82ed4 all runs: crashed: INFO: task hung in ucma_close # git bisect good 1cf043baa068a5deecaf800e9122b462ac418159 Bisecting: 42 revisions left to test after this (roughly 6 steps) [54a77a9ceaa4e0c245013560cca97d4afb556f17] PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out testing commit 54a77a9ceaa4e0c245013560cca97d4afb556f17 with gcc (GCC) 8.1.0 kernel signature: cf26d0d8968e3e1dc7bb2a0917f0ad1183e9795e12e5f4e32d30ac5f786e9017 all runs: OK # git bisect bad 54a77a9ceaa4e0c245013560cca97d4afb556f17 Bisecting: 21 revisions left to test after this (roughly 5 steps) [ef13017d65b003e35f6dbf3236b5e0d82c65a7a1] RDMA/ucma: ucma_context reference leak in error path testing commit ef13017d65b003e35f6dbf3236b5e0d82c65a7a1 with gcc (GCC) 8.1.0 kernel signature: f165fbc755cb5bd49c41713253e7a40f85d764747bdf8884f8a8b9d3315745af all runs: OK # git bisect bad ef13017d65b003e35f6dbf3236b5e0d82c65a7a1 Bisecting: 10 revisions left to test after this (roughly 4 steps) [f91a135df607beeb1b478e0e9e3b4caa584aa1ee] Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists testing commit f91a135df607beeb1b478e0e9e3b4caa584aa1ee with gcc (GCC) 8.1.0 kernel signature: bb3570e7cb2b5fcb4a06ea85a9aba9291a89d86f2a077bc50a5d8a40965a0c8e all runs: crashed: INFO: task hung in ucma_close # git bisect good f91a135df607beeb1b478e0e9e3b4caa584aa1ee Bisecting: 4 revisions left to test after this (roughly 3 steps) [05570d97443f8e569a79cf6e140f5ed96e6ac172] af_key: pfkey_dump needs parameter validation testing commit 05570d97443f8e569a79cf6e140f5ed96e6ac172 with gcc (GCC) 8.1.0 kernel signature: 27b2372cf25971a42a818e83d4d9c4b7ce1c210d90f6c58b15e67658f9f3a33b all runs: crashed: INFO: task hung in ucma_close # git bisect good 05570d97443f8e569a79cf6e140f5ed96e6ac172 Bisecting: 1 revision left to test after this (roughly 1 step) [32dcd10cf110ba842f7614635e2a18f3ed3cde07] kprobes: fix kill kprobe which has been marked as gone testing commit 32dcd10cf110ba842f7614635e2a18f3ed3cde07 with gcc (GCC) 8.1.0 kernel signature: be562d06dc9958122d1f095f163b3a455002dfbfeaab20f9e5bd26f4720e1311 all runs: crashed: INFO: task hung in ucma_close # git bisect good 32dcd10cf110ba842f7614635e2a18f3ed3cde07 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c0fdfbf01ab015515e1ff1bee3d2b9e5f86628aa] mm/thp: fix __split_huge_pmd_locked() for migration PMD testing commit c0fdfbf01ab015515e1ff1bee3d2b9e5f86628aa with gcc (GCC) 8.1.0 kernel signature: 7db4f51a188247c8c1fe560065e9511015e5bd6c1e5bf4d599a957545146121a all runs: crashed: INFO: task hung in ucma_close # git bisect good c0fdfbf01ab015515e1ff1bee3d2b9e5f86628aa ef13017d65b003e35f6dbf3236b5e0d82c65a7a1 is the first bad commit commit ef13017d65b003e35f6dbf3236b5e0d82c65a7a1 Author: Shamir Rabinovitch Date: Thu Sep 24 18:24:49 2020 +0900 RDMA/ucma: ucma_context reference leak in error path commit ef95a90ae6f4f21990e1f7ced6719784a409e811 upstream. Validating input parameters should be done before getting the cm_id otherwise it can leak a cm_id reference. Fixes: 6a21dfc0d0db ("RDMA/ucma: Limit possible option size") Signed-off-by: Shamir Rabinovitch Reviewed-by: Leon Romanovsky Signed-off-by: Jason Gunthorpe [iwamatsu: Backported to 4.4, 4.9 and 4.14: adjust context] Signed-off-by: Nobuhiro Iwamatsu (CIP) Signed-off-by: Sasha Levin drivers/infiniband/core/ucma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) culprit signature: f165fbc755cb5bd49c41713253e7a40f85d764747bdf8884f8a8b9d3315745af parent signature: 7db4f51a188247c8c1fe560065e9511015e5bd6c1e5bf4d599a957545146121a revisions tested: 15, total time: 4h2m3.535531506s (build: 1h57m58.778123122s, test: 2h2m20.395677116s) first good commit: ef13017d65b003e35f6dbf3236b5e0d82c65a7a1 RDMA/ucma: ucma_context reference leak in error path recipients (to): ["jgg@mellanox.com" "leonro@mellanox.com" "nobuhiro1.iwamatsu@toshiba.co.jp" "sashal@kernel.org" "shamir.rabinovitch@oracle.com"] recipients (cc): []