lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 5 Jun 2020 08:15:07 +0800
From:   Liu Yiding <yidingx.liu@...el.com>
To:     Stefano Brivio <sbrivio@...hat.com>,
        kernel test robot <lkp@...el.com>
Cc:     Florian Westphal <fw@...len.de>,
        Pablo Neira Ayuso <pablo@...filter.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: Re: [LKP] Re: [netfilter] e32a4dc651:
 BUG:using_smp_processor_id()in_preemptible

Hi,

On 6/5/20 6:23 AM, Stefano Brivio wrote:
> Hi,
>
> On Wed, 3 Jun 2020 16:49:34 +0800
> kernel test robot <lkp@...el.com> wrote:
>
>> Greeting,
>>
>> FYI, we noticed the following commit (built with gcc-7):
>>
>> commit: e32a4dc6512ce3c1a1920531246e7037896e510a ("netfilter: nf_tables: make sets built-in")
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>>
>> in testcase: kernel-selftests
>> with following parameters:
>>
>> 	group: kselftests-netfilter
> I couldn't find this information in the report. Would it be possible to
> have here an indication of what kselftest specifically is failing?
> There are a number of tests in that group. I have an obvious suspicion
> here (nft_concat_range.sh), but it would be nice to know, in general.


Yes, it's nft_concat_range.sh caused this error.

```

[  165.249447] # selftests: netfilter: nft_concat_range.sh
[  165.249453]
[  165.295336] # TEST: reported issues
[  165.295342]
[  165.316525] BUG: using smp_processor_id() in preemptible [00000000] 
code: nft/6247
[  165.319547] caller is nft_pipapo_insert+0x464/0x610 [nf_tables]
[  165.321846] CPU: 1 PID: 6247 Comm: nft Not tainted 
5.6.0-rc5-01595-ge32a4dc6512ce3 #1

```


And i think this error is caused by some kconfigs.

This test was passed until we enabled all kconfigs defined in 
netfilter/config. :-(


>
>> [...]
>>
>> [  165.316525] BUG: using smp_processor_id() in preemptible [00000000] code: nft/6247
>> [  165.319547] caller is nft_pipapo_insert+0x464/0x610 [nf_tables]
> I'll take care of this, thanks Florian for forwarding.
>
-- 
Best regards.
Liu Yiding

Powered by blists - more mailing lists