syzbot


kernel BUG in dnotify_free_mark

Status: upstream: reported C repro on 2022/10/28 23:45
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+06cc05ddc896f12b7ec5@syzkaller.appspotmail.com
First crash: 546d, last: 6h25m
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] kernel BUG in dnotify_free_mark 3 (4) 2022/11/01 10:57
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in dnotify_free_mark origin:upstream missing-backport C done 5 3d04h 268d 0/3 upstream: reported C repro on 2023/07/30 07:52
Last patch testing requests (12)
Created Duration User Patch Repo Result
2024/01/20 11:50 16m retest repro upstream OK log
2024/01/20 11:51 21m retest repro upstream OK log
2024/01/20 11:50 17m retest repro upstream OK log
2024/01/20 11:51 24m retest repro linux-next OK log
2024/01/20 11:50 19m retest repro upstream OK log
2023/12/25 10:53 20m retest repro upstream OK log
2023/12/25 10:53 13m retest repro upstream report log
2023/09/07 23:13 35m retest repro upstream report log
2023/09/07 23:13 1h15m retest repro upstream report log
2023/09/07 23:13 1h07m retest repro linux-next report log
2022/10/29 07:31 26m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 247f34f7b803 OK log
2022/10/29 06:03 16m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 247f34f7b803 report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2023/05/24 15:02 35m bisect fix upstream job log (0) log
2023/04/05 20:40 50m bisect fix upstream job log (0) log
2023/03/06 20:19 20m bisect fix upstream job log (0) log
2023/02/01 16:40 22m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/notify/dnotify/dnotify.c:135!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 PID: 1047 Comm: kworker/u8:6 Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound fsnotify_mark_destroy_workfn
RIP: 0010:dnotify_free_mark+0x58/0x60 fs/notify/dnotify/dnotify.c:135
Code: 89 df e8 ab c3 da ff 48 83 3b 00 75 17 e8 40 b2 79 ff 48 8b 3d a9 57 b7 0b 4c 89 f6 5b 41 5e e9 ee 52 cf ff e8 29 b2 79 ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900041f7ae8 EFLAGS: 00010293
RAX: ffffffff821c4e47 RBX: ffff88802446a080 RCX: ffff888021fc9e00
RDX: 0000000000000000 RSI: ffffffff8bcab8a0 RDI: ffff88802446a000
RBP: ffffc900041f7bb0 R08: ffffffff92efb5bf R09: 1ffffffff25df6b7
R10: dffffc0000000000 R11: ffffffff821c4df0 R12: ffff888017ff9800
R13: ffffc900041f7b40 R14: ffff88802446a000 R15: ffff88802446a000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f67dc0024d0 CR3: 000000007e43a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 fsnotify_final_mark_destroy fs/notify/mark.c:278 [inline]
 fsnotify_mark_destroy_workfn+0x2cf/0x350 fs/notify/mark.c:866
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dnotify_free_mark+0x58/0x60 fs/notify/dnotify/dnotify.c:135
Code: 89 df e8 ab c3 da ff 48 83 3b 00 75 17 e8 40 b2 79 ff 48 8b 3d a9 57 b7 0b 4c 89 f6 5b 41 5e e9 ee 52 cf ff e8 29 b2 79 ff 90 <0f> 
----------------
Code disassembly (best guess):
   0:	89 df                	mov    %ebx,%edi
   2:	e8 ab c3 da ff       	call   0xffdac3b2
   7:	48 83 3b 00          	cmpq   $0x0,(%rbx)
   b:	75 17                	jne    0x24
   d:	e8 40 b2 79 ff       	call   0xff79b252
  12:	48 8b 3d a9 57 b7 0b 	mov    0xbb757a9(%rip),%rdi        # 0xbb757c2
  19:	4c 89 f6             	mov    %r14,%rsi
  1c:	5b                   	pop    %rbx
  1d:	41 5e                	pop    %r14
  1f:	e9 ee 52 cf ff       	jmp    0xffcf5312
  24:	e8 29 b2 79 ff       	call   0xff79b252
  29:	90                   	nop
* 2a:	0f                   	.byte 0xf <-- trapping instruction

Crashes (244):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/22 02:03 upstream 3b68086599f8 af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/01 06:34 upstream fe46a7dd189e 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root kernel BUG in dnotify_free_mark
2024/03/07 23:10 upstream 135288b73cef 2b789849 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in dnotify_free_mark
2024/03/01 04:49 upstream 87adedeba51a 352ab904 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs kernel BUG in dnotify_free_mark
2022/11/04 05:18 upstream f2f32f8af2b0 6d752409 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in dnotify_free_mark
2023/11/21 01:27 upstream 98b1cc82c4af cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/11/20 23:11 upstream 98b1cc82c4af cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in dnotify_free_mark
2023/07/03 07:09 upstream a901a3568fd2 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in dnotify_free_mark
2023/06/04 13:35 upstream e5282a7d8f6b a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in dnotify_free_mark
2022/10/25 00:02 upstream 247f34f7b803 faae2fda .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/08/11 23:43 linux-next 21ef7b1e17d0 39990d51 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in dnotify_free_mark
2024/04/23 01:50 upstream a2c63a3f3d68 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/22 06:27 upstream 3b68086599f8 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 20:44 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 16:39 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 16:13 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 12:14 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 07:43 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 03:17 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 02:24 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 02:00 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 01:53 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/20 01:50 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/12 04:44 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/09 18:47 upstream fe46a7dd189e f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/09 17:45 upstream fe46a7dd189e f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/09 16:06 upstream fe46a7dd189e f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/09 14:31 upstream fe46a7dd189e f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/04/09 05:51 upstream fe46a7dd189e f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/24 12:04 upstream fe46a7dd189e 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/12 05:34 upstream 86833aec4479 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/11 21:27 upstream e8f897f4afef 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/11 06:21 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/05 07:21 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/03/01 04:18 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/02/17 12:09 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/01/24 17:33 upstream 615d30064886 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/01/21 19:34 upstream 7a396820222d 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/01/06 11:48 upstream a4ab2706bb12 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/27 13:03 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/25 21:46 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/11 10:31 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/09 15:21 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/09 13:03 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/06 22:24 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/05 07:38 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/03 12:31 upstream 1b8af6552cb7 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/12/02 01:33 upstream 994d5c58e50e f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/11/25 06:17 upstream 0f5cc96c367f 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/11/24 06:29 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/11/20 22:26 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in dnotify_free_mark
2024/04/16 19:10 upstream 96fca68c4fbf 2338035c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in dnotify_free_mark
2024/02/25 05:41 upstream f2e367d6ad3b 8d446f15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in dnotify_free_mark
2024/04/20 04:07 upstream dbe0a7be2838 af24b050 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in dnotify_free_mark
2024/04/20 02:16 upstream dbe0a7be2838 af24b050 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in dnotify_free_mark
2024/04/20 02:11 upstream dbe0a7be2838 af24b050 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in dnotify_free_mark
2022/10/24 23:39 upstream 247f34f7b803 faae2fda .config console log report info [disk image] [vmlinux] ci2-upstream-fs kernel BUG in dnotify_free_mark
2024/02/14 11:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f735966ee23c d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in dnotify_free_mark
* Struck through repros no longer work on HEAD.