syzbot


kernel BUG in dnotify_free_mark

Status: upstream: reported C repro on 2022/10/28 23:45
Labels: ntfs3 (incorrect?)
Reported-by: syzbot+06cc05ddc896f12b7ec5@syzkaller.appspotmail.com
First crash: 219d, last: 7d10h

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
Last patch testing requests (2)
Created Duration User Patch Repo Result
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:136!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.0-rc3-syzkaller-00152-gf2f32f8af2b0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
Workqueue: events_unbound fsnotify_mark_destroy_workfn
RIP: 0010:dnotify_free_mark+0x4b/0x60 fs/notify/dnotify/dnotify.c:136
Code: 80 3c 02 00 75 26 48 83 bd 80 00 00 00 00 75 15 e8 8a 51 92 ff 48 89 ee 48 8b 3d d0 f4 f7 0b 5d e9 4a 62 de ff e8 75 51 92 ff <0f> 0b e8 ee a3 de ff eb d3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41
RSP: 0018:ffffc90000107c50 EFLAGS: 00010293
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888011a53a80 RSI: ffffffff81ea5b1b RDI: ffff888079d1f080
RBP: ffff888079d1f000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000008c07e R12: ffff888145fd4000
R13: ffffc90000107c90 R14: ffff888079d1f010 R15: ffff888079d1f018
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d18dda9288 CR3: 00000000721b7000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 fsnotify_final_mark_destroy fs/notify/mark.c:278 [inline]
 fsnotify_mark_destroy_workfn+0x22e/0x3c0 fs/notify/mark.c:902
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dnotify_free_mark+0x4b/0x60 fs/notify/dnotify/dnotify.c:136
Code: 80 3c 02 00 75 26 48 83 bd 80 00 00 00 00 75 15 e8 8a 51 92 ff 48 89 ee 48 8b 3d d0 f4 f7 0b 5d e9 4a 62 de ff e8 75 51 92 ff <0f> 0b e8 ee a3 de ff eb d3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41
RSP: 0018:ffffc90000107c50 EFLAGS: 00010293

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
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
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/04/24 05:11 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/04/21 17:05 upstream 2af3e53a4dc0 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/04/17 12:29 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2023/02/04 20:18 upstream 0136d86b7852 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2022/12/27 10:04 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2022/12/24 05:48 upstream 51094a24b85e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in dnotify_free_mark
2022/12/17 13:35 upstream 77856d911a8c 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs 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
* Struck through repros no longer work on HEAD.