syzbot


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

Status: fixed on 2021/03/10 01:48
Subsystems: fuse
[Documentation on labels]
Reported-by: syzbot+f427adf9324b92652ccc@syzkaller.appspotmail.com
Fix commit: 5d069dbe8aaf fuse: fix bad inode
First crash: 1415d, last: 1408d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (log)
Repro: C syz .config
  
Discussions (6)
Title Replies (including bot) Last reply
[PATCH 4.19 000/239] 4.19.226-rc1 review 253 (253) 2022/02/03 14:51
[PATCH 4.9 000/157] 4.9.298-rc1 review 162 (162) 2022/01/25 14:34
[PATCH 4.14 000/186] 4.14.263-rc1 review 190 (190) 2022/01/25 12:40
[PATCH 5.10 00/20] 5.10.6-rc1 review 27 (27) 2021/01/10 11:31
[PATCH 5.4 00/13] 5.4.88-rc1 review 17 (17) 2021/01/08 17:39
kernel BUG at fs/notify/dnotify/dnotify.c:LINE! (2) 4 (5) 2020/12/09 16:26
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 1112d 1425d 0/1 upstream: reported C repro on 2020/11/11 16:55
linux-4.14 kernel BUG at fs/notify/dnotify/dnotify.c:LINE! C error 3 953d 1456d 0/1 upstream: reported C repro on 2020/10/11 14:27
upstream kernel BUG at fs/notify/dnotify/dnotify.c:LINE! fs 19 2521d 2533d 3/28 fixed on 2017/11/28 03:36

Sample crash report:
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
------------[ cut here ]------------
kernel BUG at fs/notify/dnotify/dnotify.c:118!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 648 Comm: kworker/u4:4 Not tainted 5.10.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound fsnotify_mark_destroy_workfn
RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:118 [inline]
RIP: 0010:dnotify_free_mark+0x4b/0x60 fs/notify/dnotify/dnotify.c:112
Code: 80 3c 02 00 75 26 48 83 bd 80 00 00 00 00 75 15 e8 0a d3 a0 ff 48 89 ee 48 8b 3d 68 8c 1d 0b 5d e9 aa 06 e2 ff e8 f5 d2 a0 ff <0f> 0b e8 ae 4d e2 ff eb d3 66 90 66 2e 0f 1f 84 00 00 00 00 00 41
RSP: 0018:ffffc90002f1fc38 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffffff8958ae60 RCX: 1ffff920005e3f95
RDX: ffff888012601a40 RSI: ffffffff81cf5ceb RDI: ffff88801aea2080
RBP: ffff88801aea2000 R08: 0000000000000001 R09: ffffffff8ebb170f
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880171a2000
R13: ffffc90002f1fc98 R14: ffff88801aea2010 R15: ffff88801aea2018
FS:  0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056045fa95978 CR3: 0000000012121000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 fsnotify_final_mark_destroy+0x71/0xb0 fs/notify/mark.c:205
 fsnotify_mark_destroy_workfn+0x1eb/0x340 fs/notify/mark.c:840
 process_one_work+0x933/0x15a0 kernel/workqueue.c:2272
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2418
 kthread+0x3af/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Modules linked in:

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/21 19:39 upstream 27bba9c532a8 68068804 .config console log report syz C ci-upstream-kasan-gce
2020/11/28 20:15 upstream c84e1efae022 76b4dcc7 .config console log report syz C ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.