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: 405d, last: 1d06h
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 6227 35m 680d 0/27 upstream: reported C repro on 2022/10/28 23:45
linux-5.15 kernel BUG in dnotify_free_mark origin:upstream C 262 1d00h 51d 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: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.1.87-syzkaller #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+0x53/0x60 fs/notify/dnotify/dnotify.c:136
Code: 48 89 df e8 8f 17 de ff 48 83 3b 00 75 17 e8 44 a0 86 ff 48 8b 3d bd b9 6f 0c 4c 89 f6 5b 41 5e e9 82 40 dd ff e8 2d a0 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:ffffc900000e7b88 EFLAGS: 00010293
RAX: ffffffff8203ef33 RBX: ffff88807a257080 RCX: ffff88813feb8000
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff88807a257000
RBP: ffffc900000e7c50 R08: ffffffff8203601c R09: ffffed10050c9e02
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888145ea2800
R13: ffffc900000e7be0 R14: ffff88807a257000 R15: ffff88807a257000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056368e2c2df8 CR3: 000000001f4f8000 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+0x2c7/0x340 fs/notify/mark.c:902
 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:308
 </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 8f 17 de ff 48 83 3b 00 75 17 e8 44 a0 86 ff 48 8b 3d bd b9 6f 0c 4c 89 f6 5b 41 5e e9 82 40 dd ff e8 2d a0 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:ffffc900000e7b88 EFLAGS: 00010293
RAX: ffffffff8203ef33 RBX: ffff88807a257080 RCX: ffff88813feb8000
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff88807a257000
RBP: ffffc900000e7c50 R08: ffffffff8203601

Crashes (407):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/09/06 17:19 linux-6.1.y 699506173494 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/05 10:56 linux-6.1.y 699506173494 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/05 10:55 linux-6.1.y 699506173494 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/04 21:11 linux-6.1.y 699506173494 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/04 15:37 linux-6.1.y 699506173494 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/04 08:22 linux-6.1.y 311d8503ef9f 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/04 08:21 linux-6.1.y 311d8503ef9f 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/03 11:11 linux-6.1.y 311d8503ef9f 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/09/02 22:46 linux-6.1.y 311d8503ef9f 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/30 21:16 linux-6.1.y 311d8503ef9f 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/30 06:47 linux-6.1.y 311d8503ef9f ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/29 14:51 linux-6.1.y ee5e09825b81 9bd464fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/28 15:43 linux-6.1.y ee5e09825b81 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/27 19:02 linux-6.1.y ee5e09825b81 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/26 16:21 linux-6.1.y ee5e09825b81 9aee4e0b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/23 13:28 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/23 00:38 linux-6.1.y ee5e09825b81 ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/22 03:52 linux-6.1.y ee5e09825b81 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/21 10:49 linux-6.1.y ee5e09825b81 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/19 11:22 linux-6.1.y ee5e09825b81 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/19 07:09 linux-6.1.y ee5e09825b81 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/19 07:07 linux-6.1.y ee5e09825b81 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/17 01:52 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/16 10:56 linux-6.1.y 117ac406ba90 e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/15 04:40 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/14 15:34 linux-6.1.y 117ac406ba90 e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/14 15:32 linux-6.1.y 117ac406ba90 e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/14 10:48 linux-6.1.y 36790ef5e00b 07a4d4ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/13 17:40 linux-6.1.y 36790ef5e00b f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/13 07:19 linux-6.1.y 36790ef5e00b 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/12 15:53 linux-6.1.y 36790ef5e00b 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/12 15:51 linux-6.1.y 36790ef5e00b 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/11 19:49 linux-6.1.y 36790ef5e00b 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/10 10:40 linux-6.1.y 48d525b0e463 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/09 13:59 linux-6.1.y 48d525b0e463 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/08 15:59 linux-6.1.y 48d525b0e463 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/08 15:52 linux-6.1.y 48d525b0e463 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/08 02:56 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/07 19:47 linux-6.1.y 48d525b0e463 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/06 18:21 linux-6.1.y 48d525b0e463 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/06 18:21 linux-6.1.y 48d525b0e463 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/06 06:56 linux-6.1.y 48d525b0e463 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2024/08/05 18:44 linux-6.1.y 48d525b0e463 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in dnotify_free_mark
2023/10/31 09:10 linux-6.1.y 32c9cdbe383c b5729d82 .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.