syzbot


general protection fault in drop_sysctl_table

Status: auto-closed as invalid on 2020/12/19 16:03
Subsystems: fs
[Documentation on labels]
First crash: 1741d, last: 1741d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in drop_sysctl_table 1 1450d 1450d 0/1 auto-closed as invalid on 2021/11/05 12:30
linux-4.14 general protection fault in drop_sysctl_table 1 1525d 1525d 0/1 auto-closed as invalid on 2021/08/22 12:55
upstream general protection fault in drop_sysctl_table (2) fs 1 1329d 1329d 0/29 auto-closed as invalid on 2022/02/04 05:07

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000eeeeee: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000007777770-0x0000000007777777]
CPU: 0 PID: 37 Comm: kworker/u4:2 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline]
RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline]
RIP: 0010:rb_erase+0x652/0x1210 lib/rbtree.c:445
Code: db 00 00 00 41 83 e4 01 0f 85 41 fc ff ff e9 0a fc ff ff 4c 89 e8 49 89 ee 4c 89 6d 10 48 c1 e8 03 49 89 6c 24 08 49 83 ce 01 <80> 3c 18 00 0f 85 50 08 00 00 48 89 e8 4d 89 75 00 48 c1 e8 03 80
RSP: 0018:ffffc90000e87748 EFLAGS: 00010286
RAX: 0000000000eeeeee RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffed1014318f0a RSI: ffff888052c12658 RDI: ffff88800011f460
RBP: ffff888052c12658 R08: 0000000000000001 R09: 0000000000000003
R10: fffff520001d0ee5 R11: 0000000000000000 R12: ffff88800011f458
R13: 0000000007777777 R14: ffff888052c12659 R15: ffff8880a18c7850
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000748698 CR3: 00000000a7e46000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 erase_entry fs/proc/proc_sysctl.c:184 [inline]
 erase_header fs/proc/proc_sysctl.c:213 [inline]
 start_unregistering fs/proc/proc_sysctl.c:304 [inline]
 drop_sysctl_table+0x233/0x4e0 fs/proc/proc_sysctl.c:1639
 unregister_sysctl_table fs/proc/proc_sysctl.c:1681 [inline]
 unregister_sysctl_table+0xbd/0x190 fs/proc/proc_sysctl.c:1656
 __devinet_sysctl_unregister net/ipv4/devinet.c:2595 [inline]
 devinet_sysctl_unregister net/ipv4/devinet.c:2623 [inline]
 inetdev_destroy net/ipv4/devinet.c:324 [inline]
 inetdev_event+0xc25/0x14fd net/ipv4/devinet.c:1599
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2033
 call_netdevice_notifiers_extack net/core/dev.c:2045 [inline]
 call_netdevice_notifiers net/core/dev.c:2059 [inline]
 rollback_registered_many+0x77a/0x1250 net/core/dev.c:9284
 unregister_netdevice_many.part.0+0x1a/0x2f0 net/core/dev.c:10429
 unregister_netdevice_many+0x36/0x50 net/core/dev.c:10428
 vti6_exit_batch_net+0x423/0x660 net/ipv6/ip6_vti.c:1191
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:189
 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 90462c8923ca67e7 ]---
RIP: 0010:rb_set_parent_color include/linux/rbtree_augmented.h:165 [inline]
RIP: 0010:____rb_erase_color lib/rbtree.c:359 [inline]
RIP: 0010:rb_erase+0x652/0x1210 lib/rbtree.c:445
Code: db 00 00 00 41 83 e4 01 0f 85 41 fc ff ff e9 0a fc ff ff 4c 89 e8 49 89 ee 4c 89 6d 10 48 c1 e8 03 49 89 6c 24 08 49 83 ce 01 <80> 3c 18 00 0f 85 50 08 00 00 48 89 e8 4d 89 75 00 48 c1 e8 03 80
RSP: 0018:ffffc90000e87748 EFLAGS: 00010286
RAX: 0000000000eeeeee RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffed1014318f0a RSI: ffff888052c12658 RDI: ffff88800011f460
RBP: ffff888052c12658 R08: 0000000000000001 R09: 0000000000000003
R10: fffff520001d0ee5 R11: 0000000000000000 R12: ffff88800011f458
R13: 0000000007777777 R14: ffff888052c12659 R15: ffff8880a18c7850
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000748698 CR3: 00000000a7e46000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/20 16:01 upstream 325d0eab4f31 9564d2e9 .config console log report info ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.