ci starts bisection 2023-07-07 16:31:05.391878384 +0000 UTC m=+40770.918705726 bisecting fixing commit since c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 building syzkaller on ab32d50881df9f96f2af301aadca62ad00b7e099 ensuring issue is reproducible on original commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 testing commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47b50a66e2bb5b39b93ec6b77ee0a53ab105121551caf70a668c4b513ad2ff01 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2209594d2132d78935b11f00d99bc268482568b3ee896de03160306239c8c0e all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD 5133c9e51de41bfa902153888e11add3342ede18 testing commit 5133c9e51de41bfa902153888e11add3342ede18 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fb0a883ad8150d64feedae90ff8b4368fddf1f32c2bc3da32f43cbb4c98de7eb all runs: OK # git bisect start 5133c9e51de41bfa902153888e11add3342ede18 c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 Bisecting: 23085 revisions left to test after this (roughly 15 steps) [5b9a7bb72fddbc5247f56ede55d485fab7abdf92] Merge tag 'for-6.4/io_uring-2023-04-21' of git://git.kernel.dk/linux testing commit 5b9a7bb72fddbc5247f56ede55d485fab7abdf92 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 41ad22f9c62337e1a453b3ef41e57856da48741973bf980fb9eb6962259b60e5 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 5b9a7bb72fddbc5247f56ede55d485fab7abdf92 Bisecting: 11540 revisions left to test after this (roughly 14 steps) [0017387938993553fe8e08bd9bcf398fb609d136] Merge tag 'irq-core-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 0017387938993553fe8e08bd9bcf398fb609d136 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 34c86f92efdee1a437a484e1ad9a0a6004ff70907f6ba24dea8f416403d928e4 all runs: OK # git bisect bad 0017387938993553fe8e08bd9bcf398fb609d136 Bisecting: 5786 revisions left to test after this (roughly 13 steps) [b23c1376db2dbbf784906bbcc8db81c304fa76a7] Merge tag 'm68knommu-for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu testing commit b23c1376db2dbbf784906bbcc8db81c304fa76a7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 24df17218c6c8ef79f649968ca384e1ce12ff5f7e048a1059fb709c02710d5b9 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good b23c1376db2dbbf784906bbcc8db81c304fa76a7 Bisecting: 2873 revisions left to test after this (roughly 12 steps) [f085df1be60abf670315c11036261cfaec16b2eb] Merge tag 'perf-tools-for-v6.4-3-2023-05-06' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit f085df1be60abf670315c11036261cfaec16b2eb gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: eb6fbb86ed609dbc3bb3a4f29d44013f1373760196432e2a6901f73197b1b7ec all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good f085df1be60abf670315c11036261cfaec16b2eb Bisecting: 1432 revisions left to test after this (roughly 11 steps) [25041a4c02c7cf774d8b6ed60586fd64f1cdaa81] Merge tag 'net-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 25041a4c02c7cf774d8b6ed60586fd64f1cdaa81 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 728d7234ce1e08e4f813108cfcbe000287304efa2ce568c8d8d6a44828fcf226 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 25041a4c02c7cf774d8b6ed60586fd64f1cdaa81 Bisecting: 723 revisions left to test after this (roughly 10 steps) [9d9a9bf07ed9b09af3696997f02a557b428be092] Merge tag 's390-6.4-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux testing commit 9d9a9bf07ed9b09af3696997f02a557b428be092 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2cd93572083ec583cbec65362beedb5585f0113a22ae2d9c3e887426998416cb all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 9d9a9bf07ed9b09af3696997f02a557b428be092 Bisecting: 376 revisions left to test after this (roughly 9 steps) [cc423f6337d0a5ff1906f3b3d465d28c0d1705f6] Merge tag 'for-6.5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit cc423f6337d0a5ff1906f3b3d465d28c0d1705f6 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cff5e5ba43a54fdfcd7843da5cec42b2461537b2a96f5f9d1cf6a4fc7efab904 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good cc423f6337d0a5ff1906f3b3d465d28c0d1705f6 Bisecting: 188 revisions left to test after this (roughly 8 steps) [81b1fb7d17c0110df839e13468ada9e99bb6e5f4] fs: remove sb->s_mode testing commit 81b1fb7d17c0110df839e13468ada9e99bb6e5f4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a7563cee26a4b90ade305bd17713655a21b0068ca9fa54647f4375088581cc9d all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 81b1fb7d17c0110df839e13468ada9e99bb6e5f4 Bisecting: 94 revisions left to test after this (roughly 7 steps) [985958b8584cc143555f1bd735e7ab5066c944a7] block: fix wrong mode for blkdev_get_by_dev() from disk_scan_partitions() testing commit 985958b8584cc143555f1bd735e7ab5066c944a7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5dbbaa09ce74015a6ba131da2c911284f1df386b37ef77eef9c41aa6540a6674 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 985958b8584cc143555f1bd735e7ab5066c944a7 Bisecting: 53 revisions left to test after this (roughly 6 steps) [0aa69d53ac7c30f6184f88f2e310d808b32b35a5] Merge tag 'for-6.5/io_uring-2023-06-23' of git://git.kernel.dk/linux testing commit 0aa69d53ac7c30f6184f88f2e310d808b32b35a5 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fcb2662e7a16b18ca48858428a72ceeb6471b5e685f9181272cb69c25e3dfad2 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 0aa69d53ac7c30f6184f88f2e310d808b32b35a5 Bisecting: 26 revisions left to test after this (roughly 5 steps) [a82f3119d543406ed5b242deabf83cdecb9fe523] Merge branch irq/misc-6.5 into irq/irqchip-next testing commit a82f3119d543406ed5b242deabf83cdecb9fe523 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 77c44f5c64f40ccb5f835d3f2cb655ac636d80a7f3cafdcec9f80e8cb2adb3f8 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good a82f3119d543406ed5b242deabf83cdecb9fe523 Bisecting: 13 revisions left to test after this (roughly 4 steps) [2293cae703cda162684ae966db6b1b4a11b5e88f] blk-mq: don't insert passthrough request into sw queue testing commit 2293cae703cda162684ae966db6b1b4a11b5e88f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d29c02ecd7802388b59e02f9bd51026b1a04dd8325cb70657fa2549cc307ecf5 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 2293cae703cda162684ae966db6b1b4a11b5e88f Bisecting: 7 revisions left to test after this (roughly 3 steps) [a0433f8cae3ac51f59b4b1863032822aaa2d8164] Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linux testing commit a0433f8cae3ac51f59b4b1863032822aaa2d8164 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1404da8504d27d5476e9eab41bde966e28cc523334dc1b7a3daffe0583639639 all runs: OK # git bisect bad a0433f8cae3ac51f59b4b1863032822aaa2d8164 Bisecting: 2 revisions left to test after this (roughly 2 steps) [648fa60fa7de3ca6f6303e1721591ad73def9cf0] block: don't return -EINVAL for not found names in devt_from_devname testing commit 648fa60fa7de3ca6f6303e1721591ad73def9cf0 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 64e6261a47ab9c2350c260940ab4bead9909deeef3974ffb113ee53cb04afe30 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good 648fa60fa7de3ca6f6303e1721591ad73def9cf0 Bisecting: 0 revisions left to test after this (roughly 1 step) [fcaa174a9c995cf0af3967e55644a1543ea07e36] scsi/sg: don't grab scsi host module reference testing commit fcaa174a9c995cf0af3967e55644a1543ea07e36 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: efe92ac3a295c62b1ff2a1117140070d60baaf84342e176869ba4008e0e654e5 all runs: OK # git bisect bad fcaa174a9c995cf0af3967e55644a1543ea07e36 Bisecting: 0 revisions left to test after this (roughly 0 steps) [a42fb5a75ccc37dfd69aa9bde5ba2866e802ff3c] ext4: Fix warning in blkdev_put() testing commit a42fb5a75ccc37dfd69aa9bde5ba2866e802ff3c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 44658c3b2558614813c0811a0391e89aca82ff1390f56c128531c8255e6fb6a4 all runs: crashed: WARNING in blk_register_tracepoints representative crash: WARNING in blk_register_tracepoints, types: [WARNING] # git bisect good a42fb5a75ccc37dfd69aa9bde5ba2866e802ff3c fcaa174a9c995cf0af3967e55644a1543ea07e36 is the first bad commit commit fcaa174a9c995cf0af3967e55644a1543ea07e36 Author: Yu Kuai Date: Thu Jun 22 00:01:11 2023 +0800 scsi/sg: don't grab scsi host module reference In order to prevent request_queue to be freed before cleaning up blktrace debugfs entries, commit db59133e9279 ("scsi: sg: fix blktrace debugfs entries leakage") use scsi_device_get(), however, scsi_device_get() will also grab scsi module reference and scsi module can't be removed. It's reported that blktests can't unload scsi_debug after block/001: blktests (master) # ./check block block/001 (stress device hotplugging) [failed] +++ /root/blktests/results/nodev/block/001.out.bad 2023-06-19 Running block/001 Stressing sd +modprobe: FATAL: Module scsi_debug is in use. Fix this problem by grabbing request_queue reference directly, so that scsi host module can still be unloaded while request_queue will be pinged by sg device. Reported-by: Chaitanya Kulkarni Link: https://lore.kernel.org/all/1760da91-876d-fc9c-ab51-999a6f66ad50@nvidia.com/ Fixes: db59133e9279 ("scsi: sg: fix blktrace debugfs entries leakage") Signed-off-by: Yu Kuai Reviewed-by: Christoph Hellwig Link: https://lore.kernel.org/r/20230621160111.1433521-1-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe drivers/scsi/sg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) culprit signature: efe92ac3a295c62b1ff2a1117140070d60baaf84342e176869ba4008e0e654e5 parent signature: 44658c3b2558614813c0811a0391e89aca82ff1390f56c128531c8255e6fb6a4 revisions tested: 19, total time: 6h0m49.400328155s (build: 4h29m37.723245153s, test: 1h25m5.42728446s) first good commit: fcaa174a9c995cf0af3967e55644a1543ea07e36 scsi/sg: don't grab scsi host module reference recipients (to): ["axboe@kernel.dk" "hch@lst.de" "yukuai3@huawei.com"] recipients (cc): []