[ 3065.322973] ------------[ cut here ]------------
[ 3065.322990] kmem_cache_free(skbuff_small_head, ffff888186d6e000): object belongs to different cache kmalloc-1k
[ 3065.323005] WARNING: mm/slub.c:6258 at warn_free_bad_obj+0x91/0xc0, CPU#0: repro_bpf/2167
[ 3065.323038] Modules linked in:
[ 3065.323061] CPU: 0 UID: 0 PID: 2167 Comm: repro_bpf Not tainted 7.0.0-rc5 #1 PREEMPT(lazy)
[ 3065.323077] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
[ 3065.323098] RIP: 0010:warn_free_bad_obj+0x98/0xc0
[ 3065.323115] Code: 67 48 0f b9 3a 5b 5d c3 cc cc cc cc 48 c7 c1 c5 88 7c 87 48 85 ed 74 04 48 8b 4d 58 48 8d 3d 2f fa 9f 07 48 8b 72 58 48 89 da <67> 48 0f b9 3a 48 85 ed 74 b7 48 89 de 48 89 ef 5b 5d e9 01 eb ff
[ 3065.323128] RSP: 0018:ffffc90003e279d0 EFLAGS: 00010286
[ 3065.323142] RAX: ffffea00061b5b80 RBX: ffff888186d6e000 RCX: ffffffff877c6c5e
[ 3065.323161] RDX: ffff888186d6e000 RSI: ffffffff87068bc0 RDI: ffffffff8985e370
[ 3065.323170] RBP: ffff8881000421c0 R08: 0000000000000005 R09: 0000000000000180
[ 3065.323180] R10: 0000000000000180 R11: ffff8881060939c0 R12: 0000000000000000
[ 3065.323189] R13: 0000000000000000 R14: ffff888186d6e1b0 R15: 0000000000000000
[ 3065.323198] FS: 00007fbd28700780(0000) GS:ffff8881fc6a5000(0000) knlGS:0000000000000000
[ 3065.323211] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3065.323221] CR2: 000055919b946080 CR3: 000000010b7d4006 CR4: 0000000000370ef0
[ 3065.323231] Call Trace:
[ 3065.323237]
[ 3065.323247] skb_free_head+0x1ec/0x290
[ 3065.323267] skb_release_data+0x7a6/0x9d0
[ 3065.323285] ? __pfx_bpf_ctx_finish.isra.0+0x10/0x10
[ 3065.323308] ? bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.323322] sk_skb_reason_drop+0x142/0x550
[ 3065.323343] bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.323356] ? __lock_acquire+0x466/0x2270
[ 3065.323373] ? lock_is_held_type+0x8f/0x100
[ 3065.323388] ? lock_is_held_type+0x8f/0x100
[ 3065.323414] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.323427] ? lock_release+0xc8/0x2a0
[ 3065.323441] ? bpf_check_uarg_tail_zero+0x127/0x1b0
[ 3065.323457] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 3065.323473] ? fdget+0x17a/0x210
[ 3065.323495] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.323510] __sys_bpf+0x769/0x4b60
[ 3065.323530] ? __pfx___sys_bpf+0x10/0x10
[ 3065.323551] ? find_held_lock+0x2b/0x80
[ 3065.323581] ? finish_task_switch.isra.0+0x120/0x5d0
[ 3065.323598] ? lock_release+0xc8/0x2a0
[ 3065.323616] ? trace_hardirqs_on+0x18/0x170
[ 3065.323631] ? finish_task_switch.isra.0+0x1af/0x5d0
[ 3065.323646] ? __switch_to+0x7a0/0x1130
[ 3065.323662] ? __switch_to_asm+0x33/0x70
[ 3065.323734] ? exit_to_user_mode_loop+0xae/0x460
[ 3065.323763] __x64_sys_bpf+0x78/0xc0
[ 3065.323780] ? trace_hardirqs_on+0x18/0x170
[ 3065.323794] do_syscall_64+0x111/0x690
[ 3065.323813] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 3065.323827] RIP: 0033:0x7fbd2883790d
[ 3065.323844] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 d3 f4 0f 00 f7 d8 64 89 01 48
[ 3065.323857] RSP: 002b:00007ffe05c1edd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
[ 3065.323872] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd2883790d
[ 3065.323881] RDX: 0000000000000050 RSI: 00007ffe05c1ee00 RDI: 000000000000000a
[ 3065.323891] RBP: 00007ffe05c1ee60 R08: 0000000000000000 R09: 0000000000000000
[ 3065.323900] R10: 0000000000000004 R11: 0000000000000206 R12: 00007ffe05c1efa8
[ 3065.323909] R13: 0000000000000001 R14: 00007fbd289a3000 R15: 00005614a0f75d80
[ 3065.323932]
[ 3065.323938] irq event stamp: 4563
[ 3065.323945] hardirqs last enabled at (4569): [] __up_console_sem+0x76/0x80
[ 3065.323963] hardirqs last disabled at (4574): [] __up_console_sem+0x5b/0x80
[ 3065.323979] softirqs last enabled at (4198): [] bpf_test_run+0x388/0xc20
[ 3065.324000] softirqs last disabled at (4196): [] bpf_test_run+0x3de/0xc20
[ 3065.324020] ---[ end trace 0000000000000000 ]---
[ 3065.329750] Allocated in 0xadacafaea9a8abaa age=5932173448745943461 cpu=2913775534 pid=-1448563798
[ 3065.329797] ------------[ cut here ]------------
[ 3065.329804] pool index 43945 out of bounds (431) for stack id a9a8abaa
[ 3065.329814] WARNING: lib/stackdepot.c:506 at depot_fetch_stack+0x83/0xb0, CPU#0: repro_bpf/2167
[ 3065.329838] Modules linked in:
[ 3065.329853] CPU: 0 UID: 0 PID: 2167 Comm: repro_bpf Tainted: G W 7.0.0-rc5 #1 PREEMPT(lazy)
[ 3065.329871] Tainted: [W]=WARN
[ 3065.329877] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
[ 3065.329886] RIP: 0010:depot_fetch_stack+0x8a/0xb0
[ 3065.329905] Code: be ff ff ff ff 48 c7 c7 58 c1 df 88 e8 6f a1 aa 02 83 f8 01 75 bd 90 0f 0b 90 eb b7 48 8d 3d 0d 4d d6 05 89 e9 44 89 ea 89 de <67> 48 0f b9 3a 31 c0 eb c2 90 0f 0b 90 31 c0 eb ba 90 0f 0b 90 31
[ 3065.329918] RSP: 0018:ffffc90003e27988 EFLAGS: 00010216
[ 3065.329931] RAX: 0000000000000000 RBX: 000000000000aba9 RCX: 00000000a9a8abaa
[ 3065.329940] RDX: 00000000000001af RSI: 000000000000aba9 RDI: ffffffff898838d0
[ 3065.329950] RBP: 00000000a9a8abaa R08: 0000000000000001 R09: 0000000000000000
[ 3065.329959] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000d40
[ 3065.329968] R13: 00000000000001af R14: ffff888186d6e1b0 R15: 0000000000000000
[ 3065.329977] FS: 00007fbd28700780(0000) GS:ffff8881fc6a5000(0000) knlGS:0000000000000000
[ 3065.329991] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3065.330001] CR2: 00007fadb5c80560 CR3: 000000010b7d4002 CR4: 0000000000370ef0
[ 3065.330010] Call Trace:
[ 3065.330017]
[ 3065.330026] stack_depot_print+0x30/0x60
[ 3065.330045] print_tracking+0x3a/0x70
[ 3065.330061] skb_free_head+0x1ec/0x290
[ 3065.330078] skb_release_data+0x7a6/0x9d0
[ 3065.330106] ? __pfx_bpf_ctx_finish.isra.0+0x10/0x10
[ 3065.330130] ? bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.330153] sk_skb_reason_drop+0x142/0x550
[ 3065.330173] bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.330187] ? __lock_acquire+0x466/0x2270
[ 3065.330204] ? lock_is_held_type+0x8f/0x100
[ 3065.330218] ? lock_is_held_type+0x8f/0x100
[ 3065.330244] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.330258] ? lock_release+0xc8/0x2a0
[ 3065.330271] ? bpf_check_uarg_tail_zero+0x127/0x1b0
[ 3065.330287] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 3065.330303] ? fdget+0x17a/0x210
[ 3065.330325] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.330341] __sys_bpf+0x769/0x4b60
[ 3065.330361] ? __pfx___sys_bpf+0x10/0x10
[ 3065.330381] ? find_held_lock+0x2b/0x80
[ 3065.330400] ? finish_task_switch.isra.0+0x120/0x5d0
[ 3065.330416] ? lock_release+0xc8/0x2a0
[ 3065.330434] ? trace_hardirqs_on+0x18/0x170
[ 3065.330449] ? finish_task_switch.isra.0+0x1af/0x5d0
[ 3065.330463] ? __switch_to+0x7a0/0x1130
[ 3065.330478] ? __switch_to_asm+0x33/0x70
[ 3065.330513] ? exit_to_user_mode_loop+0xae/0x460
[ 3065.330531] __x64_sys_bpf+0x78/0xc0
[ 3065.330548] ? trace_hardirqs_on+0x18/0x170
[ 3065.330573] do_syscall_64+0x111/0x690
[ 3065.330593] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 3065.330608] RIP: 0033:0x7fbd2883790d
[ 3065.330629] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 d3 f4 0f 00 f7 d8 64 89 01 48
[ 3065.330642] RSP: 002b:00007ffe05c1edd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
[ 3065.330656] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd2883790d
[ 3065.330665] RDX: 0000000000000050 RSI: 00007ffe05c1ee00 RDI: 000000000000000a
[ 3065.330674] RBP: 00007ffe05c1ee60 R08: 0000000000000000 R09: 0000000000000000
[ 3065.330683] R10: 0000000000000004 R11: 0000000000000206 R12: 00007ffe05c1efa8
[ 3065.330693] R13: 0000000000000001 R14: 00007fbd289a3000 R15: 00005614a0f75d80
[ 3065.330747]
[ 3065.330755] irq event stamp: 4989
[ 3065.330761] hardirqs last enabled at (4995): [] __up_console_sem+0x76/0x80
[ 3065.330779] hardirqs last disabled at (5000): [] __up_console_sem+0x5b/0x80
[ 3065.330796] softirqs last enabled at (4198): [] bpf_test_run+0x388/0xc20
[ 3065.330816] softirqs last disabled at (4196): [] bpf_test_run+0x3de/0xc20
[ 3065.330837] ---[ end trace 0000000000000000 ]---
[ 3065.331246] ------------[ cut here ]------------
[ 3065.331254] corrupt handle or use after stack_depot_put()
[ 3065.331259] WARNING: lib/stackdepot.c:780 at stack_depot_print+0x55/0x60, CPU#0: repro_bpf/2167
[ 3065.331285] Modules linked in:
[ 3065.331298] CPU: 0 UID: 0 PID: 2167 Comm: repro_bpf Tainted: G W 7.0.0-rc5 #1 PREEMPT(lazy)
[ 3065.331315] Tainted: [W]=WARN
[ 3065.331322] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
[ 3065.331330] RIP: 0010:stack_depot_print+0x55/0x60
[ 3065.331349] Code: e8 c0 f9 ff ff 48 85 c0 74 19 8b 70 14 48 8d 78 20 85 f6 74 e2 5b 31 d2 5d e9 b7 ed c0 fd c3 cc cc cc cc 48 8d 3d 8b 47 d6 05 <67> 48 0f b9 3a eb c6 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90
[ 3065.331362] RSP: 0018:ffffc90003e279b0 EFLAGS: 00010246
[ 3065.331374] RAX: 0000000000000000 RBX: 00000000a9a8abaa RCX: 00000000a9a8abaa
[ 3065.331384] RDX: 00000000000001af RSI: 000000000000aba9 RDI: ffffffff89883930
[ 3065.331393] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 3065.331402] R10: 0000000000000000 R11: 0000000000000001 R12: 00000001002a2d4f
[ 3065.331411] R13: 0000000000000000 R14: ffff888186d6e1b0 R15: 0000000000000000
[ 3065.331420] FS: 00007fbd28700780(0000) GS:ffff8881fc6a5000(0000) knlGS:0000000000000000
[ 3065.331433] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3065.331443] CR2: 00007fadb5c80560 CR3: 000000010b7d4002 CR4: 0000000000370ef0
[ 3065.331453] Call Trace:
[ 3065.331459]
[ 3065.331467] print_tracking+0x3a/0x70
[ 3065.331482] skb_free_head+0x1ec/0x290
[ 3065.331499] skb_release_data+0x7a6/0x9d0
[ 3065.331516] ? __pfx_bpf_ctx_finish.isra.0+0x10/0x10
[ 3065.331539] ? bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.331564] sk_skb_reason_drop+0x142/0x550
[ 3065.331585] bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.331599] ? __lock_acquire+0x466/0x2270
[ 3065.331623] ? lock_is_held_type+0x8f/0x100
[ 3065.331638] ? lock_is_held_type+0x8f/0x100
[ 3065.331664] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.331701] ? lock_release+0xc8/0x2a0
[ 3065.331717] ? bpf_check_uarg_tail_zero+0x127/0x1b0
[ 3065.331733] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 3065.331750] ? fdget+0x17a/0x210
[ 3065.331771] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.331787] __sys_bpf+0x769/0x4b60
[ 3065.331807] ? __pfx___sys_bpf+0x10/0x10
[ 3065.331827] ? find_held_lock+0x2b/0x80
[ 3065.331846] ? finish_task_switch.isra.0+0x120/0x5d0
[ 3065.331862] ? lock_release+0xc8/0x2a0
[ 3065.331879] ? trace_hardirqs_on+0x18/0x170
[ 3065.331894] ? finish_task_switch.isra.0+0x1af/0x5d0
[ 3065.331908] ? __switch_to+0x7a0/0x1130
[ 3065.331923] ? __switch_to_asm+0x33/0x70
[ 3065.331958] ? exit_to_user_mode_loop+0xae/0x460
[ 3065.331976] __x64_sys_bpf+0x78/0xc0
[ 3065.331993] ? trace_hardirqs_on+0x18/0x170
[ 3065.332007] do_syscall_64+0x111/0x690
[ 3065.332026] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 3065.332040] RIP: 0033:0x7fbd2883790d
[ 3065.332051] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 d3 f4 0f 00 f7 d8 64 89 01 48
[ 3065.332064] RSP: 002b:00007ffe05c1edd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
[ 3065.332079] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd2883790d
[ 3065.332099] RDX: 0000000000000050 RSI: 00007ffe05c1ee00 RDI: 000000000000000a
[ 3065.332108] RBP: 00007ffe05c1ee60 R08: 0000000000000000 R09: 0000000000000000
[ 3065.332118] R10: 0000000000000004 R11: 0000000000000206 R12: 00007ffe05c1efa8
[ 3065.332127] R13: 0000000000000001 R14: 00007fbd289a3000 R15: 00005614a0f75d80
[ 3065.332159]
[ 3065.332165] irq event stamp: 5401
[ 3065.332171] hardirqs last enabled at (5407): [] __up_console_sem+0x76/0x80
[ 3065.332188] hardirqs last disabled at (5412): [] __up_console_sem+0x5b/0x80
[ 3065.332205] softirqs last enabled at (4198): [] bpf_test_run+0x388/0xc20
[ 3065.332225] softirqs last disabled at (4196): [] bpf_test_run+0x3de/0xc20
[ 3065.332246] ---[ end trace 0000000000000000 ]---
[ 3065.337724] Freed in 0xadacafaea9a8abaa age=5932173448745943461 cpu=2913775534 pid=-1448563798
[ 3065.337767] ------------[ cut here ]------------
[ 3065.337775] pool index 43945 out of bounds (431) for stack id a9a8abaa
[ 3065.337785] WARNING: lib/stackdepot.c:506 at depot_fetch_stack+0x83/0xb0, CPU#0: repro_bpf/2167
[ 3065.337811] Modules linked in:
[ 3065.337826] CPU: 0 UID: 0 PID: 2167 Comm: repro_bpf Tainted: G W 7.0.0-rc5 #1 PREEMPT(lazy)
[ 3065.337844] Tainted: [W]=WARN
[ 3065.337850] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
[ 3065.337860] RIP: 0010:depot_fetch_stack+0x8a/0xb0
[ 3065.337879] Code: be ff ff ff ff 48 c7 c7 58 c1 df 88 e8 6f a1 aa 02 83 f8 01 75 bd 90 0f 0b 90 eb b7 48 8d 3d 0d 4d d6 05 89 e9 44 89 ea 89 de <67> 48 0f b9 3a 31 c0 eb c2 90 0f 0b 90 31 c0 eb ba 90 0f 0b 90 31
[ 3065.337892] RSP: 0018:ffffc90003e279a8 EFLAGS: 00010216
[ 3065.337906] RAX: 0000000000000000 RBX: 000000000000aba9 RCX: 00000000a9a8abaa
[ 3065.337916] RDX: 00000000000001af RSI: 000000000000aba9 RDI: ffffffff898838d0
[ 3065.337926] RBP: 00000000a9a8abaa R08: 0000000000000001 R09: 0000000000000000
[ 3065.337935] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000d40
[ 3065.337945] R13: 00000000000001af R14: ffff888186d6e1b0 R15: 0000000000000000
[ 3065.337954] FS: 00007fbd28700780(0000) GS:ffff8881fc6a5000(0000) knlGS:0000000000000000
[ 3065.337968] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3065.337978] CR2: 00007fadb5a9d9a0 CR3: 000000010b7d4002 CR4: 0000000000370ef0
[ 3065.337988] Call Trace:
[ 3065.337995]
[ 3065.338004] stack_depot_print+0x30/0x60
[ 3065.338024] skb_free_head+0x1ec/0x290
[ 3065.338042] skb_release_data+0x7a6/0x9d0
[ 3065.338060] ? __pfx_bpf_ctx_finish.isra.0+0x10/0x10
[ 3065.338085] ? bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.338100] sk_skb_reason_drop+0x142/0x550
[ 3065.338121] bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.338136] ? __lock_acquire+0x466/0x2270
[ 3065.338153] ? lock_is_held_type+0x8f/0x100
[ 3065.338168] ? lock_is_held_type+0x8f/0x100
[ 3065.338195] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.338209] ? lock_release+0xc8/0x2a0
[ 3065.338223] ? bpf_check_uarg_tail_zero+0x127/0x1b0
[ 3065.338239] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 3065.338256] ? fdget+0x17a/0x210
[ 3065.338279] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.338295] __sys_bpf+0x769/0x4b60
[ 3065.338316] ? __pfx___sys_bpf+0x10/0x10
[ 3065.338337] ? find_held_lock+0x2b/0x80
[ 3065.338356] ? finish_task_switch.isra.0+0x120/0x5d0
[ 3065.338373] ? lock_release+0xc8/0x2a0
[ 3065.338391] ? trace_hardirqs_on+0x18/0x170
[ 3065.338406] ? finish_task_switch.isra.0+0x1af/0x5d0
[ 3065.338421] ? __switch_to+0x7a0/0x1130
[ 3065.338438] ? __switch_to_asm+0x33/0x70
[ 3065.338473] ? exit_to_user_mode_loop+0xae/0x460
[ 3065.338492] __x64_sys_bpf+0x78/0xc0
[ 3065.338510] ? trace_hardirqs_on+0x18/0x170
[ 3065.338524] do_syscall_64+0x111/0x690
[ 3065.338544] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 3065.338567] RIP: 0033:0x7fbd2883790d
[ 3065.338589] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 d3 f4 0f 00 f7 d8 64 89 01 48
[ 3065.338603] RSP: 002b:00007ffe05c1edd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
[ 3065.338618] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd2883790d
[ 3065.338628] RDX: 0000000000000050 RSI: 00007ffe05c1ee00 RDI: 000000000000000a
[ 3065.338638] RBP: 00007ffe05c1ee60 R08: 0000000000000000 R09: 0000000000000000
[ 3065.338647] R10: 0000000000000004 R11: 0000000000000206 R12: 00007ffe05c1efa8
[ 3065.338656] R13: 0000000000000001 R14: 00007fbd289a3000 R15: 00005614a0f75d80
[ 3065.338715]
[ 3065.338723] irq event stamp: 5821
[ 3065.338730] hardirqs last enabled at (5827): [] __up_console_sem+0x76/0x80
[ 3065.338749] hardirqs last disabled at (5832): [] __up_console_sem+0x5b/0x80
[ 3065.338766] softirqs last enabled at (4198): [] bpf_test_run+0x388/0xc20
[ 3065.338788] softirqs last disabled at (4196): [] bpf_test_run+0x3de/0xc20
[ 3065.338809] ---[ end trace 0000000000000000 ]---
[ 3065.339970] ------------[ cut here ]------------
[ 3065.339981] corrupt handle or use after stack_depot_put()
[ 3065.339986] WARNING: lib/stackdepot.c:780 at stack_depot_print+0x55/0x60, CPU#0: repro_bpf/2167
[ 3065.340013] Modules linked in:
[ 3065.340027] CPU: 0 UID: 0 PID: 2167 Comm: repro_bpf Tainted: G W 7.0.0-rc5 #1 PREEMPT(lazy)
[ 3065.340045] Tainted: [W]=WARN
[ 3065.340051] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014
[ 3065.340060] RIP: 0010:stack_depot_print+0x55/0x60
[ 3065.340078] Code: e8 c0 f9 ff ff 48 85 c0 74 19 8b 70 14 48 8d 78 20 85 f6 74 e2 5b 31 d2 5d e9 b7 ed c0 fd c3 cc cc cc cc 48 8d 3d 8b 47 d6 05 <67> 48 0f b9 3a eb c6 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90
[ 3065.340102] RSP: 0018:ffffc90003e279d0 EFLAGS: 00010246
[ 3065.340115] RAX: 0000000000000000 RBX: 00000000a9a8abaa RCX: 00000000a9a8abaa
[ 3065.340125] RDX: 00000000000001af RSI: 000000000000aba9 RDI: ffffffff89883930
[ 3065.340135] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 3065.340144] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[ 3065.340161] R13: 0000000000000000 R14: ffff888186d6e1b0 R15: 0000000000000000
[ 3065.340171] FS: 00007fbd28700780(0000) GS:ffff8881fc6a5000(0000) knlGS:0000000000000000
[ 3065.340184] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3065.340194] CR2: 00007fadb5e73e70 CR3: 000000010b7d4002 CR4: 0000000000370ef0
[ 3065.340203] Call Trace:
[ 3065.340210]
[ 3065.340218] skb_free_head+0x1ec/0x290
[ 3065.340235] skb_release_data+0x7a6/0x9d0
[ 3065.340253] ? __pfx_bpf_ctx_finish.isra.0+0x10/0x10
[ 3065.340276] ? bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.340290] sk_skb_reason_drop+0x142/0x550
[ 3065.340310] bpf_prog_test_run_skb+0x14f8/0x3410
[ 3065.340324] ? __lock_acquire+0x466/0x2270
[ 3065.340340] ? lock_is_held_type+0x8f/0x100
[ 3065.340354] ? lock_is_held_type+0x8f/0x100
[ 3065.340380] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.340394] ? lock_release+0xc8/0x2a0
[ 3065.340407] ? bpf_check_uarg_tail_zero+0x127/0x1b0
[ 3065.340423] ? __sanitizer_cov_trace_switch+0x54/0x90
[ 3065.340439] ? fdget+0x17a/0x210
[ 3065.340461] ? __pfx_bpf_prog_test_run_skb+0x10/0x10
[ 3065.340476] __sys_bpf+0x769/0x4b60
[ 3065.340496] ? __pfx___sys_bpf+0x10/0x10
[ 3065.340517] ? find_held_lock+0x2b/0x80
[ 3065.340535] ? finish_task_switch.isra.0+0x120/0x5d0
[ 3065.340555] ? lock_release+0xc8/0x2a0
[ 3065.340588] ? trace_hardirqs_on+0x18/0x170
[ 3065.340604] ? finish_task_switch.isra.0+0x1af/0x5d0
[ 3065.340618] ? __switch_to+0x7a0/0x1130
[ 3065.340634] ? __switch_to_asm+0x33/0x70
[ 3065.340699] ? exit_to_user_mode_loop+0xae/0x460
[ 3065.340721] __x64_sys_bpf+0x78/0xc0
[ 3065.340738] ? trace_hardirqs_on+0x18/0x170
[ 3065.340752] do_syscall_64+0x111/0x690
[ 3065.340771] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 3065.340785] RIP: 0033:0x7fbd2883790d
[ 3065.340797] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 d3 f4 0f 00 f7 d8 64 89 01 48
[ 3065.340810] RSP: 002b:00007ffe05c1edd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000141
[ 3065.340825] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd2883790d
[ 3065.340834] RDX: 0000000000000050 RSI: 00007ffe05c1ee00 RDI: 000000000000000a
[ 3065.340843] RBP: 00007ffe05c1ee60 R08: 0000000000000000 R09: 0000000000000000
[ 3065.340852] R10: 0000000000000004 R11: 0000000000000206 R12: 00007ffe05c1efa8
[ 3065.340862] R13: 0000000000000001 R14: 00007fbd289a3000 R15: 00005614a0f75d80
[ 3065.340896]
[ 3065.340918] irq event stamp: 6227
[ 3065.340925] hardirqs last enabled at (6233): [] __up_console_sem+0x76/0x80
[ 3065.340943] hardirqs last disabled at (6238): [] __up_console_sem+0x5b/0x80
[ 3065.340961] softirqs last enabled at (4198): [] bpf_test_run+0x388/0xc20
[ 3065.340987] softirqs last disabled at (4196): [] bpf_test_run+0x3de/0xc20
[ 3065.341022] ---[ end trace 0000000000000000 ]---