From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751452AbdBJFOF (ORCPT ); Fri, 10 Feb 2017 00:14:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55760 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbdBJFOC (ORCPT ); Fri, 10 Feb 2017 00:14:02 -0500 Subject: Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce To: Dmitry Vyukov References: <50038580.20299907.1486634551103.JavaMail.zimbra@redhat.com> Cc: David Miller , "Michael S. Tsirkin" , Eric Dumazet , LKML , Cong Wang , netdev , syzkaller From: Jason Wang Message-ID: <2ccb37fe-44f2-4d78-3cf7-bb1676a1016b@redhat.com> Date: Fri, 10 Feb 2017 13:13:55 +0800 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; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 10 Feb 2017 05:14:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017年02月09日 18:49, Dmitry Vyukov wrote: > On Thu, Feb 9, 2017 at 11:02 AM, Jason Wang wrote: >> ----- Original Message ----- >>> Hello, >>> >>> I've got the following report while running syzkaller fuzzer on mmotm >>> (git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) >>> remotes/mmotm/auto-latest ee4ba7533626ba7bf2f8b992266467ac9fdc045e: >>> >> [...] >> >>> other info that might help us debug this: >>> >>> Possible interrupt unsafe locking scenario: >>> >>> CPU0 CPU1 >>> ---- ---- >>> lock(&(&r->consumer_lock)->rlock); >>> local_irq_disable(); >>> lock(&(&r->producer_lock)->rlock); >>> lock(&(&r->consumer_lock)->rlock); >>> >>> lock(&(&r->producer_lock)->rlock); >>> >> Thanks a lot for the testing. >> >> Looks like we could address this by using skb_array_consume_bh() instead. >> >> Could you pls verify if the following patch works? > No, I can't test it, sorry. This happened once on bots. And bots > currently test only upstream versions. > > No problem, will try to test my self. Thanks