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

5 views
Skip to first unread message

syzbot

unread,
Oct 11, 2020, 10:27:17 AM10/11/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: cbfa1702 Linux 4.14.198
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13b1d558500000
kernel config: https://syzkaller.appspot.com/x/.config?x=3990958d85b55e59
dashboard link: https://syzkaller.appspot.com/bug?extid=fd77e9f4738708098769
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd77e9...@syzkaller.appspotmail.com

tmpfs: No value for mount option 'dont_hash'
(syz-executor.0,8246,1):ocfs2_parse_options:1498 ERROR: Invalid heartbeat mount options
------------[ cut here ]------------
kernel BUG at fs/notify/dnotify/dnotify.c:131!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 2332 Comm: kworker/u4:3 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound fsnotify_mark_destroy_workfn
task: ffff8880a1488240 task.stack: ffff8880a1490000
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:ffff8880a1497ca0 EFLAGS: 00010297
RAX: ffff8880a1488240 RBX: ffffffff86b3cae0 RCX: 1ffff11014292fa2
RDX: 0000000000000000 RSI: ffff8880a1488af0 RDI: ffff8880a0146af8
RBP: ffff8880a0146a80 R08: ffffffff8a0a8530 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882194b42c0
R13: ffff88808b2de3c0 R14: ffff8880a0146a90 R15: ffff8880a0146a98
FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f749f615000 CR3: 000000008c663000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
x_tables: ip6_tables: icmp6 match: only valid for protocol 58
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 40 60 bf ff 48 89 ee 48 8b 3d 5e f2 f6 06 5d e9 e0 fc e8 ff e8 2b 60 bf ff <0f> 0b e8 64 33 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: ffff8880a1497ca0
RIP: dnotify_free_mark+0x45/0x50 fs/notify/dnotify/dnotify.c:125 RSP: ffff8880a1497ca0
(syz-executor.0,8246,1):ocfs2_fill_super:1217 ERROR: status = -22
audit: type=1400 audit(1602426414.566:13): avc: denied { ioctl } for pid=8145 comm="syz-executor.2" path="socket:[29262]" dev="sockfs" ino=29262 ioctlcmd=0x8941 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1
---[ end trace e523d7ec7c8cb58f ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Oct 11, 2020, 10:52:20 AM10/11/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: cbfa1702 Linux 4.14.198
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15b4c958500000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=163c5d84500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=156937fb900000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd77e9...@syzkaller.appspotmail.com

audit: type=1400 audit(1602427790.651:8): avc: denied { execmem } for pid=6361 comm="syz-executor030" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
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: 0 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound fsnotify_mark_destroy_workfn
task: ffff8880a982c140 task.stack: ffff8880a9838000
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:ffff8880a983fca0 EFLAGS: 00010297
RAX: ffff8880a982c140 RBX: ffffffff86b3cae0 RCX: 1ffff11015307fa2
RDX: 0000000000000000 RSI: ffff8880a982c9f0 RDI: ffff8880a7e53bb8
RBP: ffff8880a7e53b40 R08: ffffffff8a0ac838 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a61a4a80
R13: ffff8880a983fd00 R14: ffff8880a7e53b50 R15: ffff8880a7e53b58
FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3108cda008 CR3: 0000000089583000 CR4: 00000000001406f0
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 40 60 bf ff 48 89 ee 48 8b 3d 5e f2 f6 06 5d e9 e0 fc e8 ff e8 2b 60 bf ff <0f> 0b e8 64 33 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: ffff8880a983fca0
RIP: dnotify_free_mark+0x45/0x50 fs/notify/dnotify/dnotify.c:125 RSP: ffff8880a983fca0
---[ end trace e760a4d3fdba4aca ]---

Reply all
Reply to author
Forward
0 new messages