syzbot


kernel BUG at fs/notify/dnotify/dnotify.c:LINE!

Status: upstream: reported C repro on 2020/10/11 14:27
Reported-by: syzbot+fd77e9f4738708098769@syzkaller.appspotmail.com
First crash: 1346d, last: 843d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/notify/dnotify/dnotify.c:LINE! C error 1 1001d 1315d 0/1 upstream: reported C repro on 2020/11/11 16:55
upstream kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (2) fuse C inconclusive 2 1297d 1303d 19/27 fixed on 2021/03/10 01:48
upstream kernel BUG at fs/notify/dnotify/dnotify.c:LINE! fs 19 2410d 2422d 3/27 fixed on 2017/11/28 03:36
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/02/14 10:32 13m retest repro linux-4.14.y report log
2023/02/14 09:32 11m retest repro linux-4.14.y report log
2022/10/04 16:30 13m retest repro linux-4.14.y report log
2022/10/04 13:30 13m retest repro linux-4.14.y report log
Fix bisection attempts (17)
Created Duration User Patch Repo Result
2022/03/29 20:13 11m bisect fix linux-4.14.y error job log (0)
2022/02/26 13:54 23m bisect fix linux-4.14.y job log (0) log
2022/01/27 13:30 23m bisect fix linux-4.14.y job log (0) log
2021/12/28 13:08 21m bisect fix linux-4.14.y job log (0) log
2021/11/28 12:41 26m bisect fix linux-4.14.y job log (0) log
2021/10/29 12:13 22m bisect fix linux-4.14.y job log (0) log
2021/09/26 13:42 29m bisect fix linux-4.14.y job log (0) log
2021/08/27 13:15 27m bisect fix linux-4.14.y job log (0) log
2021/07/28 12:54 21m bisect fix linux-4.14.y job log (0) log
2021/06/28 12:31 22m bisect fix linux-4.14.y job log (0) log
2021/05/29 10:45 24m bisect fix linux-4.14.y job log (0) log
2021/04/29 10:19 25m bisect fix linux-4.14.y job log (0) log
2021/03/30 09:58 21m bisect fix linux-4.14.y job log (0) log
2021/02/28 09:35 22m bisect fix linux-4.14.y job log (0) log
2021/01/29 09:10 24m bisect fix linux-4.14.y job log (0) log
2020/12/30 08:48 21m bisect fix linux-4.14.y job log (0) log
2020/11/30 04:48 29m bisect fix linux-4.14.y job log (0) log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
kernel BUG at fs/notify/dnotify/dnotify.c:131!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 2902 Comm: kworker/u4:5 Not tainted 4.14.203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound fsnotify_mark_destroy_workfn
task: ffff8880ac34e500 task.stack: ffff8880ac350000
RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:131 [inline]
RIP: 0010:dnotify_free_mark+0x45/0x50 fs/notify/dnotify/dnotify.c:125
RSP: 0018:ffff8880ac357ca0 EFLAGS: 00010297
RAX: ffff8880ac34e500 RBX: ffffffff8793a5a0 RCX: 1ffff1101586afa2
RDX: 0000000000000000 RSI: ffff8880ac34edb0 RDI: ffff888093d6bbb8
RBP: ffff888093d6bb40 R08: ffffffff8b995350 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882391d0000
R13: ffff8880ac357d00 R14: ffff888093d6bb50 R15: ffff888093d6bb58
FS:  0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055839f5d1ed8 CR3: 00000000b02f6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fsnotify_final_mark_destroy+0x77/0xb0 fs/notify/mark.c:192
 fsnotify_mark_destroy_workfn+0x1ec/0x2e0 fs/notify/mark.c:761
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 48 c1 ea 03 80 3c 02 00 75 23 48 83 7d 78 00 75 15 e8 50 37 bf ff 48 89 ee 48 8b 3d 6e e6 70 08 5d e9 70 d2 e8 ff e8 3b 37 bf ff <0f> 0b e8 f4 08 e9 ff eb d6 66 90 41 57 41 56 41 55 41 54 49 89 
RIP: dnotify_free_mark fs/notify/dnotify/dnotify.c:131 [inline] RSP: ffff8880ac357ca0
RIP: dnotify_free_mark+0x45/0x50 fs/notify/dnotify/dnotify.c:125 RSP: ffff8880ac357ca0
---[ end trace 333175282f3b5516 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/31 04:48 linux-4.14.y 2b7915014161 18e33098 .config console log report syz C ci2-linux-4-14
2020/10/11 14:51 linux-4.14.y cbfa1702aaf6 4a77ae0b .config console log report syz C ci2-linux-4-14
2020/10/11 14:27 linux-4.14.y cbfa1702aaf6 4a77ae0b .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.