[GH-ISSUE #154] debian13 kernel panic #96

Open
opened 2026-10-13 21:06:29 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @oleg9301 on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/154

[    4.803314] amneziawg: module verification failed: signature and/or required key missing - tainting kernel
[    4.807479] amneziawg: AmneziaWG 1.0.20251009 loaded. See amnezia.org for information.
[    4.807481] amneziawg: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.807481] amneziawg: Copyright (C) 2024-2025 AmneziaVPN <admin@amnezia.org>. All Rights Reserved.
[  124.508891] BUG: unable to handle page fault for address: 0000001800000001
[  124.508916] #PF: supervisor write access in kernel mode
[  124.508927] #PF: error_code(0x0002) - not-present page
[  124.508936] PGD 0 P4D 0 
[  124.508946] Oops: Oops: 0002 [#1] PREEMPT SMP NOPTI
[  124.508958] CPU: 1 UID: 0 PID: 31 Comm: kworker/u10:0 Tainted: G            E      6.12.74+deb13+1-amd64 #1  Debian 6.12.74-2
[  124.508976] Tainted: [E]=UNSIGNED_MODULE
[  124.508984] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
[  124.509000] Workqueue: wg-kex-awg0 wg_packet_handshake_send_worker [amneziawg]
[  124.509025] RIP: 0010:memcpy_orig+0x31/0x140
[  124.509037] Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83
[  124.509065] RSP: 0018:ffffd2c680123c00 EFLAGS: 00010083
[  124.509074] RAX: 0000001800000001 RBX: ffff8a403bd333e0 RCX: 00000000951ce125
[  124.509086] RDX: ffffffffffffffe0 RSI: ffffd2c680123c48 RDI: 0000001800000001
[  124.509098] RBP: 0000001800000001 R08: 5eb2c4eaea681d9f R09: 1d2d56b2e074af5a
[  124.509112] R10: 28ea97b6951ce125 R11: 96239de0a9d3ecad R12: ffffd2c680123cb0
[  124.509124] R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000
[  124.509136] FS:  0000000000000000(0000) GS:ffff8a403bd00000(0000) knlGS:0000000000000000
[  124.509149] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  124.509159] CR2: 0000001800000001 CR3: 0000000110e08004 CR4: 00000000007706f0
[  124.509195] PKRU: 55555554
[  124.509203] Call Trace:
[  124.509224]  <TASK>
[  124.509231]  crng_fast_key_erasure+0xd2/0x110
[  124.509251]  crng_make_state+0x61/0x140
[  124.509262]  _get_random_bytes+0x9a/0x140
[  124.509273]  jp_spec_applymods+0x40/0x60 [amneziawg]
[  124.509287]  wg_packet_send_handshake_initiation+0x100/0x300 [amneziawg]
[  124.509303]  wg_packet_handshake_send_worker+0x19/0x30 [amneziawg]
[  124.509318]  process_one_work+0x174/0x330
[  124.509339]  worker_thread+0x251/0x390
[  124.509349]  ? __pfx_worker_thread+0x10/0x10
[  124.509359]  kthread+0xd2/0x100
[  124.509367]  ? __pfx_kthread+0x10/0x10
[  124.509375]  ret_from_fork+0x31/0x50
[  124.509386]  ? __pfx_kthread+0x10/0x10
[  124.509395]  ret_from_fork_asm+0x1a/0x30
[  124.509411]  </TASK>
[  124.509419] Modules linked in: nf_tables libcrc32c amneziawg(E) libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel tun binfmt_misc intel_rapl_msr intel_rapl_common intel_uncore_frequency_common isst_if_mbox_msr isst_if_common skx_edac_common nfit libnvdimm crct10dif_pclmul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel gf128mul crypto_simd cryptd rapl vmwgfx vmw_balloon vga16fb vgastate pcspkr drm_ttm_helper ttm drm_kms_helper ac button joydev evdev sg drm efi_pstore configfs nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sr_mod cdrom ata_generic ata_piix libata sd_mod vmw_pvscsi scsi_mod crc32_pclmul vmxnet3 psmouse i2c_piix4 crc32c_intel i2c_smbus serio_raw scsi_common
[  124.509571] CR2: 0000001800000001
[  124.509581] ---[ end trace 0000000000000000 ]---
[  124.509990] RIP: 0010:memcpy_orig+0x31/0x140
[  124.510329] Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83
[  124.511023] RSP: 0018:ffffd2c680123c00 EFLAGS: 00010083
[  124.511366] RAX: 0000001800000001 RBX: ffff8a403bd333e0 RCX: 00000000951ce125
[  124.511708] RDX: ffffffffffffffe0 RSI: ffffd2c680123c48 RDI: 0000001800000001
[  124.512045] RBP: 0000001800000001 R08: 5eb2c4eaea681d9f R09: 1d2d56b2e074af5a
[  124.512398] R10: 28ea97b6951ce125 R11: 96239de0a9d3ecad R12: ffffd2c680123cb0
[  124.512736] R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000
[  124.513073] FS:  0000000000000000(0000) GS:ffff8a403bd00000(0000) knlGS:0000000000000000
[  124.513405] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  124.513732] CR2: 0000001800000001 CR3: 0000000110e08004 CR4: 00000000007706f0
[  124.514090] PKRU: 55555554
[  124.514419] note: kworker/u10:0[31] exited with irqs disabled
root@proxy1:~# 
root@proxy1:~# free -m
               total        used        free      shared  buff/cache   available
Mem:            3921         918        2600           2         652        3003
Swap:           1721           0        1721
root@proxy1:~# cat /etc/debian_version 
13.4
root@-proxy1:~# uname -a
Linux -proxy1 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64 GNU/Linux
root@-proxy1:~# cat /etc/apt/sources.list
***
## amnezia/ppa
deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main
deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main

I have second nearly same VM debian13+kernel 6.12.74+deb13+1-amd64+amneziawg module, and no kernel panic here.
What information i can provide?

Originally created by @oleg9301 on GitHub (Mar 20, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/154 ``` [ 4.803314] amneziawg: module verification failed: signature and/or required key missing - tainting kernel [ 4.807479] amneziawg: AmneziaWG 1.0.20251009 loaded. See amnezia.org for information. [ 4.807481] amneziawg: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.807481] amneziawg: Copyright (C) 2024-2025 AmneziaVPN <admin@amnezia.org>. All Rights Reserved. [ 124.508891] BUG: unable to handle page fault for address: 0000001800000001 [ 124.508916] #PF: supervisor write access in kernel mode [ 124.508927] #PF: error_code(0x0002) - not-present page [ 124.508936] PGD 0 P4D 0 [ 124.508946] Oops: Oops: 0002 [#1] PREEMPT SMP NOPTI [ 124.508958] CPU: 1 UID: 0 PID: 31 Comm: kworker/u10:0 Tainted: G E 6.12.74+deb13+1-amd64 #1 Debian 6.12.74-2 [ 124.508976] Tainted: [E]=UNSIGNED_MODULE [ 124.508984] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 [ 124.509000] Workqueue: wg-kex-awg0 wg_packet_handshake_send_worker [amneziawg] [ 124.509025] RIP: 0010:memcpy_orig+0x31/0x140 [ 124.509037] Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83 [ 124.509065] RSP: 0018:ffffd2c680123c00 EFLAGS: 00010083 [ 124.509074] RAX: 0000001800000001 RBX: ffff8a403bd333e0 RCX: 00000000951ce125 [ 124.509086] RDX: ffffffffffffffe0 RSI: ffffd2c680123c48 RDI: 0000001800000001 [ 124.509098] RBP: 0000001800000001 R08: 5eb2c4eaea681d9f R09: 1d2d56b2e074af5a [ 124.509112] R10: 28ea97b6951ce125 R11: 96239de0a9d3ecad R12: ffffd2c680123cb0 [ 124.509124] R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000 [ 124.509136] FS: 0000000000000000(0000) GS:ffff8a403bd00000(0000) knlGS:0000000000000000 [ 124.509149] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 124.509159] CR2: 0000001800000001 CR3: 0000000110e08004 CR4: 00000000007706f0 [ 124.509195] PKRU: 55555554 [ 124.509203] Call Trace: [ 124.509224] <TASK> [ 124.509231] crng_fast_key_erasure+0xd2/0x110 [ 124.509251] crng_make_state+0x61/0x140 [ 124.509262] _get_random_bytes+0x9a/0x140 [ 124.509273] jp_spec_applymods+0x40/0x60 [amneziawg] [ 124.509287] wg_packet_send_handshake_initiation+0x100/0x300 [amneziawg] [ 124.509303] wg_packet_handshake_send_worker+0x19/0x30 [amneziawg] [ 124.509318] process_one_work+0x174/0x330 [ 124.509339] worker_thread+0x251/0x390 [ 124.509349] ? __pfx_worker_thread+0x10/0x10 [ 124.509359] kthread+0xd2/0x100 [ 124.509367] ? __pfx_kthread+0x10/0x10 [ 124.509375] ret_from_fork+0x31/0x50 [ 124.509386] ? __pfx_kthread+0x10/0x10 [ 124.509395] ret_from_fork_asm+0x1a/0x30 [ 124.509411] </TASK> [ 124.509419] Modules linked in: nf_tables libcrc32c amneziawg(E) libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel tun binfmt_misc intel_rapl_msr intel_rapl_common intel_uncore_frequency_common isst_if_mbox_msr isst_if_common skx_edac_common nfit libnvdimm crct10dif_pclmul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel gf128mul crypto_simd cryptd rapl vmwgfx vmw_balloon vga16fb vgastate pcspkr drm_ttm_helper ttm drm_kms_helper ac button joydev evdev sg drm efi_pstore configfs nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sr_mod cdrom ata_generic ata_piix libata sd_mod vmw_pvscsi scsi_mod crc32_pclmul vmxnet3 psmouse i2c_piix4 crc32c_intel i2c_smbus serio_raw scsi_common [ 124.509571] CR2: 0000001800000001 [ 124.509581] ---[ end trace 0000000000000000 ]--- [ 124.509990] RIP: 0010:memcpy_orig+0x31/0x140 [ 124.510329] Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83 [ 124.511023] RSP: 0018:ffffd2c680123c00 EFLAGS: 00010083 [ 124.511366] RAX: 0000001800000001 RBX: ffff8a403bd333e0 RCX: 00000000951ce125 [ 124.511708] RDX: ffffffffffffffe0 RSI: ffffd2c680123c48 RDI: 0000001800000001 [ 124.512045] RBP: 0000001800000001 R08: 5eb2c4eaea681d9f R09: 1d2d56b2e074af5a [ 124.512398] R10: 28ea97b6951ce125 R11: 96239de0a9d3ecad R12: ffffd2c680123cb0 [ 124.512736] R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000 [ 124.513073] FS: 0000000000000000(0000) GS:ffff8a403bd00000(0000) knlGS:0000000000000000 [ 124.513405] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 124.513732] CR2: 0000001800000001 CR3: 0000000110e08004 CR4: 00000000007706f0 [ 124.514090] PKRU: 55555554 [ 124.514419] note: kworker/u10:0[31] exited with irqs disabled root@proxy1:~# root@proxy1:~# free -m total used free shared buff/cache available Mem: 3921 918 2600 2 652 3003 Swap: 1721 0 1721 root@proxy1:~# cat /etc/debian_version 13.4 root@-proxy1:~# uname -a Linux -proxy1 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64 GNU/Linux root@-proxy1:~# cat /etc/apt/sources.list *** ## amnezia/ppa deb https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main deb-src https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu noble main ``` I have second nearly same VM debian13+kernel 6.12.74+deb13+1-amd64+amneziawg module, and no kernel panic here. What information i can provide?
Author
Owner

@ShevT commented on GitHub (Mar 31, 2026):

Fixed. Tested on 6.12 and 6.19 kernels

<!-- gh-comment-id:4162466013 --> @ShevT commented on GitHub (Mar 31, 2026): Fixed. Tested on 6.12 and 6.19 kernels
Author
Owner

@duven87 commented on GitHub (Sep 3, 2026):

What is the situation regarding the problem?

<!-- gh-comment-id:5531129387 --> @duven87 commented on GitHub (Sep 3, 2026): What is the situation regarding the problem?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#96
No description provided.