Date: Thu, 03 Oct 2024 06:15:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281831] Reproducible kernel panic; double fault in AES_GCM_ENCRYPT Message-ID: <bug-281831-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281831 Bug ID: 281831 Summary: Reproducible kernel panic; double fault in AES_GCM_ENCRYPT Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alexey@ocaml.nl Hello, I have a reproducible kernel panic on 14.1-p5. Backtrace follows. #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3D<optimized out>) at /usr/src/sys/kern/kern_shutdown= .c:405 #2 0xffffffff80b32767 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:523 #3 0xffffffff80b32c3e in vpanic (fmt=3D0xffffffff811cf137 "double fault", ap=3Dap@entry=3D0xfffffe006e62ee40) at /usr/src/sys/kern/kern_shutdown.c:967 #4 0xffffffff80b32a93 in panic (fmt=3D<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:891 #5 0xffffffff81000e7e in dblfault_handler (frame=3D<optimized out>) at /usr/src/sys/amd64/amd64/trap.c:1012 #6 <signal handler called> #7 0xffffffff80edb4fc in AES_GCM_encrypt (in=3Din@entry=3D0xfffff8075b658c= 00 "E", out=3Dout@entry=3D0xfffff8075b658c00 "E", addt=3Daddt@entry=3D0xfffff800029= dc468 "H", ivec=3Divec@entry=3D0xfffffe0265038180 "", tag=3Dtag@entry=3D0xfffffe02= 65038170 "", nbytes=3D1003, abytes=3D8, ibytes=3D12, key=3D0xfffff8002ca4b850 "df|)\372\3745\342Q\274\371\304H%\263j6\005~\006=DF=AF\225%\2228\023\326Z\3= 21\022Z[\257\302\227\241S\367u\360\357\016\261\270=CA=BD\333Zq\004\277\205= =DE=91\232\027\346\202LM7\220\026\303=CF=85tb\234r\001\222s|\260*\271\301k\= 277'|\300:\371\355Z-\037o\026`(\377", nr=3D14) at /usr/src/sys/crypto/aesni/aesni_ghash.c:381 #8 0xffffffff80ed9da1 in aesni_cipher_crypt (ses=3D0xfffff8002ca4b848, crp=3D0xfffff8057a42d348, csp=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:717 #9 0xffffffff80ed9668 in aesni_cipher_process (ses=3D0xfffff8002ca4b848, crp=3D0xfffff8057a42d348) at /usr/src/sys/crypto/aesni/aesni.c:611 #10 aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d348, hint=3D= <optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:318 #11 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d348, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #12 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d348) at /usr/src/sys/opencrypto/crypto.c:1448 #13 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff800029dc400, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265038280) at /usr/src/sys/net/if_ovpn.c:1955 #14 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff800029dc400, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #15 0xffffffff80cf36ac in ip_output (m=3D0xfffff800029dc400, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #16 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff800029dc400) at /usr/src/sys/net/if_ovpn.c:2045 #17 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d460) at /usr/src/sys/net/if_ovpn.c:1501 #18 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d460, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #19 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d460, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #20 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d460) at /usr/src/sys/opencrypto/crypto.c:1448 #21 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff800029dc400, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265038590) at /usr/src/sys/net/if_ovpn.c:1955 #22 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff800029dc400, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #23 0xffffffff80cf36ac in ip_output (m=3D0xfffff800029dc400, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #24 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff800029dc400) at /usr/src/sys/net/if_ovpn.c:2045 #25 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d578) at /usr/src/sys/net/if_ovpn.c:1501 #26 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d578, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #27 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d578, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #28 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d578) at /usr/src/sys/opencrypto/crypto.c:1448 #29 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff800029dc400, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe02650388a0) at /usr/src/sys/net/if_ovpn.c:1955 #30 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff800029dc400, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #31 0xffffffff80cf36ac in ip_output (m=3D0xfffff800029dc400, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #32 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff800029dc400, m@entry=3D0xfffff8003b08c= 300) at /usr/src/sys/net/if_ovpn.c:2045 #33 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d690) at /usr/src/sys/net/if_ovpn.c:1501 #34 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d690, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #35 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d690, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #36 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d690) at /usr/src/sys/opencrypto/crypto.c:1448 #37 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b08c300, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265038bb0) at /usr/src/sys/net/if_ovpn.c:1955 #38 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b08c300, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #39 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b08c300, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #40 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b08c300) at /usr/src/sys/net/if_ovpn.c:2045 #41 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d7a8) at /usr/src/sys/net/if_ovpn.c:1501 #42 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d7a8, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #43 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d7a8, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #44 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d7a8) at /usr/src/sys/opencrypto/crypto.c:1448 #45 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b08c300, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265038ec0) at /usr/src/sys/net/if_ovpn.c:1955 #46 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b08c300, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #47 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b08c300, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #48 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b08c300) at /usr/src/sys/net/if_ovpn.c:2045 #49 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d8c0) at /usr/src/sys/net/if_ovpn.c:1501 #50 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d8c0, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #51 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d8c0, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #52 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d8c0) at /usr/src/sys/opencrypto/crypto.c:1448 #53 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b08c300, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe02650391d0) at /usr/src/sys/net/if_ovpn.c:1955 #54 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b08c300, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #55 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b08c300, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #56 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff8003b08c300, m@entry=3D0xfffff8003b87b= b00) at /usr/src/sys/net/if_ovpn.c:2045 #57 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42d9d8) at /usr/src/sys/net/if_ovpn.c:1501 #58 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42d9d8, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #59 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42d9d8, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #60 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42d9d8) at /usr/src/sys/opencrypto/crypto.c:1448 #61 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b87bb00, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe02650394e0) at /usr/src/sys/net/if_ovpn.c:1955 #62 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b87bb00, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #63 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b87bb00, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #64 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b87bb00) at /usr/src/sys/net/if_ovpn.c:2045 #65 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42daf0) at /usr/src/sys/net/if_ovpn.c:1501 #66 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42daf0, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #67 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42daf0, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #68 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42daf0) at /usr/src/sys/opencrypto/crypto.c:1448 #69 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b87bb00, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe02650397f0) at /usr/src/sys/net/if_ovpn.c:1955 #70 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b87bb00, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #71 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b87bb00, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #72 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b87bb00) at /usr/src/sys/net/if_ovpn.c:2045 #73 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42dc08) at /usr/src/sys/net/if_ovpn.c:1501 #74 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42dc08, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #75 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42dc08, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #76 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42dc08) at /usr/src/sys/opencrypto/crypto.c:1448 #77 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003b87bb00, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265039b00) at /usr/src/sys/net/if_ovpn.c:1955 #78 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003b87bb00, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #79 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003b87bb00, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #80 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff8003b87bb00, m@entry=3D0xfffff80790f8d= 200) at /usr/src/sys/net/if_ovpn.c:2045 #81 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42dd20) at /usr/src/sys/net/if_ovpn.c:1501 #82 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42dd20, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #83 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42dd20, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #84 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42dd20) at /usr/src/sys/opencrypto/crypto.c:1448 #85 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff80790f8d200, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe0265039e10) at /usr/src/sys/net/if_ovpn.c:1955 #86 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff80790f8d200, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #87 0xffffffff80cf36ac in ip_output (m=3D0xfffff80790f8d200, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #88 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff80790f8d200) at /usr/src/sys/net/if_ovpn.c:2045 #89 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42de38) at /usr/src/sys/net/if_ovpn.c:1501 #90 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42de38, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #91 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42de38, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #92 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42de38) at /usr/src/sys/opencrypto/crypto.c:1448 #93 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff80790f8d200, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503a120) at /usr/src/sys/net/if_ovpn.c:1955 #94 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff80790f8d200, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #95 0xffffffff80cf36ac in ip_output (m=3D0xfffff80790f8d200, opt=3Dopt@entr= y=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #96 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff80790f8d200) at /usr/src/sys/net/if_ovpn.c:2045 #97 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c000) at /usr/src/sys/net/if_ovpn.c:1501 #98 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c000, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #99 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c000, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #100 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c000) at /usr/src/sys/opencrypto/crypto.c:1448 #101 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff80790f8d200, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503a430) at /usr/src/sys/net/if_ovpn.c:1955 #102 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff80790f8d200, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #103 0xffffffff80cf36ac in ip_output (m=3D0xfffff80790f8d200, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #104 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff80790f8d200, m@entry=3D0xfffff8000502f= 100) at /usr/src/sys/net/if_ovpn.c:2045 #105 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c118) at /usr/src/sys/net/if_ovpn.c:1501 #106 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c118, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #107 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c118, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #108 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c118) at /usr/src/sys/opencrypto/crypto.c:1448 #109 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8000502f100, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503a740) at /usr/src/sys/net/if_ovpn.c:1955 #110 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8000502f100, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #111 0xffffffff80cf36ac in ip_output (m=3D0xfffff8000502f100, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #112 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8000502f100) at /usr/src/sys/net/if_ovpn.c:2045 #113 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c230) at /usr/src/sys/net/if_ovpn.c:1501 #114 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c230, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #115 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c230, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #116 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c230) at /usr/src/sys/opencrypto/crypto.c:1448 #117 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8000502f100, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503aa50) at /usr/src/sys/net/if_ovpn.c:1955 #118 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8000502f100, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #119 0xffffffff80cf36ac in ip_output (m=3D0xfffff8000502f100, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #120 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8000502f100) at /usr/src/sys/net/if_ovpn.c:2045 #121 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c348) at /usr/src/sys/net/if_ovpn.c:1501 #122 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c348, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #123 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c348, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #124 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c348) at /usr/src/sys/opencrypto/crypto.c:1448 #125 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8000502f100, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503ad60) at /usr/src/sys/net/if_ovpn.c:1955 #126 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8000502f100, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #127 0xffffffff80cf36ac in ip_output (m=3D0xfffff8000502f100, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #128 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff8000502f100, m@entry=3D0xfffff8003bd3c= 500) at /usr/src/sys/net/if_ovpn.c:2045 #129 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c460) at /usr/src/sys/net/if_ovpn.c:1501 #130 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c460, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #131 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c460, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #132 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c460) at /usr/src/sys/opencrypto/crypto.c:1448 #133 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003bd3c500, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503b070) at /usr/src/sys/net/if_ovpn.c:1955 #134 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003bd3c500, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #135 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003bd3c500, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #136 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003bd3c500) at /usr/src/sys/net/if_ovpn.c:2045 #137 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c578) at /usr/src/sys/net/if_ovpn.c:1501 #138 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c578, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #139 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c578, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #140 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c578) at /usr/src/sys/opencrypto/crypto.c:1448 #141 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003bd3c500, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503b380) at /usr/src/sys/net/if_ovpn.c:1955 #142 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003bd3c500, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #143 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003bd3c500, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #144 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3Dm@entry=3D0xfffff8003bd3c500) at /usr/src/sys/net/if_ovpn.c:2045 #145 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c690) at /usr/src/sys/net/if_ovpn.c:1501 #146 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c690, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #147 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c690, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #148 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c690) at /usr/src/sys/opencrypto/crypto.c:1448 #149 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff8003bd3c500, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503b690) at /usr/src/sys/net/if_ovpn.c:1955 #150 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff8003bd3c500, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #151 0xffffffff80cf36ac in ip_output (m=3D0xfffff8003bd3c500, opt=3Dopt@ent= ry=3D0x0, ro=3D<optimized out>, ro@entry=3D0x0, flags=3Dflags@entry=3D0, imo=3Dimo@en= try=3D0x0, inp=3Dinp@entry=3D0x0) at /usr/src/sys/netinet/ip_output.c:798 #152 0xffffffff8422a63c in ovpn_encap (sc=3Dsc@entry=3D0xfffff802c2686300, peerid=3D<optimized out>, m=3D0xfffff8003bd3c500, m@entry=3D0xfffff800029e0= 600) at /usr/src/sys/net/if_ovpn.c:2045 #153 0xffffffff8422a70a in ovpn_encrypt_tx_cb (crp=3D0xfffff8057a42c7a8) at /usr/src/sys/net/if_ovpn.c:1501 #154 0xffffffff80ed9675 in aesni_process (dev=3D<optimized out>, crp=3D0xfffff8057a42c7a8, hint=3D<optimized out>) at /usr/src/sys/crypto/aesni/aesni.c:321 #155 0xffffffff80df7280 in crypto_dispatch_one (crp=3Dcrp@entry=3D0xfffff8057a42c7a8, hint=3D0) at /usr/src/sys/opencrypto/crypto.c:1432 #156 crypto_dispatch (crp=3Dcrp@entry=3D0xfffff8057a42c7a8) at /usr/src/sys/opencrypto/crypto.c:1448 #157 0xffffffff8422a0f1 in ovpn_transmit_to_peer (ifp=3D<optimized out>, m=3Dm@entry=3D0xfffff800029e0600, peer=3Dpeer@entry=3D0xfffff80037028400, _ovpn_lock_trackerp=3D_ovpn_lock_trackerp@entry=3D0xfffffe026503b9a0) at /usr/src/sys/net/if_ovpn.c:1955 #158 0xffffffff842270cd in ovpn_output (ifp=3D0xfffff80256708000, m=3D0xfffff800029e0600, dst=3D<optimized out>, ro=3D<optimized out>) at /usr/src/sys/net/if_ovpn.c:2142 #159 0xffffffff80cf36ac in ip_output (m=3D0xfffff800029e0600, opt=3D<optimi= zed out>, ro=3D<optimized out>, flags=3D64, imo=3D0x0, inp=3Dinp@entry=3D0xffff= f80037a65380) at /usr/src/sys/netinet/ip_output.c:798 #160 0xffffffff80d24710 in udp_send (so=3D<optimized out>, flags=3D<optimiz= ed out>, m=3D0xfffff800029e0600, addr=3D<optimized out>, control=3D<optimized out>, td=3D<optimized out>) at /usr/src/sys/netinet/udp_usrreq.c:1454 #161 0xffffffff80bd73f0 in sosend_dgram (so=3D<optimized out>, addr=3D<opti= mized out>, uio=3D<optimized out>, top=3D<optimized out>, control=3D0x0, flags=3D= <optimized out>, td=3D0xfffff807c83c8740) at /usr/src/sys/kern/uipc_socket.c:1557 #162 0xffffffff80bd82cf in sousrsend (so=3D0x13, so@entry=3D0xfffff80037c22= 780, addr=3D0xfffff8075b658c00, uio=3D0xfffff800029dc468, uio@entry=3D0xfffffe02= 6503bce8, control=3D0xe, control@entry=3D0x0, flags=3Dflags@entry=3D0, userproc=3Duserproc@entry=3D0x0) at /usr/src/sys/kern/uipc_socket.c:1896 #163 0xffffffff80bdeb5e in kern_sendit (td=3D0xfffff807c83c8740, s=3D5, mp=3D0xfffffe026503bdc0, flags=3D<optimized out>, control=3Dcontrol@entry= =3D0x0, segflg=3Dsegflg@entry=3DUIO_USERSPACE) at /usr/src/sys/kern/uipc_syscal= ls.c:789 #164 0xffffffff80bdee61 in sendit (td=3D0x13, s=3D1533381632, mp=3D0xfffff800029dc468, mp@entry=3D0xfffffe026503bdc0, flags=3D748992816) at /usr/src/sys/kern/uipc_syscalls.c:714 #165 0xffffffff80bdeccd in sys_sendto (td=3D0x13, uap=3D<optimized out>) at /usr/src/sys/kern/uipc_syscalls.c:821 #166 0xffffffff810011c0 in syscallenter (td=3D0xfffff807c83c8740) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:188 #167 amd64_syscall (td=3D0xfffff807c83c8740, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1194 #168 <signal handler called> #169 0x000000082745662a in ?? () Backtrace stopped: Cannot access memory at address 0x820867db8 Some background: I have OpenVPN running; establishing a connection does not break anything. My system is tuned to go through VPN on fib 1; fib 0 is nor= mal internet. As soon as I do something like "setfib 1 w3m ..." the system cras= hes. Removing "cipher AES-128-CBC" (sic, CBC) line from config helped. I do not control the other end of the VPN, and it worked previously. Probably someth= ing has changed on the other side. No changes were made on my side. I do not run IPv6; the only entries in IPv4 routing table in fib 1 say "default goes to tun1" and 127.0.0.1 goes to lo0. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281831-227>