syzbot


general protection fault in drop_sysctl_table

Status: auto-closed as invalid on 2021/08/22 12:55
Reported-by: syzbot+93f7accbbfa0373e035b@syzkaller.appspotmail.com
First crash: 1289d, last: 1289d
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 1214d 1214d 0/1 auto-closed as invalid on 2021/11/05 12:30
upstream general protection fault in drop_sysctl_table (2) fs 1 1094d 1094d 0/28 auto-closed as invalid on 2022/02/04 05:07
upstream general protection fault in drop_sysctl_table fs 1 1505d 1505d 0/28 auto-closed as invalid on 2020/12/19 16:03

Sample crash report:
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.231-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
task: ffff8880b55ec5c0 task.stack: ffff8880b55f8000
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:202 [inline]
RIP: 0010:rb_erase+0x84/0x1290 lib/rbtree.c:459
RSP: 0018:ffff8880b55ff6b0 EFLAGS: 00010206
RAX: 0007770007777777 RBX: dffffc0000000000 RCX: 000eeeee0000eee2
RDX: dffffc0000000000 RSI: ffff8880923480d0 RDI: 0077777000077710
RBP: ffff888000108440 R08: ffffffff8b9b3070 R09: 0000000000040054
R10: ffff8880b55ecee8 R11: ffff8880b55ec5c0 R12: ffff888000108510
R13: ffff888000108510 R14: 0077777000077700 R15: ffff8880923480d0
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f143b73e018 CR3: 00000000917da000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 erase_entry fs/proc/proc_sysctl.c:178 [inline]
 erase_header fs/proc/proc_sysctl.c:207 [inline]
 start_unregistering fs/proc/proc_sysctl.c:331 [inline]
 drop_sysctl_table+0x504/0x880 fs/proc/proc_sysctl.c:1629
 unregister_sysctl_table fs/proc/proc_sysctl.c:1671 [inline]
 unregister_sysctl_table+0xb1/0x190 fs/proc/proc_sysctl.c:1646
 __addrconf_sysctl_unregister net/ipv6/addrconf.c:6449 [inline]
 addrconf_sysctl_unregister+0xee/0x1c0 net/ipv6/addrconf.c:6477
 addrconf_ifdown.isra.0+0xf40/0x13f0 net/ipv6/addrconf.c:3738
 addrconf_notify+0x116/0x1c20 net/ipv6/addrconf.c:3508
 notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93
 call_netdevice_notifiers_info net/core/dev.c:1667 [inline]
 call_netdevice_notifiers net/core/dev.c:1683 [inline]
 rollback_registered_many+0x765/0xba0 net/core/dev.c:7203
 unregister_netdevice_many.part.0+0x18/0x2e0 net/core/dev.c:8285
 unregister_netdevice_many net/core/dev.c:8284 [inline]
 default_device_exit_batch+0x2d8/0x380 net/core/dev.c:8746
 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:145
 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:484
 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: 8b 44 24 10 48 85 c0 0f 84 9b 02 00 00 4d 85 f6 0f 84 f0 01 00 00 49 8d 7e 10 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 b6 0c 00 00 49 8b 5e 10 4c 89 f1 4c 89 f5 48 
RIP: __rb_erase_augmented include/linux/rbtree_augmented.h:202 [inline] RSP: ffff8880b55ff6b0
RIP: rb_erase+0x84/0x1290 lib/rbtree.c:459 RSP: ffff8880b55ff6b0
---[ end trace 299e4dfad432985d ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/24 12:54 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in drop_sysctl_table
* Struck through repros no longer work on HEAD.