syzbot


WARNING in do_new_mount (2)

Status: moderation: reported on 2024/04/07 12:38
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+09fc86179e479877bd90@syzkaller.appspotmail.com
First crash: 244d, last: 85d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in do_new_mount 2 469d 487d 0/3 auto-obsoleted due to no activity on 2023/11/29 20:19
upstream WARNING in do_new_mount fs 4 482d 501d 0/28 auto-obsoleted due to no activity on 2023/11/07 02:18
linux-6.1 WARNING in do_new_mount 4 140d 243d 0/3 auto-obsoleted due to no activity on 2024/10/24 11:22

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88805d78de78, owner = 0x0, curr 0xffff88802b0f8000, list empty
WARNING: CPU: 0 PID: 15594 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 0 PID: 15594 at kernel/locking/rwsem.c:1370 up_write+0x502/0x590 kernel/locking/rwsem.c:1632
Modules linked in:
CPU: 0 UID: 0 PID: 15594 Comm: syz.2.1023 Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x502/0x590 kernel/locking/rwsem.c:1632
Code: c7 c7 a0 c8 ea 8b 48 c7 c6 20 cb ea 8b 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 73 9b e6 ff 48 83 c4 08 90 <0f> 0b 90 90 e9 6a fd ff ff 48 c7 c1 40 7d f7 8f 80 e1 07 80 c1 03
RSP: 0018:ffffc90004157c60 EFLAGS: 00010296
RAX: ebe2b16f3066c900 RBX: ffffffff8beac980 RCX: 0000000000040000
RDX: ffffc900120ef000 RSI: 0000000000016276 RDI: 0000000000016277
RBP: ffffc90004157d30 R08: ffffffff8155b292 R09: fffffbfff1cba0e0
R10: dffffc0000000000 R11: fffffbfff1cba0e0 R12: 0000000000000000
R13: ffff88805d78de78 R14: 1ffff9200082af94 R15: dffffc0000000000
FS:  00007f5f4315f6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f4315ef98 CR3: 000000007ca1e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:805 [inline]
 unlock_mount fs/namespace.c:2634 [inline]
 do_new_mount_fc fs/namespace.c:3415 [inline]
 do_new_mount+0x88e/0xb40 fs/namespace.c:3474
 do_mount fs/namespace.c:3812 [inline]
 __do_sys_mount fs/namespace.c:4020 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3997
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5f4237cef9
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:00007f5f4315f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5f42536058 RCX: 00007f5f4237cef9
RDX: 0000000020000040 RSI: 0000000020000380 RDI: 0000000000000000
RBP: 00007f5f423ef046 R08: 0000000020000400 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5f42536058 R15: 00007ffd7b64b088
 </TASK>

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/08 21:46 upstream 89f5e14d05b4 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/08/31 20:18 upstream 1934261d8974 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/08/30 16:40 upstream 20371ba12063 ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/08/20 11:43 upstream 6e4436539ae1 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/08/12 18:45 upstream 7c626ce4bae1 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/07/10 08:50 upstream 34afb82a3c67 bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/07/04 16:19 upstream 795c58e4c7fc 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/06/24 13:27 upstream f2661062f16b edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_new_mount
2024/06/23 04:26 upstream 563a50672d8a edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/06/10 17:17 upstream 83a7eefedc9b 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/06/10 09:35 upstream 83a7eefedc9b 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/06/09 11:25 upstream 061d1af7b030 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/06/03 05:53 upstream c3f38fa61af7 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/05/23 22:35 upstream 8f6a15f095a6 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_new_mount
2024/05/18 07:26 upstream ff2632d7d08e c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_new_mount
2024/05/18 07:26 upstream ff2632d7d08e c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_new_mount
2024/04/25 03:52 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/04/19 19:47 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/04/03 12:32 upstream fe46a7dd189e 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_new_mount
2024/05/26 13:44 linux-next 3689b0ef08b7 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_new_mount
2024/04/13 23:58 linux-next 9ed46da14b9b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_new_mount
2024/04/05 07:16 linux-next 2b3d5988ae2c 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_new_mount
* Struck through repros no longer work on HEAD.