make -C tools/testing/selftests TARGETS=net/tcp_ao TEST_PROGS=unsigned-md55_ipv4 TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-5/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' make[1]: Entering directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' TAP version 13 1..1 # timeout set to 120 # selftests: net/tcp_ao: unsigned-md5_ipv4 # 1..72 # # 223[lib/setup.c:243] rand seed 1708690293 # TAP version 13 # ok 1 AO server (INADDR_ANY): AO client: conne[ 2.026753] TCP: Unexpected MD5 Hash found for 10.0.1.1.42183->10.0.254.1.7011 [S] cted # ok 2 AO server (INADDR_ANY): AO client: counter TCPAOGood increased 0 => 2 [ 3.028945] TCP: AO hash is required, but not found for 10.0.1.1.36607->10.0.254.1.7012 [S] L3 index 0 # ok 3 AO server (INADDR_ANY): MD5 client: counter TCPMD5Unexpected increased 0 => 1 # ok 4 AO server (INADDR_ANY): MD5 client # ok 5 AO server (INADDR_ANY): unsigned client # ok 6 AO server (INADDR_ANY): no sign client: counter TCPAORequired increased 0 => 1 # ok 7 AO server (AO_REQUIRED): AO client: co[ 4.032868] TCP: AO hash is required, but not found for 10.0.2.1.34947->10.0.254.1.7014 [S] L3 index 0 nnected # ok 8 AO server (AO_REQUIRED): AO client: counter TCPAOGood increased 2 => 4 [ 5.035009] TCP: AO key not found for 10.0.1.1.41677->10.0.254.1.7015 [S] keyid: 100 L3index: 0 # ok 9 AO server (AO_REQUIRED): unsigned client: counter TCPAORequired increased 1 => 2 # ok 10 AO server (AO_REQUIRED): unsigned client # ok 11 MD5 server (INADDR_ANY): AO client: counter TCPAOKeyNotFound increased 0 => 1 # ok[ 6.037422] TCP: MD5 Hash not found for 10.0.1.1.41619->10.0.254.1.7017 [S] L3 index 0 12 MD5 server (INADDR_ANY): AO client # ok 13 MD5 server (INADDR_ANY): MD5 client: connected # ok 14 MD5 server (INADDR_ANY): MD5 client: no counter checks # ok 15 MD5 server (INADDR_ANY): no sign client: counter TCPMD5N[ 7.039549] TCP: AO key not found for 10.0.1.1.48487->10.0.254.1.7018 [S] keyid: 100 L3index: 0 otFound increased 0 => 1 # ok 16 MD5 server (INADDR_ANY): no sign client: refused to connect # ok 17 no sign server: AO client: counter TCPAOKeyNotFound increased 1 => 2 # ok 1[ 8.042004] TCP: Unexpected MD5 Hash found for 10.0.1.1.44835->10.0.254.1.7019 [S] 8 no sign server: AO client # ok 19 no sign server: MD5 client: counter TCPMD5Unexpected increased 1 => 2 # ok 20 no sign server: MD5 client # ok 21 no sign server: no sign client: con[ 9.045556] TCP: Requested by the peer AO key id not found for 10.0.1.1.40247->10.0.254.1.7022 [S] L3index: 0 nected # ok 22 no sign server: no sign client: counter CurrEstab increased 0 => 1 # ok 23 AO+MD5 server: AO client (matching): connected # ok 24 AO+MD5 server: AO client (matching): counter TCPAOGood increased 4 => 6 [ 10.047005] BUG: kernel NULL pointer dereference, address: 0000000000000081 [ 10.047414] #PF: supervisor read access in kernel mode# ok 25 AO[+ M D 51 0s.04e7r5v7e0r]: TAOC Pc:l ieRnetquested by the peer AO key id not found for 10.0.3.1.58895->10.0.254.1.7023 [S] L3index: 0 [ 10.047754] #PF: error_code(0x0000) - not-present page [ 10.048730] PGD 0 P4D 0 [ 10.048872] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 10.049103] CPU: 3 PID: 32 Comm: ksoftirqd/3 Not tainted 6.8.0-rc5-virtme #1 [ 10.049470] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 10.050062] RIP: 0010:tcp_inbound_ao_hash+0x9e/0x6e0 [ 10.050328] Code: 0f b6 46 0d a8 02 0f 85 61 02 00 00 0f b6 55 12 48 8b 3c 24 be b2 0b 00 00 0f a3 d6 0f b6 4f 02 0f 83 db 01 00 00 49 8b 5f 10 <38> 8b 81 00 00 00 0f 85 9f 00 00 00 83 e0 12 3c 02 0f 84 33 01 00 [ 10.051317] RSP: 0018:ffffacfb8012bc20 EFLAGS: 00010203 [ 10.051592] RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000064 [ 10.052079] RDX: 0000000000000007 RSI: 0000000000000bb2 RDI: ffff8a53c283055c [ 10.052589] RBP: ffff8a53c3ad2400 R08: 0000000000000001 R09: ffff8a53c283055c [ 10.053129] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a53c26640d8 [ 10.05368 DETECTED CRASH, lowering timeout 1] R13: 0000000000000002 R14: ffff8a53c2830548 R15: ffff8a53c2a32900 [ 10.054230] FS: 0000000000000000(0000) GS:ffff8a53fed80000(0000) knlGS:0000000000000000 [ 10.054838] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.055284] CR2: 0000000000000081 CR3: 0000000002166005 CR4: 0000000000770ef0 [ 10.055831] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 10.056383] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 10.056926] PKRU: 55555554 [ 10.057144] Call Trace: [ 10.057344] [ 10.057520] ? __die+0x24/0x70 [ 10.057771] ? page_fault_oops+0x15b/0x430 [ 10.058097] ? fib_lookup_good_nhc+0x48/0x110 [ 10.058443] ? exc_page_fault+0x6e/0x1d0 [ 10.058753] ? asm_exc_page_fault+0x26/0x30 [ 10.059087] ? tcp_inbound_ao_hash+0x9e/0x6e0 [ 10.059434] tcp_v4_rcv+0xeb7/0x10d0 [ 10.059727] ? lock_is_held_type+0x9f/0x120 [ 10.060055] ? process_backlog+0x76/0x260 [ 10.060371] ip_protocol_deliver_rcu+0x43/0x180 [ 10.060729] ip_local_deliver+0xd4/0x1c0 [ 10.061036] __netif_receive_skb_one_core+0x8b/0xa0 [ 10.061416] process_backlog+0x83/0x260 [ 10.061719] __napi_poll.constprop.0+0x27/0x1e0 [ 10.062075] net_rx_action+0x2c8/0x350 [ 10.062370] __do_softirq+0xc8/0x37a [ 10.062655] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 10.063021] run_ksoftirqd+0x2e/0x40 [ 10.063308] smpboot_thread_fn+0xd9/0x1d0 [ 10.063630] kthread+0xda/0x110 [ 10.063878] ? __pfx_kthread+0x10/0x10 [ 10.064173] ret_from_fork+0x31/0x50 [ 10.064461] ? __pfx_kthread+0x10/0x10 [ 10.064741] ret_from_fork_asm+0x1b/0x30 [ 10.064974] [ 10.065095] Modules linked in: veth [ 10.065283] CR2: 0000000000000081 [ 10.065461] ---[ end trace 0000000000000000 ]--- [ 10.065714] RIP: 0010:tcp_inbound_ao_hash+0x9e/0x6e0 [ 10.065978] Code: 0f b6 46 0d a8 02 0f 85 61 02 00 00 0f b6 55 12 48 8b 3c 24 be b2 0b 00 00 0f a3 d6 0f b6 4f 02 0f 83 db 01 00 00 49 8b 5f 10 <38> 8b 81 00 00 00 0f 85 9f 00 00 00 83 e0 12 3c 02 0f 84 33 01 00 [ 10.066945] RSP: 0018:ffffacfb8012bc20 EFLAGS: 00010203 [ 10.067217] RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000064 [ 10.067586] RDX: 0000000000000007 RSI: 0000000000000bb2 RDI: ffff8a53c283055c [ 10.067960] RBP: ffff8a53c3ad2400 R08: 0000000000000001 R09: ffff8a53c283055c [ 10.068326] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a53c26640d8 [ 10.068699] R13: 0000000000000002 R14: ffff8a53c2830548 R15: ffff8a53c2a32900 [ 10.069068] FS: 0000000000000000(0000) GS:ffff8a53fed80000(0000) knlGS:0000000000000000 [ 10.069483] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.069790] CR2: 0000000000000081 CR3: 0000000002166005 CR4: 0000000000770ef0 [ 10.070158] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 10.070531] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 10.070919] PKRU: 55555554 [ 10.071066] Kernel panic - not syncing: Fatal exception in interrupt [ 10.071578] Kernel Offset: 0x2b600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 10.072135] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout WAIT TIMEOUT stdout