[<prev] [next>] [day] [month] [year] [list]
Message-ID: <685673f6.a00a0220.137b3.006d.GAE@google.com>
Date: Sat, 21 Jun 2025 01:57:26 -0700
From: syzbot <syzbot+ea221a9ce60300d76278@...kaller.appspotmail.com>
To: adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com, tytso@....edu
Subject: [syzbot] [ext4?] WARNING: locking bug in ext4_mb_initialize_context
Hello,
syzbot found the following issue on:
HEAD commit: 9afe652958c3 Merge tag 'x86_urgent_for_6.16-rc3' of git://..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16b855d4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=6a237c32900fc479
dashboard link: https://syzkaller.appspot.com/bug?extid=ea221a9ce60300d76278
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ca235ca5eaeb/disk-9afe6529.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ce4a880751fe/vmlinux-9afe6529.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a7c651092242/bzImage-9afe6529.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ea221a9ce60300d76278@...kaller.appspotmail.com
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 6035 at kernel/locking/lockdep.c:238 hlock_class kernel/locking/lockdep.c:238 [inline]
WARNING: CPU: 0 PID: 6035 at kernel/locking/lockdep.c:238 check_wait_context kernel/locking/lockdep.c:4857 [inline]
WARNING: CPU: 0 PID: 6035 at kernel/locking/lockdep.c:238 __lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190
Modules linked in:
CPU: 0 UID: 0 PID: 6035 Comm: syz.3.14 Not tainted 6.16.0-rc2-syzkaller-00024-g9afe652958c3 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:hlock_class kernel/locking/lockdep.c:238 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4857 [inline]
RIP: 0010:__lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190
Code: eb 33 90 e8 c9 c7 18 03 85 c0 74 22 83 3d 52 dd 01 0e 00 75 19 90 48 c7 c7 e5 92 b5 8d 48 c7 c6 95 15 a5 8d e8 38 ce e5 ff 90 <0f> 0b 90 90 90 31 c0 48 8b 3c 24 0f b6 98 c4 00 00 00 41 8b 46 20
RSP: 0018:ffffc90004d76670 EFLAGS: 00010046
RAX: 81ee8a3c79ebc200 RBX: ffffe8ffffc6a7d8 RCX: 0000000000080000
RDX: ffffc9000c60a000 RSI: 0000000000001e53 RDI: 0000000000001e54
RBP: 00000000000009aa R08: ffff8880b8624293 R09: 1ffff110170c4852
R10: dffffc0000000000 R11: ffffed10170c4853 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888034eb8b68 R15: ffff888034eb8af0
FS: 00007f5d1dc0e6c0(0000) GS:ffff888125c85000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7bbcce56c0 CR3: 0000000079236000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871
__mutex_lock_common kernel/locking/mutex.c:602 [inline]
__mutex_lock+0x182/0xe80 kernel/locking/mutex.c:747
ext4_mb_group_or_file fs/ext4/mballoc.c:5784 [inline]
ext4_mb_initialize_context+0x893/0xcd0 fs/ext4/mballoc.c:5828
ext4_mb_new_blocks+0x573/0x46a0 fs/ext4/mballoc.c:6202
ext4_ext_map_blocks+0x161a/0x6ac0 fs/ext4/extents.c:4383
ext4_map_create_blocks fs/ext4/inode.c:609 [inline]
ext4_map_blocks+0x931/0x18d0 fs/ext4/inode.c:813
ext4_iomap_alloc fs/ext4/inode.c:3680 [inline]
ext4_iomap_begin+0xe67/0x18f0 fs/ext4/inode.c:3756
iomap_iter+0x537/0xdf0 fs/iomap/iter.c:109
__iomap_dio_rw+0xc67/0x1e40 fs/iomap/direct-io.c:733
iomap_dio_rw+0x45/0xb0 fs/iomap/direct-io.c:823
ext4_dio_write_iter fs/ext4/file.c:580 [inline]
ext4_file_write_iter+0x16a2/0x1bc0 fs/ext4/file.c:721
iter_file_splice_write+0x937/0x1000 fs/splice.c:738
do_splice_from fs/splice.c:935 [inline]
direct_splice_actor+0x101/0x160 fs/splice.c:1158
splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102
do_splice_direct_actor fs/splice.c:1201 [inline]
do_splice_direct+0x181/0x270 fs/splice.c:1227
do_sendfile+0x4da/0x7e0 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5d1cd8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5d1dc0e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f5d1cfb5fa0 RCX: 00007f5d1cd8e929
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007
RBP: 00007f5d1ce10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5d1cfb5fa0 R15: 00007ffd2b8d2518
</TASK>
---
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