syzbot


general protection fault in nfsd_reply_cache_free_locked

Status: auto-closed as invalid on 2021/01/19 08:07
Subsystems: nfs
[Documentation on labels]
Reported-by: syzbot+a29df412692980277f9d@syzkaller.appspotmail.com
First crash: 1411d, last: 1275d
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] general protection fault in nfsd_reply_cache_free_locked (2) 1 (2) 2021/06/15 19:52
Re: BUG: unable to handle kernel paging request in rb_erase 4 (4) 2020/06/26 16:47
Re: BUG: unable to handle kernel paging request in rb_erase 2 (2) 2020/06/03 16:48
general protection fault in nfsd_reply_cache_free_locked 1 (2) 2020/06/03 01:14
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in nfsd_reply_cache_free_locked (2) nfs 6 832d 1016d 0/26 auto-closed as invalid on 2022/04/06 17:29

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000023296: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x00000000001194b0-0x00000000001194b7]
CPU: 0 PID: 12598 Comm: kworker/u4:2 Not tainted 5.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:nfsd_reply_cache_free_locked+0x2d/0x350 fs/nfsd/nfscache.c:123
Code: 56 41 55 41 54 49 89 fc 55 48 89 f5 53 48 89 d3 e8 f8 b2 27 ff 48 8d 7d 61 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 8b 02 00 00
RSP: 0018:ffffc90008a5fb60 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88809263a000 RCX: dffffc0000000000
RDX: 0000000000023296 RSI: ffffffff824e8b48 RDI: 00000000001194b1
RBP: 0000000000119450 R08: 0000000000000001 R09: ffffffff8d0b79ef
R10: 0000000000000800 R11: 0000000000000171 R12: ffff888000119498
R13: 0000000000019498 R14: ffffed1000023294 R15: ffff888000119498
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000748698 CR3: 000000009f98a000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 nfsd_reply_cache_shutdown+0x142/0x2c0 fs/nfsd/nfscache.c:209
 nfsd_exit_net+0x15f/0x490 fs/nfsd/nfsctl.c:1507
 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:186
 cleanup_net+0x4ea/0xa00 net/core/net_namespace.c:603
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace ec69b5c551661901 ]---
RIP: 0010:nfsd_reply_cache_free_locked+0x2d/0x350 fs/nfsd/nfscache.c:123
Code: 56 41 55 41 54 49 89 fc 55 48 89 f5 53 48 89 d3 e8 f8 b2 27 ff 48 8d 7d 61 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 8b 02 00 00
RSP: 0018:ffffc90008a5fb60 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88809263a000 RCX: dffffc0000000000
RDX: 0000000000023296 RSI: ffffffff824e8b48 RDI: 00000000001194b1
RBP: 0000000000119450 R08: 0000000000000001 R09: ffffffff8d0b79ef
R10: 0000000000000800 R11: 0000000000000171 R12: ffff888000119498
R13: 0000000000019498 R14: ffffed1000023294 R15: ffff888000119498
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000748698 CR3: 000000009f98a000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/21 08:07 upstream ba4f184e126b 9564d2e9 .config console log report info ci-upstream-kasan-gce
2020/09/07 02:22 upstream a8205e310011 abf9ba4f .config console log report ci-upstream-kasan-gce
2020/09/01 08:07 upstream b51594df17d0 d5a3ae1f .config console log report ci-upstream-kasan-gce-root
2020/06/04 19:04 upstream acf25aa66371 6720fdef .config console log report ci-upstream-kasan-gce
2020/05/07 23:21 upstream 6e7f2eacf098 6c70a1c2 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.