net/strparser/strparser.c:526 strp_done+0x41/0x50
From: Naresh Kamboju
Date: Fri Mar 01 2019 - 05:41:06 EST
Do you see this Kernel warning while running selftests bpf tes_sock
on x86_64 running Linux kernel version 5.0.0-rc8-next-20190301 ?
selftests: bpf: test_sock
Test case: bind4 load with invalid access: src_ip6 .. [PASS]
Test case: bind4 load with invalid access: mark .. [PASS]
Test case: bind6 load with invalid access: src_ip4 .. [PASS]
Test case: sock_create load with invalid access: src_port .. [PASS]
Test case: sock_create load w/o expected_attach_type (compat mode) .. [PASS]
Test case: sock_create load w/ expected_attach_type .. [PASS]
Test case: attach type mismatch bind4 vs bind6 .. [PASS]
Test case: attach type mismatch bind6 vs bind4 .. [PASS]
Test case: attach type mismatch default vs bind4 .. [PASS]
Test case: attach type mismatch bind6 vs sock_create .. [PASS]
Test case: bind4 reject all .. [PASS]
Test case: bind6 reject all .. [PASS]
Test case: bind6 deny specific IP & port .. [PASS]
Test case: bind4 allow specific IP & port .. [PASS]
Test case: bind4 allow al[ 190.125907] WARNING: CPU: 3 PID: 5841 at
/srv/oe/build/tmp-lkft-glibc/work-shared/intel-corei7-64/kernel-source/net/strparser/strparser.c:526
strp_done+0x41/0x50
l .. [PASS]
Tes[ 190.140453] Modules linked in: algif_hash af_alg x86_pkg_temp_thermal fuse
[ 190.148702] CPU: 3 PID: 5841 Comm: kworker/3:166 Not tainted
5.0.0-rc8-next-20190301 #1
[ 190.156701] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.0b 07/27/2017
[ 190.164180] Workqueue: events sk_psock_destroy_deferred
[ 190.169398] RIP: 0010:strp_done+0x41/0x50
[ 190.173399] Code: e8 04 51 4d ff 48 8d bb c0 00 00 00 e8 d8 50 4d
ff 48 8b 7b 18 48 85 ff 74 0d e8 aa 83 df ff 48 c7 43 18 00 00 00 00
5b 5d c3 <0f> 0b eb ce 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
55 48
[ 190.192137] RSP: 0018:ffffaa2ce728fe00 EFLAGS: 00010246
[ 190.197354] RAX: ffffffffa8e09dd0 RBX: ffff9adbfb4bf040 RCX: ffffffffa8492fff
[ 190.204479] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9adbfb4bf040
[ 190.211602] RBP: ffffaa2ce728fe08 R08: 0000000000000001 R09: 0000000000000000
[ 190.218726] R10: 0000000000000000 R11: ffff9adc0fd045c0 R12: ffff9adc9fba1980
[ 190.225863] R13: ffff9adbfb4bf000 R14: 0000000000000000 R15: ffff9adc111226c0
[ 190.232991] FS: 0000000000000000(0000) GS:ffff9adc9fb80000(0000)
knlGS:0000000000000000
[ 190.241068] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 190.246832] CR2: 00007f6c861cbc90 CR3: 00000003b2c9e001 CR4: 00000000003606e0
[ 190.253957] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 190.261081] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 190.268213] Call Trace:
[ 190.270658] sk_psock_destroy_deferred+0x29/0x1b0
[ 190.275356] process_one_work+0x281/0x610
[ 190.279370] worker_thread+0x3c/0x3f0
[ 190.283034] kthread+0x12c/0x150
[ 190.286265] ? process_one_work+0x610/0x610
[ 190.290443] ? kthread_park+0x90/0x90
[ 190.294102] ret_from_fork+0x3a/0x50
[ 190.297680] irq event stamp: 2014
[ 190.300989] hardirqs last enabled at (2013): [<ffffffffa90d71ac>]
_raw_spin_unlock_irq+0x2c/0x40
[ 190.309859] hardirqs last disabled at (2014): [<ffffffffa90cf569>]
__schedule+0xb9/0xa30
[ 190.317941] softirqs last enabled at (1650): [<ffffffffa9400334>]
__do_softirq+0x334/0x445
[ 190.326278] softirqs last disabled at (1347): [<ffffffffa8476e70>]
irq_exit+0xc0/0xd0
[ 190.334096] ---[ end trace 1a716d569572ba40 ]---