syzbot


WARNING in diUnmount

Status: fixed on 2023/10/12 12:47
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+47366a6b503c7edf6bbb@syzkaller.appspotmail.com
Fix commit: 6e2bda2c192d jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
First crash: 510d, last: 213d
Cause bisection: failed (error log, bisect log)
  
Duplicate bugs (2)
duplicates (2):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
KASAN: invalid-free in diUnmount jfs C error 98 206d 503d 26/26 closed as dup on 2023/07/18 16:07
KASAN: invalid-free in sys_mount jfs syz done 1 296d 391d 0/26 closed as dup on 2023/07/19 22:34
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount 6 (6) 2023/07/18 19:46
[syzbot] WARNING in diUnmount 0 (2) 2022/12/05 14:19
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in diUnmount origin:upstream missing-backport C inconclusive 3 256d 365d 0/3 upstream: reported C repro on 2023/04/16 15:03

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5016 at mm/slab_common.c:953 folio_order include/linux/mm.h:1002 [inline]
WARNING: CPU: 1 PID: 5016 at mm/slab_common.c:953 free_large_kmalloc+0x3d/0x190 mm/slab_common.c:951
Modules linked in:
CPU: 1 PID: 5016 Comm: syz-executor326 Not tainted 6.5.0-rc4-syzkaller-00009-g4b954598a47b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:free_large_kmalloc+0x3d/0x190 mm/slab_common.c:953
Code: 48 8b 04 25 28 00 00 00 48 89 44 24 08 48 8b 47 08 a8 01 0f 85 4e 01 00 00 49 89 f6 0f 1f 44 00 00 49 f7 07 00 00 01 00 75 25 <0f> 0b 31 db 80 3d 0c d4 b9 0c 00 75 21 c6 05 03 d4 b9 0c 01 48 c7
RSP: 0018:ffffc900038ffb08 EFLAGS: 00010246
RAX: ffffea0001da2008 RBX: ffff888075c11f70 RCX: ffffea0001da2008
RDX: ffffea0000000000 RSI: ffff88807ca20000 RDI: ffffea0001f28800
RBP: ffff88802c72fc30 R08: ffffffff813d86bc R09: 1ffffffff1d30c35
R10: dffffc0000000000 R11: fffffbfff1d30c36 R12: ffff888075c12020
R13: dffffc0000000000 R14: ffff88807ca20000 R15: ffffea0001f28800
FS:  0000555556f653c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe99c94d28 CR3: 0000000074eea000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 diUnmount+0xf3/0x100 fs/jfs/jfs_imap.c:195
 jfs_umount+0x186/0x3a0 fs/jfs/jfs_umount.c:63
 jfs_put_super+0x8a/0x190 fs/jfs/super.c:194
 generic_shutdown_super+0x134/0x340 fs/super.c:499
 kill_block_super+0x68/0xa0 fs/super.c:1417
 deactivate_locked_super+0xa4/0x110 fs/super.c:330
 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254
 task_work_run+0x24a/0x300 kernel/task_work.c:179
 ptrace_notify+0x2cd/0x380 kernel/signal.c:2376
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:252 [inline]
 syscall_exit_to_user_mode_prepare kernel/entry/common.c:279 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline]
 syscall_exit_to_user_mode+0x157/0x280 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff904637e37
Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe99c954d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff904637e37
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe99c95590
RBP: 00007ffe99c95590 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe99c96650
R13: 0000555556f66700 R14: 00007ffe99c965f4 R15: 00007ffe99c96670
 </TASK>

Crashes (100):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/03 03:31 upstream 4b954598a47b b178af49 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in diUnmount
2023/07/22 19:03 upstream d192f5382581 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in diUnmount
2023/07/19 02:31 upstream 74f1456c4a5f 022df2bb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in diUnmount
2023/07/11 02:02 upstream 06c2afb862f9 52ae002a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in diUnmount
2023/06/29 17:55 upstream e8f75c0270d9 ca69c785 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in diUnmount
2023/06/18 14:49 upstream 1b29d271614a f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in diUnmount
2023/06/17 21:14 upstream 1639fae5132b f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in diUnmount
2023/05/11 15:03 upstream 80e62bc8487b 0fbd49f4 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in diUnmount
2023/01/23 00:56 upstream 2241ab53cbb5 559a440a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in diUnmount
2022/12/17 23:52 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in diUnmount
2023/05/08 23:14 linux-next 52025ebbb518 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in diUnmount
2023/02/11 18:02 linux-next 38d2b86a665b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in diUnmount
2023/01/14 23:02 linux-next 0a093b2893c7 a63719e7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in diUnmount
2022/12/05 14:18 linux-next 9e46a7996732 e080de16 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in diUnmount
2023/06/18 11:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in diUnmount
2022/12/18 04:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in diUnmount
2023/06/16 22:02 upstream 40f71e7cd3c6 f3921d4d .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in diUnmount
2023/03/19 12:38 upstream a3671bd86a97 7939252e .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in diUnmount
2023/09/15 12:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in diUnmount
2023/03/04 01:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 596b6b709632 f8902b57 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-upstream-gce-arm64 WARNING in diUnmount
2023/01/08 23:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in diUnmount
2023/08/28 01:55 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in diUnmount
2023/08/21 02:04 upstream 706a74159504 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/08/20 04:16 upstream 9e6c269de404 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/08/11 04:58 upstream 25aa0bebba72 da3c3ef8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/08/05 19:54 upstream 024ff300db33 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/07/26 11:08 upstream 18b44bc5a672 2a509c27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/07/21 04:59 upstream 57f1f9dd3abe 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in diUnmount
2023/07/07 10:34 upstream a452483508d7 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/07/01 16:50 upstream b25f62ccb490 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in diUnmount
2023/06/25 08:14 upstream a92b7d26c743 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in diUnmount
2023/06/23 12:18 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/06/01 23:50 upstream 1874a42a7d74 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/30 00:44 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in diUnmount
2023/05/29 16:57 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/27 01:03 upstream 0d85b27b0cc6 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/22 06:16 upstream e2065b8c1b01 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/21 07:37 upstream 0dd2a6fb1e34 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/19 03:27 upstream 2d1bcbc6cd70 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/16 08:45 upstream f1fcbaa18b28 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/13 03:33 upstream 9a48d6046722 ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/12 23:13 upstream cc3c44c9fda2 ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/05/12 15:59 upstream cc3c44c9fda2 ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/23 15:42 upstream 622322f53c6d 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/23 03:01 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/22 19:35 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/20 02:44 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/18 18:00 upstream 6a8f57ae2eb0 d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/18 05:57 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/17 17:57 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/16 06:18 upstream a7a55e27ad72 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/15 07:04 upstream 95abc817ab3a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/13 03:33 upstream 0bcc40255504 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/12 11:08 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/09 00:03 upstream a79d5c76f705 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/07 18:44 upstream f2afccfefe7b f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/05 08:18 upstream 76f598ba7d8e 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/04/01 01:40 upstream 5a57b48fdfcb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/03/28 05:30 upstream 91fe204578ba 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in diUnmount
2023/03/27 03:11 upstream 18940c888c85 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/03/26 07:36 upstream da8e7da11e4b fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/03/24 04:12 upstream 9fd6ba5420ba f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in diUnmount
2023/07/02 18:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/06/19 23:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/05/12 05:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/05/10 19:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/04/25 06:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/04/24 01:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/04/18 13:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 327bf9bb94cf 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/04/02 15:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
2023/03/29 12:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb fc067f05 .config console log report info ci-upstream-gce-arm64 WARNING in diUnmount
2022/11/22 03:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a77d28d13789 1c576c23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in diUnmount
* Struck through repros no longer work on HEAD.