2021-05-03 09:53:14

by kernel test robot

[permalink] [raw]
Subject: [bpf] a9945c7bb7: BUG:using__this_cpu_add_return()in_preemptible[#]code:test_progs



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: a9945c7bb7ffedbff64637915753eaa6cf21335d ("[PATCH] bpf: Fix recursion check in trampoline")
url: https://github.com/0day-ci/linux/commits/Jiri-Olsa/bpf-Fix-recursion-check-in-trampoline/20210428-064239
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-cf9ae1bd-1_20210401
with following parameters:

group: bpf
ucode: 0xde

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt


on test machine: 4 threads 1 sockets Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


kern :err : [ 112.177325] BUG: using __this_cpu_add_return() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.177940] caller is __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.178366] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.179089] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.179829] Call Trace:
kern :warn : [ 112.180037] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.180303] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.180678] __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.181000] bpf_trampoline_6442551825_0+0x1b/0x1000
kern :warn : [ 112.181434] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.181752] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.182184] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.182502] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.182858] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.183164] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.183571] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.183878] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.185263] RSP: 002b:00007ffc312b5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
kern :warn : [ 112.185845] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.186390] RDX: 0000000000000078 RSI: 00007ffc312b6040 RDI: 000000000000000a
kern :warn : [ 112.186937] RBP: 00007ffc312b6000 R08: 0000000000000000 R09: 00007ffc312b6040
kern :warn : [ 112.187483] R10: 0000000000000000 R11: 0000000000000206 R12: 0000561c96effd20
kern :warn : [ 112.188030] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.188623] BUG: using __this_cpu_add() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.189217] caller is __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.189544] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.190251] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.191019] Call Trace:
kern :warn : [ 112.191247] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.191535] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.191913] __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.192232] bpf_trampoline_6442551825_0+0x3e/0x1000
kern :warn : [ 112.192633] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.192951] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.193340] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.193658] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.194013] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.194319] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.194725] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.195031] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.196416] RSP: 002b:00007ffc312b5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
kern :warn : [ 112.196996] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.197542] RDX: 0000000000000078 RSI: 00007ffc312b6040 RDI: 000000000000000a
kern :warn : [ 112.198111] RBP: 00007ffc312b6000 R08: 0000000000000000 R09: 00007ffc312b6040
kern :warn : [ 112.198678] R10: 0000000000000000 R11: 0000000000000206 R12: 0000561c96effd20
kern :warn : [ 112.199267] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.416363] BUG: using __this_cpu_add_return() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.417015] caller is __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.417421] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.418167] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.418928] Call Trace:
kern :warn : [ 112.419155] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.419443] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.419817] __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.420172] bpf_trampoline_6442551825_0+0x1b/0x1000
kern :warn : [ 112.420570] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.420885] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.421305] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.421623] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.421979] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.422286] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.422692] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.423000] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.424383] RSP: 002b:00007ffc312b5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
kern :warn : [ 112.424965] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.425510] RDX: 0000000000000078 RSI: 00007ffc312b6040 RDI: 000000000000000a
kern :warn : [ 112.426056] RBP: 00007ffc312b6000 R08: 0000000000000000 R09: 00007ffc312b6040
kern :warn : [ 112.426603] R10: 0000000000000000 R11: 0000000000000206 R12: 0000561c96effd20
kern :warn : [ 112.427192] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.427786] BUG: using __this_cpu_add() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.428379] caller is __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.428706] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.429412] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.430222] Call Trace:
kern :warn : [ 112.430450] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.430738] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.431158] __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.431476] bpf_trampoline_6442551825_0+0x3e/0x1000
kern :warn : [ 112.431877] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.432195] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.432585] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.432903] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.433258] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.433564] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.433970] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.434276] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.435662] RSP: 002b:00007ffc312b5fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
kern :warn : [ 112.436284] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.436830] RDX: 0000000000000078 RSI: 00007ffc312b6040 RDI: 000000000000000a
kern :warn : [ 112.437377] RBP: 00007ffc312b6000 R08: 0000000000000000 R09: 00007ffc312b6040
kern :warn : [ 112.437924] R10: 0000000000000000 R11: 0000000000000206 R12: 0000561c96effd20
kern :warn : [ 112.438472] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.656242] BUG: using __this_cpu_add_return() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.656894] caller is __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.657275] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.657985] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.658743] Call Trace:
kern :warn : [ 112.658969] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.659256] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.659631] __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.659953] bpf_trampoline_6442551825_0+0x1b/0x1000
kern :warn : [ 112.660351] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.660666] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.661052] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.661399] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.661755] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.662059] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.662462] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.662769] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.664191] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 112.664772] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.665353] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 112.665901] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 112.666448] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 112.666994] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.667588] BUG: using __this_cpu_add() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.668180] caller is __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.668506] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.669212] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.669976] Call Trace:
kern :warn : [ 112.670204] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.670492] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.670869] __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.671188] bpf_trampoline_6442551825_0+0x3e/0x1000
kern :warn : [ 112.671588] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.671903] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.672289] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.672606] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.672959] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.673261] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.673667] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.673972] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.675352] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 112.675933] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.676478] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 112.677024] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 112.677571] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 112.678155] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.898346] BUG: using __this_cpu_add_return() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.899012] caller is __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.899433] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.900177] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.900938] Call Trace:
kern :warn : [ 112.901165] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.901453] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.901826] __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 112.902149] bpf_trampoline_6442551825_0+0x1b/0x1000
kern :warn : [ 112.902582] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.902899] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.903290] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.903608] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.903961] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.904264] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.904672] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.904977] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.906359] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 112.906940] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.907485] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 112.908031] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 112.908578] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 112.909167] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 112.909758] BUG: using __this_cpu_add() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 112.910351] caller is __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.910681] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 112.911388] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 112.912197] Call Trace:
kern :warn : [ 112.912425] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 112.912713] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 112.913123] __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 112.913442] bpf_trampoline_6442551825_0+0x3e/0x1000
kern :warn : [ 112.913844] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 112.914163] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 112.914552] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 112.914869] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 112.915220] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 112.915526] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 112.915930] RIP: 0033:0x7f392dec7f59
kern :warn : [ 112.916233] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 112.917620] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 112.918235] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 112.918781] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 112.919363] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 112.919909] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 112.920457] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 113.136349] BUG: using __this_cpu_add_return() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 113.137019] caller is __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 113.137449] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 113.138193] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 113.138954] Call Trace:
kern :warn : [ 113.139181] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 113.139469] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 113.139843] __bpf_prog_enter (kbuild/src/consumer/kernel/bpf/trampoline.c:561)
kern :warn : [ 113.140165] bpf_trampoline_6442551825_0+0x1b/0x1000
kern :warn : [ 113.140564] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 113.140878] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 113.141297] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 113.141615] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 113.141968] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 113.142269] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 113.142677] RIP: 0033:0x7f392dec7f59
kern :warn : [ 113.142982] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 113.144361] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 113.144942] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 113.145487] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 113.146034] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 113.146580] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 113.147169] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
kern :err : [ 113.147774] BUG: using __this_cpu_add() in preemptible [00000000] code: test_progs/5380
kern :warn : [ 113.148364] caller is __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 113.148691] CPU: 3 PID: 5380 Comm: test_progs Tainted: G W OE 5.12.0-rc7-02718-ga9945c7bb7ff #1
kern :warn : [ 113.149397] Hardware name: Intel Corporation NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0067.2018.0814.1500 08/14/2018
kern :warn : [ 113.150208] Call Trace:
kern :warn : [ 113.150436] dump_stack (kbuild/src/consumer/lib/dump_stack.c:122)
kern :warn : [ 113.150725] check_preemption_disabled (kbuild/src/consumer/lib/smp_processor_id.c:53)
kern :warn : [ 113.151133] __bpf_prog_exit (kbuild/src/consumer/kernel/bpf/trampoline.c:598)
kern :warn : [ 113.151449] bpf_trampoline_6442551825_0+0x3e/0x1000
kern :warn : [ 113.151850] bpf_fentry_test1 (kbuild/src/consumer/net/bpf/test_run.c:170)
kern :warn : [ 113.152168] bpf_prog_test_run_tracing (kbuild/src/consumer/net/bpf/test_run.c:288)
kern :warn : [ 113.152557] __do_sys_bpf (kbuild/src/consumer/kernel/bpf/syscall.c:3149 kbuild/src/consumer/kernel/bpf/syscall.c:4428)
kern :warn : [ 113.152873] ? lock_is_held_type (kbuild/src/consumer/kernel/locking/lockdep.c:437 kbuild/src/consumer/kernel/locking/lockdep.c:5551)
kern :warn : [ 113.153223] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:46)
kern :warn : [ 113.153529] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:112)
kern :warn : [ 113.153933] RIP: 0033:0x7f392dec7f59
kern :warn : [ 113.154236] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W

Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
kern :warn : [ 113.155620] RSP: 002b:00007ffc312b6008 EFLAGS: 00000202 ORIG_RAX: 0000000000000141
kern :warn : [ 113.156235] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f392dec7f59
kern :warn : [ 113.156781] RDX: 0000000000000078 RSI: 00007ffc312b6060 RDI: 000000000000000a
kern :warn : [ 113.157362] RBP: 00007ffc312b6020 R08: 0000000000000000 R09: 00007ffc312b6060
kern :warn : [ 113.157909] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561c96effd20
kern :warn : [ 113.158456] R13: 00007ffc312b63b0 R14: 0000000000000000 R15: 0000000000000000
user :notice: [ 169.591922] # #1/1 mov:OK

user :notice: [ 169.593317] # #1/2 shift:OK

user :notice: [ 169.594616] # #1/3 addsub:OK

user :notice: [ 169.595791] # #1/4 mul:OK

user :notice: [ 169.597384] # #1/5 unknown shift:OK

user :notice: [ 169.598909] # #1/6 unknown mul:OK

user :notice: [ 169.600787] # #1/7 packet const offset:OK

user :notice: [ 169.602777] # #1/8 packet variable offset:OK

user :notice: [ 169.604969] # #1/9 packet variable offset 2:OK

user :notice: [ 169.607269] # #1/10 dubious pointer arithmetic:OK

user :notice: [ 169.609278] # #1/11 variable subtraction:OK

user :notice: [ 169.611586] # #1/12 pointer variable subtraction:OK

user :notice: [ 169.612922] # #1 align:OK

user :notice: [ 169.614461] # #2 atomic_bounds:OK

user :notice: [ 169.615705] # #3/1 add:OK

user :notice: [ 169.616909] # #3/2 sub:OK

user :notice: [ 169.618100] # #3/3 and:OK

user :notice: [ 169.618897] # #3/4 or:OK

user :notice: [ 169.620322] # #3/5 xor:OK

user :notice: [ 169.621620] # #3/6 cmpxchg:OK

user :notice: [ 169.622904] # #3/7 xchg:OK

user :notice: [ 169.624186] # #3 atomics:OK

user :notice: [ 169.625618] # #4 attach_probe:OK

user :notice: [ 169.626993] # #5 autoload:OK

user :notice: [ 169.629113] # test_bind_perm:PASS:cg-join 0 nsec

user :notice: [ 169.631211] # test_bind_perm:PASS:skel 0 nsec

user :notice: [ 169.633560] # test_bind_perm:PASS:bind_v4_prog 0 nsec

user :notice: [ 169.635978] # test_bind_perm:PASS:bind_v6_prog 0 nsec

user :notice: [ 169.638615] # cap_net_bind_service:PASS:cap_get_proc 0 nsec

user :notice: [ 169.641301] # cap_net_bind_service:PASS:cap_get_flag 0 nsec

user :notice: [ 169.643630] # cap_net_bind_service:PASS:cap_set_flag 0 nsec

user :notice: [ 169.646081] # cap_net_bind_service:PASS:cap_set_proc 0 nsec

user :notice: [ 169.647909] # cap_net_bind_service:PASS:cap_free 0 nsec

user :notice: [ 169.649461] # try_bind:PASS:fd 0 nsec

user :notice: [ 169.650926] # try_bind:PASS:bind 0 nsec

user :notice: [ 169.652387] # try_bind:PASS:fd 0 nsec

user :notice: [ 169.653887] # try_bind:PASS:bind 0 nsec

user :notice: [ 169.655399] # try_bind:PASS:fd 0 nsec

user :notice: [ 169.657612] # try_bind:FAIL:bind unexpected bind: actual 98 != expected 0

user :notice: [ 169.658816] # try_bind:PASS:fd 0 nsec

user :notice: [ 169.660476] # try_bind:FAIL:bind unexpected bind: actual 98 != expected 0

user :notice: [ 169.662173] # cap_net_bind_service:PASS:cap_get_proc 0 nsec

user :notice: [ 169.663947] # cap_net_bind_service:PASS:cap_get_flag 0 nsec

user :notice: [ 169.665463] # cap_net_bind_service:PASS:cap_set_flag 0 nsec

user :notice: [ 169.666911] # cap_net_bind_service:PASS:cap_set_proc 0 nsec

user :notice: [ 169.668281] # cap_net_bind_service:PASS:cap_free 0 nsec

user :notice: [ 169.669201] # #6 bind_perm:FAIL

user :notice: [ 169.669995] # #7/1 btf_id_or_null:OK

user :notice: [ 169.671176] # #7/2 ipv6_route:OK


To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
bin/lkp run generated-yaml-file



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (41.52 kB)
config-5.12.0-rc7-02718-ga9945c7bb7ff (176.38 kB)
job-script (7.35 kB)
kmsg.xz (148.07 kB)
kernel-selftests (812.54 kB)
job.yaml (6.35 kB)
reproduce (396.00 B)
Download all attachments