syzbot


kernel BUG in dnotify_free_mark

Status: upstream: reported C repro on 2023/07/30 07:52
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+2f4aa3239150dd006e44@syzkaller.appspotmail.com
First crash: 480d, last: 12h07m
Fix commit to backport (bisect log) :
tree: upstream
commit 4ad5c924df6cd6d85708fa23f9d9a2b78a2e428e
Author: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Date: Fri Sep 22 10:07:59 2023 +0000

  fs/ntfs3: Allow repeated call to ntfs3_put_sbi

  
Bug presence (3)
Date Name Commit Repro Result
2023/10/28 linux-6.1.y (ToT) 32c9cdbe383c C [report] kernel BUG in dnotify_free_mark
2023/07/30 upstream (ToT) d31e3792919e C [report] kernel BUG in dnotify_free_mark
2023/10/28 upstream (ToT) 2af9b20dbb39 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in dnotify_free_mark ntfs3 C error 11136 1h13m 754d 0/28 upstream: reported C repro on 2022/10/28 23:45
linux-5.15 kernel BUG in dnotify_free_mark origin:upstream missing-backport C 562 12h19m 126d 0/3 upstream: reported C repro on 2024/07/18 09:21
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/11/23 13:40 3h54m fix candidate upstream OK (1) job log
2023/09/29 04:09 1h18m bisect fix linux-6.1.y OK (0) job log log
marked invalid by web-security-scanner@google.com

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/notify/dnotify/dnotify.c:136!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 75 Comm: kworker/u4:4 Not tainted 6.1.116-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound fsnotify_mark_destroy_workfn
RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136
Code: 48 89 df e8 7f e7 dd ff 48 83 3b 00 75 17 e8 04 5f 86 ff 48 8b 3d 6d 0c 96 0c 4c 89 f6 5b 41 5e e9 82 10 dd ff e8 ed 5e 86 ff <0f> 0b cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 41 55 41 54
RSP: 0018:ffffc900015b7b88 EFLAGS: 00010293
RAX: ffffffff82042d43 RBX: ffff88802f1dc080 RCX: ffff888018dd9dc0
RDX: 0000000000000000 RSI: 0000000000000026 RDI: ffff88802f1dc000
RBP: ffffc900015b7c50 R08: ffffffff82039cdc R09: ffffed1029a24c02
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888142ead800
R13: ffffc900015b7be0 R14: ffff88802f1dc000 R15: ffff88802f1dc000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557e1105cf70 CR3: 000000000d08e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 fsnotify_final_mark_destroy fs/notify/mark.c:304 [inline]
 fsnotify_mark_destroy_workfn+0x2c7/0x340 fs/notify/mark.c:928
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136
Code: 48 89 df e8 7f e7 dd ff 48 83 3b 00 75 17 e8

Crashes (771):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/09 12:28 linux-6.1.y d7039b844a1c 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/04/20 03:45 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2023/07/30 07:52 linux-6.1.y d2a6dc4eaf6d 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/21 04:10 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/21 03:25 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/20 20:07 linux-6.1.y b67dc5c9ade9 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/12 22:52 linux-6.1.y d7039b844a1c 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/12 03:21 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/11 14:30 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/11 14:30 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/09 18:06 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/08 21:46 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/08 06:00 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/07 15:47 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/07 15:47 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/06 19:08 linux-6.1.y 7c15117f9468 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/06 05:15 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/05 15:50 linux-6.1.y 7c15117f9468 da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/04 20:22 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/01 20:51 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/01 20:51 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/01 16:02 linux-6.1.y 7c15117f9468 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/01 06:04 linux-6.1.y 7c15117f9468 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/31 04:32 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/31 04:28 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/30 15:43 linux-6.1.y 7ec6f9fa3d97 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/29 18:24 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/29 07:18 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/28 19:10 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/28 19:07 linux-6.1.y 7ec6f9fa3d97 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/26 04:29 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/25 15:40 linux-6.1.y 7ec6f9fa3d97 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/25 02:00 linux-6.1.y 7ec6f9fa3d97 c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/24 11:54 linux-6.1.y 7ec6f9fa3d97 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/24 11:48 linux-6.1.y 7ec6f9fa3d97 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/23 01:16 linux-6.1.y 7ec6f9fa3d97 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/22 17:13 linux-6.1.y 7ec6f9fa3d97 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/22 05:55 linux-6.1.y 54d90d17e8ce a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/21 14:14 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/21 14:14 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/18 22:39 linux-6.1.y 54d90d17e8ce cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/17 17:18 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/10/16 19:44 linux-6.1.y aa4cd140bba5 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/11/20 16:10 linux-6.1.y b67dc5c9ade9 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dnotify_free_mark
2024/11/20 15:06 linux-6.1.y b67dc5c9ade9 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dnotify_free_mark
2024/11/20 08:37 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in dnotify_free_mark
* Struck through repros no longer work on HEAD.