Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1051290ybl; Fri, 10 Jan 2020 11:12:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwjyP1g2c4rQxYtRgcVM9CnymZKP0OjDF0RpH1KFO9KODBbZYV7oU78PIOaBQEcg1Aegcjs X-Received: by 2002:a05:6830:2099:: with SMTP id y25mr3590180otq.87.1578683520811; Fri, 10 Jan 2020 11:12:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578683520; cv=none; d=google.com; s=arc-20160816; b=S8v/RKjKzsQjchS/0qHDnivmfFDI24EWCcL7lzDwibqAxwtQZ2T74xqfaD4Iafyy6t 4WKTR2MDnuHVq0uO3nx6R99RmzyaV3p1IwKTa5u8TcnYGdKb52DruHAkk4PtrY9hPdEe uzgNFWYCqTzxL8jhRbLNuQfGhzk0yH3PJFGlp5oeoemuPdc6TqbqBmV6h3Wm1N4Py/DO yZvJnIRu60VhjWgK3Habxjb9mRd+AzFux9FJof/LUt/DLWjixlgyFWiwnQKtylbEU664 Q7C0E1sNHo+kPJCL395Il8c2/vsrarEEwYyZpqaC0rjqxK2IPaJJD9FQBeqCSiUcA3J4 jxKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=Fy/WFcnJ25iyWFvsl9r5AXVP+hcY+D0Rh4DTlOZdONM=; b=BcCV3yYZt79LUUvbwVUwWL7oqB3+hJgAQiStgQh1iJNM3fhzbekDkWP54uMHMjux8x 06t+JIIjOJNEVvHzhQLLLxk3RFXjBlOrMiVgCfp1l8+nuHjKJiF/bgIjSQri780EVk2X 6qVdP2NAZ072tqBXQ8NlIKODpUeYvaMkHKaeNMHwTve21cXF/QTAkqrseuJdGrziDvVs fLdingCq6PXHvt/+Kvb6Wc1zhVXgRpw3PcBy5EmBYEt7gMGBUdV3eugK1TtjfJG7Yarr Hknh9w5czCTTA+bov6Ll1fG+ZnpzzMehg2skp5Bbzt3puPFYd0AsBQ69oZFPaRc3aj4T Gyyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3si1814199otc.243.2020.01.10.11.11.34; Fri, 10 Jan 2020 11:12:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727855AbgAJTLL (ORCPT + 99 others); Fri, 10 Jan 2020 14:11:11 -0500 Received: from mail-il1-f198.google.com ([209.85.166.198]:45902 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727612AbgAJTLK (ORCPT ); Fri, 10 Jan 2020 14:11:10 -0500 Received: by mail-il1-f198.google.com with SMTP id w6so2186652ill.12 for ; Fri, 10 Jan 2020 11:11:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Fy/WFcnJ25iyWFvsl9r5AXVP+hcY+D0Rh4DTlOZdONM=; b=rFEChyTLHV6oP/+Q2yc/Lu99FIjW7fW8X5fbTEYCYxYLiZ5177UNB4hnss4y0W9T+C Lr0Fgoi+IIANv/vF8lD+YDu2UqfMkZ3CQEwaV2cxy+ltBFTuvhcWmwIGea37/T/4m5Ak t/IaBTcQ9OUUufEPKZw85rv3heJiBk1WVMbsbpPaE+oAm2ebg/7cXIwBzs/KpupQJlxd vO3dWylUq3GeHZu6UBrZNsG4ll7zGE2p4mMSzafUb0gBZ5kvdmE2wTcFoov2DubMIr77 u/c232QxpTXK4c2nIgsswbpGwcG12gTgV7E4IVzfHbpEAv4Ijh9ywSEmsr8kSSA6YHyH PIYQ== X-Gm-Message-State: APjAAAVUsJAuQafW6YUuMubVy8Cw65owtP0XYgHBqrXSuEC9FqigkHOe 65/JiOC+C6U3nG/ImKvrxXva4CWxDSY+Ugm4S0aUWHKMGnk9 MIME-Version: 1.0 X-Received: by 2002:a5d:97c3:: with SMTP id k3mr3909079ios.38.1578683470163; Fri, 10 Jan 2020 11:11:10 -0800 (PST) Date: Fri, 10 Jan 2020 11:11:10 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000073b469059bcde315@google.com> Subject: BUG: unable to handle kernel NULL pointer dereference in cfg80211_wext_siwrts From: syzbot To: davem@davemloft.net, johannes@sipsolutions.net, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: 2f806c2a Merge branch 'net-ungraft-prio' git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=1032069ee00000 kernel config: https://syzkaller.appspot.com/x/.config?x=5c90cac8f1f8c619 dashboard link: https://syzkaller.appspot.com/bug?extid=34b582cf32c1db008f8e compiler: gcc (GCC) 9.0.0 20181231 (experimental) Unfortunately, I don't have any reproducer for this crash yet. IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+34b582cf32c1db008f8e@syzkaller.appspotmail.com BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD a7499067 P4D a7499067 PUD 9a778067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12180 Comm: syz-executor.2 Not tainted 5.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffffc90001727a78 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888218678540 RCX: ffffc9000e5df000 RDX: 1ffffffff1148744 RSI: 0000000000000008 RDI: ffff888218678540 RBP: ffffc90001727ab8 R08: ffff8880957ac0c0 R09: ffffed1015d2703d R10: ffffed1015d2703c R11: ffff8880ae9381e3 R12: ffffffff88a438a0 R13: ffff88808f309000 R14: ffffc90001727bb0 R15: 0000000000000000 FS: 00007f1e9f870700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000094518000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rdev_set_wiphy_params net/wireless/rdev-ops.h:542 [inline] cfg80211_wext_siwrts+0x265/0x8f0 net/wireless/wext-compat.c:267 ioctl_standard_call+0xca/0x1d0 net/wireless/wext-core.c:1015 wireless_process_ioctl.constprop.0+0x236/0x2b0 net/wireless/wext-core.c:953 wext_ioctl_dispatch net/wireless/wext-core.c:986 [inline] wext_ioctl_dispatch net/wireless/wext-core.c:974 [inline] wext_handle_ioctl+0x106/0x1c0 net/wireless/wext-core.c:1047 sock_ioctl+0x47d/0x790 net/socket.c:1112 vfs_ioctl fs/ioctl.c:47 [inline] file_ioctl fs/ioctl.c:545 [inline] do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749 __do_sys_ioctl fs/ioctl.c:756 [inline] __se_sys_ioctl fs/ioctl.c:754 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45af49 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1e9f86fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49 RDX: 0000000020000040 RSI: 0000000000008b22 RDI: 0000000000000004 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1e9f8706d4 R13: 00000000004c2837 R14: 00000000004d8b30 R15: 00000000ffffffff Modules linked in: CR2: 0000000000000000 ---[ end trace 4579299d7d6f7d47 ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffffc90001727a78 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888218678540 RCX: ffffc9000e5df000 RDX: 1ffffffff1148744 RSI: 0000000000000008 RDI: ffff888218678540 RBP: ffffc90001727ab8 R08: ffff8880957ac0c0 R09: ffffed1015d2703d R10: ffffed1015d2703c R11: ffff8880ae9381e3 R12: ffffffff88a438a0 R13: ffff88808f309000 R14: ffffc90001727bb0 R15: 0000000000000000 FS: 00007f1e9f870700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5d5b8fc8 CR3: 0000000094518000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This bug 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 syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.