[<prev] [next>] [day] [month] [year] [list]
Message-ID: <67d8d521.050a0220.2ca2c6.00c0.GAE@google.com>
Date: Mon, 17 Mar 2025 19:06:25 -0700
From: syzbot <syzbot+c15a614efdfbcab66ffe@...kaller.appspotmail.com>
To: kent.overstreet@...ux.dev, linux-bcachefs@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: [syzbot] [bcachefs?] BUG: unable to handle kernel paging request in __bch2_btree_node_write
Hello,
syzbot found the following issue on:
HEAD commit: a5618886fdab Merge remote-tracking branch 'will/for-next/p..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=1117f84c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=29061e148cfaa3d3
dashboard link: https://syzkaller.appspot.com/bug?extid=c15a614efdfbcab66ffe
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/8b90307e7f61/disk-a5618886.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8b5ea0300ee3/vmlinux-a5618886.xz
kernel image: https://storage.googleapis.com/syzbot-assets/47f59a45fc8c/Image-a5618886.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+c15a614efdfbcab66ffe@...kaller.appspotmail.com
bcachefs (loop1): done starting filesystem
Unable to handle kernel paging request at virtual address fa8a58001fffe003
KASAN: maybe wild-memory-access in range [0xd456c000ffff0018-0xd456c000ffff001f]
Mem abort info:
ESR = 0x0000000096000004
EC = 0x25: DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x04: level 0 translation fault
Data abort info:
ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
CM = 0, WnR = 0, TnD = 0, TagAccess = 0
GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[fa8a58001fffe003] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 6585 Comm: syz.1.12 Not tainted 6.14.0-rc6-syzkaller-ga5618886fdab #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091
lr : lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851
sp : ffff8000a2b85e60
x29: ffff8000a2b86120 x28: ffff800080363e98 x27: 0000000000000000
x26: ffff0001b378c540 x25: 0000000000000000 x24: 0000000000000001
x23: 0000000000000000 x22: 1ffff00011f780cd x21: d456c000ffff0019
x20: 0000000000000001 x19: 0000000000000000 x18: ffff8000a2b86040
x17: 000000000001d9f0 x16: ffff8000832bd8fc x15: 0000000000000001
x14: 1fffe0001a8c3d90 x13: dfff800000000000 x12: ffff700014570bf4
x11: ffff80008046cf1c x10: ffff80008fbc0668 x9 : 00000000000000f3
x8 : 1a8ad8001fffe003 x7 : ffff800080363e98 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000000000000 x0 : d456c000ffff0019
Call trace:
__lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091 (P)
lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154
__queue_work+0x8d4/0x1324
queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2392
queue_work include/linux/workqueue.h:662 [inline]
__bch2_btree_node_write+0x295c/0x3660 fs/bcachefs/btree_io.c:2254
bch2_btree_node_write_trans+0x9c/0x650 fs/bcachefs/btree_io.c:2357
btree_split+0x482c/0x6288 fs/bcachefs/btree_update_interior.c:1710
bch2_btree_split_leaf+0x14c/0x804 fs/bcachefs/btree_update_interior.c:1859
bch2_trans_commit_error+0x2a8/0x1130 fs/bcachefs/btree_trans_commit.c:908
__bch2_trans_commit+0x12e0/0x6190 fs/bcachefs/btree_trans_commit.c:1089
bch2_trans_commit fs/bcachefs/btree_update.h:183 [inline]
bch2_logged_op_start+0x1d4/0x36c fs/bcachefs/logged_ops.c:93
bch2_truncate+0x198/0x2e4 fs/bcachefs/io_misc.c:296
bchfs_truncate+0x6d0/0xa88 fs/bcachefs/fs-io.c:494
bch2_setattr+0x1a0/0x214 fs/bcachefs/fs.c:1199
notify_change+0x9f0/0xca0 fs/attr.c:552
do_truncate+0x1c0/0x28c fs/open.c:65
vfs_truncate+0x3fc/0x464 fs/open.c:115
do_sys_truncate+0xe8/0x1ac fs/open.c:138
__do_sys_truncate fs/open.c:150 [inline]
__se_sys_truncate fs/open.c:148 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:148
__invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: f007ba88 b9466908 340090a8 d343fea8 (386d6908)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: f007ba88 adrp x8, 0xf753000
4: b9466908 ldr w8, [x8, #1640]
8: 340090a8 cbz w8, 0x121c
c: d343fea8 lsr x8, x21, #3
* 10: 386d6908 ldrb w8, [x8, x13] <-- trapping instruction
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
Powered by blists - more mailing lists