WARNING: at net/netfilter/nf_tables_api.c:622 lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While running kselftest netfilter on arm64 hikey device on Linux next
20201013 the following
kernel warning noticed.

metadata:
  git branch: master
  git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
  git commit: f2fb1afc57304f9dd68c20a08270e287470af2eb
  git describe: next-20201013
  make_kernelversion: 5.9.0
  kernel-config:
http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/hikey/lkft/linux-next/879/config

steps to reproduce:
---------------------------
# cd /opt/kselftests/default-in-kernel/
# ./run_kselftest.sh -c netfilter

crash log:
----------------
# selftests: netfilter: nft_trans_stress.sh
[ 1913.862919] ------------[ cut here ]------------
[ 1913.869773] WARNING: CPU: 2 PID: 31416 at
/usr/src/kernel/net/netfilter/nf_tables_api.c:622
lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]
[ 1913.885399] Modules linked in: nf_tables nfnetlink act_mirred
cls_u32 sch_etf xt_conntrack nf_conntrack nf_defrag_ipv4 libcrc32c
ip6_tables nf_defrag_ipv6 ip_tables x_tables netdevsim 8021q garp mrp
bridge stp llc sch_fq sch_ingress veth algif_hash wl18xx wlcore
mac80211 cfg80211 snd_soc_hdmi_codec hci_uart btqca btbcm crct10dif_ce
snd_soc_audio_graph_card snd_soc_simple_card_utils adv7511 wlcore_sdio
cec bluetooth kirin_drm lima rfkill dw_drm_dsi gpu_sched
drm_kms_helper drm fuse [last unloaded: test_blackhole_dev]
[ 1913.941924] CPU: 2 PID: 31416 Comm: nft Tainted: G        W
5.9.0-next-20201013 #1
[ 1913.954131] Hardware name: HiKey Development Board (DT)
[ 1913.963342] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 1913.973483] pc : lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]
[ 1913.984271] lr : lockdep_nfnl_nft_mutex_not_held+0x18/0x38 [nf_tables]
[ 1913.995018] sp : ffff800013bc3550
[ 1914.002559] x29: ffff800013bc3550 x28: ffff800013bc3930
[ 1914.012197] x27: 0000000000000001 x26: ffff000045dc4e00
[ 1914.021880] x25: 0000000000000001 x24: ffff000045dc4e00
[ 1914.031565] x23: ffff800013bc3930 x22: 0000000000000001
[ 1914.041298] x21: ffff800012750000 x20: ffff800013bc3668
[ 1914.051068] x19: ffff800012750000 x18: 0000000000000000
[ 1914.060876] x17: 0000000000000000 x16: 0000000000000000
[ 1914.070699] x15: 0000000000000000 x14: ffff800009996d48
[ 1914.080534] x13: ffffffffff000000 x12: 0000000000000028
[ 1914.090418] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 1914.100355] x9 : fefefefefefefeff x8 : 7f7f7f7f7f7f7f7f
[ 1914.110325] x7 : fefeff53544f4d48 x6 : 0000000000007ab8
[ 1914.120339] x5 : 0000000000000005 x4 : 0000000000000001
[ 1914.130388] x3 : 0000000000000001 x2 : 0000000000000000
[ 1914.140454] x1 : 00000000ffffffff x0 : 0000000000000001
[ 1914.150529] Call trace:
[ 1914.157789]  lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]
[ 1914.168967]  nft_chain_parse_hook+0x58/0x320 [nf_tables]
[ 1914.179342]  nf_tables_addchain.isra.66+0xb8/0x510 [nf_tables]
[ 1914.190340]  nf_tables_newchain+0x408/0x618 [nf_tables]
[ 1914.200734]  nfnetlink_rcv_batch+0x4a0/0x610 [nfnetlink]
[ 1914.211284]  nfnetlink_rcv+0x174/0x1a8 [nfnetlink]
[ 1914.221351]  netlink_unicast+0x1dc/0x290
[ 1914.230589]  netlink_sendmsg+0x2b8/0x3f8
[ 1914.239840]  ____sys_sendmsg+0x288/0x2d0
[ 1914.249117]  ___sys_sendmsg+0x90/0xd0
[ 1914.258154]  __sys_sendmsg+0x78/0xd0
[ 1914.267140]  __arm64_sys_sendmsg+0x2c/0x38
[ 1914.276705]  el0_svc_common.constprop.3+0x7c/0x198
[ 1914.287041]  do_el0_svc+0x34/0xa0
[ 1914.295928]  el0_sync_handler+0x128/0x190
[ 1914.305567]  el0_sync+0x140/0x180
[ 1914.314535] CPU: 2 PID: 31416 Comm: nft Tainted: G        W
5.9.0-next-20201013 #1
[ 1914.328670] Hardware name: HiKey Development Board (DT)
[ 1914.339812] Call trace:
[ 1914.348184]  dump_backtrace+0x0/0x1f0
[ 1914.357841]  show_stack+0x2c/0x80
[ 1914.367181]  dump_stack+0xf8/0x160
[ 1914.376615]  __warn+0xac/0x168
[ 1914.385732]  report_bug+0xcc/0x180
[ 1914.395242]  bug_handler+0x24/0x78
[ 1914.404783]  call_break_hook+0x80/0xa0
[ 1914.414725]  brk_handler+0x28/0x68
[ 1914.424358]  do_debug_exception+0xbc/0x128
[ 1914.434744]  el1_sync_handler+0x7c/0x128
[ 1914.445017]  el1_sync+0x7c/0x100
[ 1914.454625]  lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]
[ 1914.467351]  nft_chain_parse_hook+0x58/0x320 [nf_tables]
[ 1914.479276]  nf_tables_addchain.isra.66+0xb8/0x510 [nf_tables]
[ 1914.491818]  nf_tables_newchain+0x408/0x618 [nf_tables]
[ 1914.503774]  nfnetlink_rcv_batch+0x4a0/0x610 [nfnetlink]
[ 1914.515899]  nfnetlink_rcv+0x174/0x1a8 [nfnetlink]
[ 1914.527525]  netlink_unicast+0x1dc/0x290
[ 1914.538318]  netlink_sendmsg+0x2b8/0x3f8
[ 1914.549125]  ____sys_sendmsg+0x288/0x2d0
[ 1914.559959]  ___sys_sendmsg+0x90/0xd0
[ 1914.570557]  __sys_sendmsg+0x78/0xd0
[ 1914.581111]  __arm64_sys_sendmsg+0x2c/0x38
[ 1914.592241]  el0_svc_common.constprop.3+0x7c/0x198
[ 1914.604152]  do_el0_svc+0x34/0xa0
[ 1914.614497]  el0_sync_handler+0x128/0x190
[ 1914.625540]  el0_sync+0x140/0x180
[ 1914.635652] irq event stamp: 0
[ 1914.645091] hardirqs last  enabled at (0): [<0000000000000000>] 0x0
[ 1914.657471] hardirqs last disabled at (0): [<ffff80001008975c>]
copy_process+0x68c/0x1910
[ 1914.671402] softirqs last  enabled at (0): [<ffff80001008975c>]
copy_process+0x68c/0x1910
[ 1914.685201] softirqs last disabled at (0): [<0000000000000000>] 0x0
[ 1914.696977] ---[ end trace 180274a5ab806f4e ]---
[ 1917.244483] hisi_thermal f7030700.tsensor: sensor <2> THERMAL
ALARM: 66385 > 65000

Full test log link,
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20201013/testrun/3302070/suite/linux-log-parser/test/check-kernel-warning-1839079/log


-- 
Linaro LKFT
https://lkft.linaro.org



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux