Return-path: Received: from mail-pa0-f67.google.com ([209.85.220.67]:33643 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752220AbcJJPEy (ORCPT ); Mon, 10 Oct 2016 11:04:54 -0400 Date: Tue, 11 Oct 2016 00:03:58 +0900 From: Sergey Senozhatsky To: "David S. Miller" Cc: Johannes Berg , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky , Sergey Senozhatsky , linux-next@vger.kernel.org, Stephen Rothwell Subject: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7) Message-ID: <20161010150358.GA514@swordfish> (sfid-20161010_170519_610396_3625E5BD) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: Hello, current -git kills my system. adding if (!virt_addr_valid(&aad[2])) { WARN_ON(1); return -EINVAL; } to ieee80211_aes_ccm_decrypt() given the following backtrace WARNING: CPU: 5 PID: 252 at net/mac80211/aes_ccm.c:77 ieee80211_aes_ccm_decrypt+0xc8/0x197 CPU: 5 PID: 252 Comm: irq/29-iwlwifi Tainted: G W 4.8.0-next-20161010-dbg-00007-g79797e9-dirty #88 ffffc90000413638 ffffffff811ff0e3 0000000000000000 0000000000000000 ffffc90000413678 ffffffff8103fe91 0000004d000001c8 1ffff920000826d3 ffff88040fc526d8 0000000000000008 ffffc90000413978 ffffc9000041397a Call Trace: [] dump_stack+0x4f/0x65 [] __warn+0xc2/0xdd [] warn_slowpath_null+0x1d/0x1f [] ieee80211_aes_ccm_decrypt+0xc8/0x197 [] ? __put_page+0x3c/0x3f [] ? put_page+0x4a/0x62 [] ? __pskb_pull_tail+0x1e8/0x279 [] ? ccmp_special_blocks.isra.5+0x51/0x12d [] ieee80211_crypto_ccmp_decrypt+0x1ba/0x221 [] ieee80211_rx_handlers+0x52a/0x19c2 [] ? start_dl_timer+0xa8/0xb4 [] ? put_lock_stats.isra.24+0xe/0x20 [] ? del_timer+0x57/0x61 [] ieee80211_prepare_and_rx_handle+0xcd6/0xd2a [] ? local_clock+0x10/0x12 [] ? __lock_acquire.isra.31+0x202/0x57e [] ? rcu_read_unlock+0x23/0x23 [] ? sched_clock_cpu+0x17/0xc6 [] ieee80211_rx_napi+0x5af/0x698 [] ? get_lock_stats+0x19/0x50 [] ? put_lock_stats.isra.24+0xe/0x20 [] iwl_mvm_rx_rx_mpdu+0x5ab/0x60c [iwlmvm] [] ? get_lock_stats+0x19/0x50 [] iwl_mvm_rx+0x45/0x69 [iwlmvm] [] iwl_pcie_rx_handle+0x478/0x584 [iwlwifi] [] iwl_pcie_irq_handler+0x39c/0x52d [iwlwifi] [] ? irq_finalize_oneshot+0xa7/0xa7 [] irq_thread_fn+0x1d/0x34 [] irq_thread+0xe6/0x1bb [] ? wake_threads_waitq+0x2c/0x2c [] ? irq_thread_dtor+0x95/0x95 [] kthread+0xc6/0xce [] ? put_lock_stats.isra.24+0xe/0x20 [] ? __list_del_entry+0x22/0x22 [] ret_from_fork+0x22/0x30 ---[ end trace 94da6d4698b938b2 ]--- -ss