ci2 starts bisection 2023-05-23 01:04:14.342849589 +0000 UTC m=+226026.039753424 bisecting cause commit starting from 44c026a73be8038f03dbdeef028b642880cf1511 building syzkaller on 4bce1a3e705a8b62de8194bdb28f5eef89c8feec ensuring issue is reproducible on original commit 44c026a73be8038f03dbdeef028b642880cf1511 testing commit 44c026a73be8038f03dbdeef028b642880cf1511 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 346daf576db926456af0e61ad0328d4e0b27a033e7e6a9a85738fb55a5932a03 all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock testing release v6.3 testing commit 457391b0380335d5e9a5babdec90ac53928b23b4 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e96508f3f237e67fae1761bcadcc06838362286cebae45d23310dbeed72a67f8 all runs: OK # git bisect start 44c026a73be8038f03dbdeef028b642880cf1511 457391b0380335d5e9a5babdec90ac53928b23b4 Bisecting: 6568 revisions left to test after this (roughly 13 steps) [6e98b09da931a00bf4e0477d0fa52748bf28fcce] Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 6e98b09da931a00bf4e0477d0fa52748bf28fcce gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ef3e7a3e9e50809dbd8433de939d73eeaa8caa98af3634e7ba52921b6fd71d11 all runs: OK # git bisect good 6e98b09da931a00bf4e0477d0fa52748bf28fcce Bisecting: 3278 revisions left to test after this (roughly 12 steps) [56c455b38dba47ae9cb48d71b2a106d769d1a694] Merge tag 'xfs-6.4-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit 56c455b38dba47ae9cb48d71b2a106d769d1a694 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d09dd7d8cba1121abfb432e2107bdb6325b5df30f658a51415dd765db30626c7 all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 56c455b38dba47ae9cb48d71b2a106d769d1a694 Bisecting: 1653 revisions left to test after this (roughly 11 steps) [97b2ff294381d05e59294a931c4db55276470cb5] Merge tag 'staging-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit 97b2ff294381d05e59294a931c4db55276470cb5 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 457fa356d9ec86d1b3d56a2bf3a295cb1937aff59fdf865e5e840b99bebfaa38 all runs: OK # git bisect good 97b2ff294381d05e59294a931c4db55276470cb5 Bisecting: 1011 revisions left to test after this (roughly 10 steps) [91ec4b0d11fe115581ce2835300558802ce55e6c] Merge tag 'mips_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux testing commit 91ec4b0d11fe115581ce2835300558802ce55e6c gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1cdf5dbd6a824ce3e9e5343d0f3b0d6a2daed2d747d89de6fdcc4e5f7ec43499 all runs: OK # git bisect good 91ec4b0d11fe115581ce2835300558802ce55e6c Bisecting: 499 revisions left to test after this (roughly 9 steps) [2aff7c706c7483f4895ca250c92c1d71e45b6e82] Merge tag 'objtool-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 2aff7c706c7483f4895ca250c92c1d71e45b6e82 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c836deea27c1de2bc063722fa89bce5c85bfafa08d62ae2af0d8dc8ba6c0ea5c all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 2aff7c706c7483f4895ca250c92c1d71e45b6e82 Bisecting: 255 revisions left to test after this (roughly 8 steps) [07e6d4095c75bcf0bf511b36eecaceb3fbb91ad9] userfaultfd: convert mfill_atomic_pte_copy() to use a folio testing commit 07e6d4095c75bcf0bf511b36eecaceb3fbb91ad9 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dff6de09c3dbdb1e998d09070c881781eb43d265433ab9bb9a36eeab314b88f1 all runs: OK # git bisect good 07e6d4095c75bcf0bf511b36eecaceb3fbb91ad9 Bisecting: 139 revisions left to test after this (roughly 7 steps) [7fa8a8ee9400fe8ec188426e40e481717bc5e924] Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 7fa8a8ee9400fe8ec188426e40e481717bc5e924 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 571add4d219abd7c50425755d70918d3c3193049a2186f1a804b73d95ab0c4dd all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 7fa8a8ee9400fe8ec188426e40e481717bc5e924 Bisecting: 57 revisions left to test after this (roughly 6 steps) [62515b5f9fdabf740efd28d5746c219f1b2e75cc] selftests/mm: move uffd minor test to unit test testing commit 62515b5f9fdabf740efd28d5746c219f1b2e75cc gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4feea532ec9b16dde73dec37672f444838dfe5a689851602f56a697e1a24e5ed all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 62515b5f9fdabf740efd28d5746c219f1b2e75cc Bisecting: 28 revisions left to test after this (roughly 5 steps) [3c811f7883c4ee5a34ba4354381bde062888dd31] mm/migrate: revert "mm/migrate: fix wrongly apply write bit after mkdirty on sparc64" testing commit 3c811f7883c4ee5a34ba4354381bde062888dd31 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 596dc477649505827b399d44cabb02ba0f3e6fe01f5f17d4e4e427b58d085a5d all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 3c811f7883c4ee5a34ba4354381bde062888dd31 Bisecting: 14 revisions left to test after this (roughly 4 steps) [57de7bd830dae90301329748d60e196fab4c4125] zram: return early on error in zram_bvec_rw testing commit 57de7bd830dae90301329748d60e196fab4c4125 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 52f353391784af7c1ecf7b2e1f4c125ff4542c2f6fbbe433fd9c4e96a43df81e all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 57de7bd830dae90301329748d60e196fab4c4125 Bisecting: 6 revisions left to test after this (roughly 3 steps) [f6365881bf797c734bf4cf1353bfa59ffd444f8f] mm: backing-dev: set variables dev_attr_min,max_bytes storage-class-specifier to static testing commit f6365881bf797c734bf4cf1353bfa59ffd444f8f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d54854635e5bb8bcfc233758a08d93cb7349ce6182446748b5da5efb9a968f70 all runs: OK # git bisect good f6365881bf797c734bf4cf1353bfa59ffd444f8f Bisecting: 3 revisions left to test after this (roughly 2 steps) [9fe95babc7420722d39a1ded379027a1e1825d3a] zram: remove valid_io_request testing commit 9fe95babc7420722d39a1ded379027a1e1825d3a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 451bf44837e6cfbcc1bd6aa83c99028d0d16450b77418803e1bf3959c7ded444 all runs: crashed: KASAN: user-memory-access Write in zram_slot_lock # git bisect bad 9fe95babc7420722d39a1ded379027a1e1825d3a Bisecting: 0 revisions left to test after this (roughly 1 step) [a70aae12502b130b0c30dda44dff09e575c1aaeb] zram: always compile read_from_bdev_sync testing commit a70aae12502b130b0c30dda44dff09e575c1aaeb gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8340aa6a11e4bf83f86bc518d963bd9ea3d981f066f395367549c6ea764aee96 all runs: OK # git bisect good a70aae12502b130b0c30dda44dff09e575c1aaeb 9fe95babc7420722d39a1ded379027a1e1825d3a is the first bad commit commit 9fe95babc7420722d39a1ded379027a1e1825d3a Author: Christoph Hellwig Date: Tue Apr 11 19:14:44 2023 +0200 zram: remove valid_io_request All bios hande to drivers from the block layer are checked against the device size and for logical block alignment already (and have been since long before zram was merged), so don't duplicate those checks. Link: https://lkml.kernel.org/r/20230411171459.567614-3-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Sergey Senozhatsky Acked-by: Minchan Kim Cc: Jens Axboe Signed-off-by: Andrew Morton drivers/block/zram/zram_drv.c | 34 +--------------------------------- drivers/block/zram/zram_drv.h | 1 - 2 files changed, 1 insertion(+), 34 deletions(-) culprit signature: 451bf44837e6cfbcc1bd6aa83c99028d0d16450b77418803e1bf3959c7ded444 parent signature: 8340aa6a11e4bf83f86bc518d963bd9ea3d981f066f395367549c6ea764aee96 revisions tested: 15, total time: 8h29m20.775508483s (build: 6h53m13.971832745s, test: 1h32m32.94092464s) first bad commit: 9fe95babc7420722d39a1ded379027a1e1825d3a zram: remove valid_io_request recipients (to): ["akpm@linux-foundation.org" "hch@lst.de" "minchan@kernel.org" "senozhatsky@chromium.org"] recipients (cc): [] crash: KASAN: user-memory-access Write in zram_slot_lock REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal REISERFS (device loop0): using ordered data mode reiserfs: using flush barriers ================================================================== BUG: KASAN: user-memory-access in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: user-memory-access in test_and_set_bit_lock include/asm-generic/bitops/instrumented-lock.h:57 [inline] BUG: KASAN: user-memory-access in bit_spin_lock include/linux/bit_spinlock.h:27 [inline] BUG: KASAN: user-memory-access in zram_slot_lock+0x50/0xd0 drivers/block/zram/zram_drv.c:68 Write of size 8 at addr 0000000000004128 by task syz-executor.0/5413 CPU: 0 PID: 5413 Comm: syz-executor.0 Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x167/0x220 lib/dump_stack.c:106 print_report+0xe6/0x540 mm/kasan/report.c:465 kasan_report+0x176/0x1b0 mm/kasan/report.c:572 kasan_check_range+0x283/0x290 mm/kasan/generic.c:187 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] test_and_set_bit_lock include/asm-generic/bitops/instrumented-lock.h:57 [inline] bit_spin_lock include/linux/bit_spinlock.h:27 [inline] zram_slot_lock+0x50/0xd0 drivers/block/zram/zram_drv.c:68 __zram_bvec_read drivers/block/zram/zram_drv.c:1411 [inline] zram_bvec_read drivers/block/zram/zram_drv.c:1445 [inline] zram_bvec_rw drivers/block/zram/zram_drv.c:1942 [inline] __zram_make_request drivers/block/zram/zram_drv.c:1992 [inline] zram_submit_bio+0x5dd/0x1dd0 drivers/block/zram/zram_drv.c:2015 __submit_bio+0x220/0x290 block/blk-core.c:604 __submit_bio_noacct block/blk-core.c:647 [inline] submit_bio_noacct_nocheck+0x480/0xcc0 block/blk-core.c:710 submit_bh fs/buffer.c:2755 [inline] __bread_slow fs/buffer.c:1220 [inline] __bread_gfp+0x11e/0x220 fs/buffer.c:1413 __bread include/linux/buffer_head.h:465 [inline] journal_init+0xe73/0x2260 fs/reiserfs/journal.c:2788 reiserfs_fill_super+0xdc5/0x2070 fs/reiserfs/super.c:2022 mount_bdev+0x27f/0x370 fs/super.c:1380 legacy_get_tree+0xe9/0x170 fs/fs_context.c:610 vfs_get_tree+0x7f/0x220 fs/super.c:1510 do_new_mount+0x1e5/0x940 fs/namespace.c:3042 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount+0x232/0x2c0 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e6428d69a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0e650a3f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000001127 RCX: 00007f0e6428d69a RDX: 0000000020000080 RSI: 0000000020000140 RDI: 00007f0e650a3fe0 RBP: 00007f0e650a4020 R08: 00007f0e650a4020 R09: 000000000120c083 R10: 000000000120c083 R11: 0000000000000246 R12: 0000000020000080 R13: 0000000020000140 R14: 00007f0e650a3fe0 R15: 0000000020000380 ==================================================================