From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751491AbdBDQ6m (ORCPT ); Sat, 4 Feb 2017 11:58:42 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33976 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbdBDQ6k (ORCPT ); Sat, 4 Feb 2017 11:58:40 -0500 Subject: Re: rtlwifi: rtl8192c_common: "BUG: KASAN: slab-out-of-bounds" To: Larry Finger , Chaoming Li References: Cc: linux-wireless@vger.kernel.org, Linux Kernel Mailing List From: Dmitry Osipenko Message-ID: Date: Sat, 4 Feb 2017 19:58:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Seems the problem is caused by rtl92c_dm_*() casting .priv to "struct rtl_pci_priv", while it is "struct rtl_usb_priv". -- Dmitry