bisecting fixing commit since bd4d08daeb959234a9f8365037b0fefa6ae790c6 building syzkaller on 370797126e9ba28a49317bf099076a5ca06e4501 testing commit bd4d08daeb959234a9f8365037b0fefa6ae790c6 with gcc (GCC) 8.1.0 run #0: crashed: KASAN: use-after-free Read in tls_write_space run #1: crashed: KASAN: use-after-free Read in tls_write_space run #2: crashed: KASAN: use-after-free Read in tls_write_space run #3: crashed: KASAN: use-after-free Read in tls_write_space run #4: crashed: KASAN: use-after-free Read in tls_write_space run #5: crashed: KASAN: use-after-free Read in tls_write_space run #6: crashed: KASAN: use-after-free Read in tls_write_space run #7: crashed: KASAN: slab-out-of-bounds Read in tls_write_space run #8: crashed: KASAN: use-after-free Read in tls_write_space run #9: crashed: KASAN: use-after-free Read in tls_write_space testing current HEAD 3a5e523479c49b082b8ac291a1a9fbd035c06df5 testing commit 3a5e523479c49b082b8ac291a1a9fbd035c06df5 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 3a5e523479c49b082b8ac291a1a9fbd035c06df5 bd4d08daeb959234a9f8365037b0fefa6ae790c6 Bisecting: 37013 revisions left to test after this (roughly 15 steps) [b5dd0c658c31b469ccff1b637e5124851e7a4a1c] Merge branch 'akpm' (patches from Andrew) testing commit b5dd0c658c31b469ccff1b637e5124851e7a4a1c with gcc (GCC) 8.1.0 all runs: OK # git bisect bad b5dd0c658c31b469ccff1b637e5124851e7a4a1c Bisecting: 18265 revisions left to test after this (roughly 14 steps) [f4747b9c68b8864cac32cddc45fdcfdfafb3397c] drivers: base: swnode: check if swnode is NULL before dereferencing it testing commit f4747b9c68b8864cac32cddc45fdcfdfafb3397c with gcc (GCC) 8.1.0 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor699722240" "root@10.128.10.53:./syz-executor699722240"]: exit status 1 ssh: connect to host 10.128.10.53 port 22: Connection timed out lost connection 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 bad f4747b9c68b8864cac32cddc45fdcfdfafb3397c Bisecting: 9757 revisions left to test after this (roughly 13 steps) [746bb4ed6d626f3f9e431a7f9b20504538e62ded] Merge tag 'vla-v4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux testing commit 746bb4ed6d626f3f9e431a7f9b20504538e62ded with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 746bb4ed6d626f3f9e431a7f9b20504538e62ded Bisecting: 3734 revisions left to test after this (roughly 12 steps) [50b825d7e87f4cff7070df6eb26390152bb29537] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next testing commit 50b825d7e87f4cff7070df6eb26390152bb29537 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 50b825d7e87f4cff7070df6eb26390152bb29537 Bisecting: 2384 revisions left to test after this (roughly 11 steps) [2929ad29a3015120ab64c86f362fc2a590ceb69c] Merge branch 'improve_perf_barriers' testing commit 2929ad29a3015120ab64c86f362fc2a590ceb69c with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 2929ad29a3015120ab64c86f362fc2a590ceb69c Bisecting: 1174 revisions left to test after this (roughly 10 steps) [6f41617bf23a17d9cb7cc6ca8161534f05f80293] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net testing commit 6f41617bf23a17d9cb7cc6ca8161534f05f80293 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 6f41617bf23a17d9cb7cc6ca8161534f05f80293 Bisecting: 625 revisions left to test after this (roughly 9 steps) [cec4de302c5ff2c5eb3bfcb0c4845a095f5149b9] Merge gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net testing commit cec4de302c5ff2c5eb3bfcb0c4845a095f5149b9 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad cec4de302c5ff2c5eb3bfcb0c4845a095f5149b9 Bisecting: 294 revisions left to test after this (roughly 8 steps) [974c24c5bed75b53e229a6f68a0533b6d5f48feb] dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration testing commit 974c24c5bed75b53e229a6f68a0533b6d5f48feb with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 974c24c5bed75b53e229a6f68a0533b6d5f48feb Bisecting: 151 revisions left to test after this (roughly 7 steps) [52890d2afc6a06d6121ae1fd4bfc2448b0d67728] Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 52890d2afc6a06d6121ae1fd4bfc2448b0d67728 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 52890d2afc6a06d6121ae1fd4bfc2448b0d67728 Bisecting: 71 revisions left to test after this (roughly 6 steps) [234b69e3e089d850a98e7b3145bd00e9b52b1111] ocfs2: fix ocfs2 read block panic testing commit 234b69e3e089d850a98e7b3145bd00e9b52b1111 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 234b69e3e089d850a98e7b3145bd00e9b52b1111 Bisecting: 31 revisions left to test after this (roughly 5 steps) [196f4eeeb78f53e0a598db8f9408b6f8b270c355] Merge tag 'asoc-v4.19-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus testing commit 196f4eeeb78f53e0a598db8f9408b6f8b270c355 with gcc (GCC) 8.1.0 run #0: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor747944521" "root@10.128.0.96:./syz-executor747944521"]: exit status 1 ssh: connect to host 10.128.0.96 port 22: Connection timed out lost connection 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 bad 196f4eeeb78f53e0a598db8f9408b6f8b270c355 Bisecting: 16 revisions left to test after this (roughly 4 steps) [6c92d5a2744e27619a8fcc9d74b91ee9f1cdebd1] ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER testing commit 6c92d5a2744e27619a8fcc9d74b91ee9f1cdebd1 with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at include/linux/scatterlist.h:LINE! # git bisect good 6c92d5a2744e27619a8fcc9d74b91ee9f1cdebd1 Bisecting: 8 revisions left to test after this (roughly 3 steps) [b1fbebd4164b3d170ad916dcd692cf843c9c065d] ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path testing commit b1fbebd4164b3d170ad916dcd692cf843c9c065d with gcc (GCC) 8.1.0 run #0: crashed: WARNING in __static_key_slow_dec_cpuslocked 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 b1fbebd4164b3d170ad916dcd692cf843c9c065d Bisecting: 4 revisions left to test after this (roughly 2 steps) [b61749a89f826eb61fc59794d9e4697bd246eb61] sound: enable interrupt after dma buffer initialization testing commit b61749a89f826eb61fc59794d9e4697bd246eb61 with gcc (GCC) 8.1.0 all runs: crashed: kernel BUG at include/linux/scatterlist.h:LINE! # git bisect good b61749a89f826eb61fc59794d9e4697bd246eb61 Bisecting: 2 revisions left to test after this (roughly 1 step) [1064bc685d359f549f91c2d5f111965a9284f328] ALSA: oxfw: fix memory leak of discovered stream formats at error path testing commit 1064bc685d359f549f91c2d5f111965a9284f328 with gcc (GCC) 8.1.0 all runs: OK # git bisect bad 1064bc685d359f549f91c2d5f111965a9284f328 Bisecting: 0 revisions left to test after this (roughly 0 steps) [ce925f088b979537f22f9e05eb923ef9822ca139] ALSA: oxfw: fix memory leak for model-dependent data at error path testing commit ce925f088b979537f22f9e05eb923ef9822ca139 with gcc (GCC) 8.1.0 run #0: crashed: WARNING in __static_key_slow_dec_cpuslocked run #1: crashed: WARNING in __static_key_slow_dec_cpuslocked 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 ce925f088b979537f22f9e05eb923ef9822ca139 1064bc685d359f549f91c2d5f111965a9284f328 is the first bad commit commit 1064bc685d359f549f91c2d5f111965a9284f328 Author: Takashi Sakamoto Date: Mon Sep 17 17:26:20 2018 +0900 ALSA: oxfw: fix memory leak of discovered stream formats at error path After finishing discover of stream formats, ALSA OXFW driver has memory leak of allocated memory object at error path. This commit releases the memory object at the error path. Fixes: 6c29230e2a5f ('ALSA: oxfw: delayed registration of sound card') Cc: # v4.7+ Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai :040000 040000 d9a6ab5d520ceb98aeb7dddc34102f3aee061e5e e4153f83347984f2dc558810cc3f5df1fdd451a1 M sound revisions tested: 18, total time: 4h50m59.461714628s (build: 1h41m1.302566147s, test: 3h3m22.891987965s) first good commit: 1064bc685d359f549f91c2d5f111965a9284f328 ALSA: oxfw: fix memory leak of discovered stream formats at error path cc: ["allison@lohutok.net" "alsa-devel@alsa-project.org" "clemens@ladisch.de" "gregkh@linuxfoundation.org" "linux-kernel@vger.kernel.org" "o-takashi@sakamocchi.jp" "perex@perex.cz" "tglx@linutronix.de" "tiwai@suse.com" "tiwai@suse.de"]