syzbot


upstream boot error: general protection fault in nl80211_put_iface_combinations

Status: upstream: reported on 2022/08/16 08:37
Reported-by: syzbot+684d4ca200fda0b2141e@syzkaller.appspotmail.com
First crash: 52d, last: 47d

Sample crash report:
usbcore: registered new interface driver nfcmrvl
Loading iSCSI transport class v2.0-870.
scsi host0: Virtio SCSI HBA
st: Version 20160209, fixed bufsize 32768, s/g segs 256
Rounding down aligned max_sectors from 4294967295 to 4294967288
db_root: cannot open: /etc/target
slram: not enough parameters.
ftl_cs: FTL header not found.
wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
eql: Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
MACsec IEEE 802.1AE
tun: Universal TUN/TAP device driver, 1.6
vcan: Virtual CAN interface driver
vxcan: Virtual CAN Tunnel driver
slcan: serial line CAN interface driver
CAN device driver interface
usbcore: registered new interface driver usb_8dev
usbcore: registered new interface driver ems_usb
usbcore: registered new interface driver gs_usb
usbcore: registered new interface driver kvaser_usb
usbcore: registered new interface driver mcba_usb
usbcore: registered new interface driver peak_usb
e100: Intel(R) PRO/100 Network Driver
e100: Copyright(c) 1999-2006 Intel Corporation
e1000: Intel(R) PRO/1000 Network Driver
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
mkiss: AX.25 Multikiss, Hans Albas PE1AYX
AX.25: 6pack driver, Revision: 0.3.0
AX.25: bpqether driver version 004
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered PF_PPPOX protocol family
PPTP driver version 0.8.5
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
hdlc: HDLC support module revision 1.22
LAPB Ethernet driver version 0.02
usbcore: registered new interface driver ath9k_htc
usbcore: registered new interface driver carl9170
usbcore: registered new interface driver ath6kl_usb
usbcore: registered new interface driver ar5523
usbcore: registered new interface driver ath10k_usb
usbcore: registered new interface driver rndis_wlan
mac80211_hwsim: initializing netlink
general protection fault, probably for non-canonical address 0xffff000000000000: 0000 [#1] PREEMPT SMP
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.0.0-rc1-syzkaller-00017-g3cc40a443a04 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:nl80211_put_iface_combinations+0x19d/0x4b0 net/wireless/nl80211.c:1632
Code: 00 00 e8 96 5d 2d fd 48 85 ed 0f 84 d4 00 00 00 e8 88 5d 2d fd 49 8b 06 ba 04 00 00 00 48 89 df 48 8d 4c 24 2c be 01 00 00 00 <42> 0f b7 04 28 89 44 24 2c e8 85 82 3d fe 31 ff 41 89 c7 89 c6 e8
RSP: 0000:ffffc90000273a50 EFLAGS: 00010293
RAX: ffff000000000000 RBX: ffff8881022c6800 RCX: ffffc90000273a7c
RDX: 0000000000000004 RSI: 0000000000000001 RDI: ffff8881022c6800
RBP: ffff8881077b794c R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000002f8b8 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888107a14c88 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 0000000005a29000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nl80211_send_wiphy+0x9b4/0x4170 net/wireless/nl80211.c:2648
 nl80211_notify_wiphy+0x8f/0x140 net/wireless/nl80211.c:17164
 wiphy_register+0x112f/0x1400 net/wireless/core.c:942
 ieee80211_register_hw+0x11c9/0x1590 net/mac80211/main.c:1379
 mac80211_hwsim_new_radio+0xc3f/0x1520 drivers/net/wireless/mac80211_hwsim.c:4129
 init_mac80211_hwsim+0x43d/0x5ae drivers/net/wireless/mac80211_hwsim.c:5379
 do_one_initcall+0x5e/0x2e0 init/main.c:1296
 do_initcall_level init/main.c:1369 [inline]
 do_initcalls init/main.c:1385 [inline]
 do_basic_setup init/main.c:1404 [inline]
 kernel_init_freeable+0x255/0x2cf init/main.c:1611
 kernel_init+0x1a/0x1c0 init/main.c:1500
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:nl80211_put_iface_combinations+0x19d/0x4b0 net/wireless/nl80211.c:1632
Code: 00 00 e8 96 5d 2d fd 48 85 ed 0f 84 d4 00 00 00 e8 88 5d 2d fd 49 8b 06 ba 04 00 00 00 48 89 df 48 8d 4c 24 2c be 01 00 00 00 <42> 0f b7 04 28 89 44 24 2c e8 85 82 3d fe 31 ff 41 89 c7 89 c6 e8
RSP: 0000:ffffc90000273a50 EFLAGS: 00010293
RAX: ffff000000000000 RBX: ffff8881022c6800 RCX: ffffc90000273a7c
RDX: 0000000000000004 RSI: 0000000000000001 RDI: ffff8881022c6800
RBP: ffff8881077b794c R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000002f8b8 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888107a14c88 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 0000000005a29000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	e8 96 5d 2d fd       	callq  0xfd2d5d9d
   7:	48 85 ed             	test   %rbp,%rbp
   a:	0f 84 d4 00 00 00    	je     0xe4
  10:	e8 88 5d 2d fd       	callq  0xfd2d5d9d
  15:	49 8b 06             	mov    (%r14),%rax
  18:	ba 04 00 00 00       	mov    $0x4,%edx
  1d:	48 89 df             	mov    %rbx,%rdi
  20:	48 8d 4c 24 2c       	lea    0x2c(%rsp),%rcx
  25:	be 01 00 00 00       	mov    $0x1,%esi
* 2a:	42 0f b7 04 28       	movzwl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	89 44 24 2c          	mov    %eax,0x2c(%rsp)
  33:	e8 85 82 3d fe       	callq  0xfe3d82bd
  38:	31 ff                	xor    %edi,%edi
  3a:	41 89 c7             	mov    %eax,%r15d
  3d:	89 c6                	mov    %eax,%esi
  3f:	e8                   	.byte 0xe8

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2022/08/17 04:06 upstream 3cc40a443a04 4e72d229 .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/17 04:06 upstream 3cc40a443a04 4e72d229 .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/16 04:57 upstream 568035b01cfb 7a7cb304 .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/15 06:19 upstream 9f162193d6e4 8dfcaa3d .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/15 06:19 upstream 9f162193d6e4 8dfcaa3d .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/13 00:49 upstream 4a9350597aff 8dfcaa3d .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
ci-upstream-gce-leak 2022/08/12 22:56 upstream 4a9350597aff 402cd70d .config log report upstream boot error: general protection fault in nl80211_put_iface_combinations
* Struck through repros no longer work on HEAD.