Bug 196085
Summary: | Crypto functions are broken on 4.11 arm kernel | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Charizard (charizard92) |
Component: | ARM | Assignee: | linux-arm-kernel (linux-arm-kernel) |
Status: | NEW --- | ||
Severity: | blocking | CC: | vmlinuz386 |
Priority: | P1 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Kernel Version: | 4.11 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Charizard
2017-06-15 21:31:19 UTC
I just restarted my machine (x86_64) and I get a similar BUG, but this was one time, not able to reproduce, maybe some kind of race condition. Running 4.12.6. Never hit such things with 4.4.x, Same things running as you OpenVPN, hostapd, LUKS (/home). ago 12 20:00:49.689187 kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018 ago 12 20:00:49.689299 kernel: IP: crypto_remove_spawns+0xa3/0x240 ago 12 20:00:50.108700 kernel: PGD 11ae99067 ago 12 20:00:50.342059 kernel: P4D 11ae99067 ago 12 20:00:50.342126 kernel: PUD 11ae98067 ago 12 20:00:50.342170 kernel: PMD 0 ago 12 20:00:50.342213 kernel: ago 12 20:00:50.342261 kernel: Oops: 0000 [#1] PREEMPT SMP ago 12 20:00:50.342305 kernel: Modules linked in: aes_x86_64(+) ccm xts algif_skcipher af_alg 8021q xt_TCPMSS ipt_REJECT nf_reject_ipv4 xt_pkttype nf_log_ipv4 nf_log_common xt_LOG xt_conntr ago 12 20:00:50.342381 kernel: sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) nfsd auth_rpcgss oid_registry lockd binfmt_misc grace sunrpc sg ip_tables x_tables ipv6 autofs ago 12 20:00:50.342425 kernel: CPU: 1 PID: 537 Comm: cryptomgr_test Tainted: P O 4.12.6 #1 ago 12 20:00:50.342468 kernel: Hardware name: System manufacturer System Product Name/M2N32-SLI DELUXE, BIOS ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1603 12/17/2007 ago 12 20:00:50.365320 kernel: task: ffff880120446c00 task.stack: ffffc90000618000 ago 12 20:00:50.365368 kernel: RIP: 0010:crypto_remove_spawns+0xa3/0x240 ago 12 20:00:50.365407 kernel: RSP: 0018:ffffc9000061be40 EFLAGS: 00010286 ago 12 20:00:50.365450 kernel: RAX: ffff880120b94c60 RBX: ffffc9000061be40 RCX: 0000000000000000 ago 12 20:00:50.382370 kernel: RDX: ffffffffa16be000 RSI: ffffc9000061beb0 RDI: ffffffff81629c20 ago 12 20:00:50.382416 kernel: RBP: ffffc9000061be90 R08: ffff880120b95608 R09: ffffc9000061be50 ago 12 20:00:50.382455 kernel: R10: ffffc9000061be60 R11: ffff880120b95460 R12: ffffffff81629c30 ago 12 20:00:50.382494 kernel: R13: ffffffff81629c30 R14: 0000000000000401 R15: ffffffffa16be000 ago 12 20:00:50.382533 kernel: FS: 0000000000000000(0000) GS:ffff880127d00000(0000) knlGS:0000000000000000 ago 12 20:00:50.382577 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ago 12 20:00:50.382612 kernel: CR2: 0000000000000018 CR3: 000000011d64b000 CR4: 00000000000006e0 ago 12 20:00:50.382650 kernel: Call Trace: ago 12 20:00:50.382686 kernel: crypto_alg_tested+0x169/0x1c0 ago 12 20:00:50.382727 kernel: cryptomgr_test+0xf/0x20 ago 12 20:00:50.382766 kernel: kthread+0x11b/0x140 ago 12 20:00:50.382822 kernel: ? cryptomgr_notify+0x3c0/0x3c0 ago 12 20:00:50.382861 kernel: ? kthread_create_on_node+0x40/0x40 ago 12 20:00:50.382901 kernel: ret_from_fork+0x22/0x30 ago 12 20:00:50.382939 kernel: Code: 4d 89 43 08 4c 89 18 4c 89 50 08 4c 89 45 d0 49 89 c8 48 89 c8 48 8b 09 4d 39 e8 75 bf 4c 89 d0 48 8b 08 48 39 c8 74 4a 48 8b 08 <48> 8b 41 18 48 39 f8 ago 12 20:00:50.382980 kernel: RIP: crypto_remove_spawns+0xa3/0x240 RSP: ffffc9000061be40 ago 12 20:00:50.383048 kernel: CR2: 0000000000000018 ago 12 20:00:50.383150 kernel: ---[ end trace 18ab574cbaa75641 ]--- and while rebooting after getting such BUG... ago 12 20:03:28.228985 kernel: ------------[ cut here ]------------ ago 12 20:03:28.229069 kernel: WARNING: CPU: 1 PID: 528 at /usr/src/linux-4.12.6/crypto/algapi.c:348 crypto_wait_for_test+0x4d/0x60 ago 12 20:03:28.229135 kernel: Modules linked in: ctr(+) aes_x86_64(+) ccm xts algif_skcipher af_alg 8021q xt_TCPMSS ipt_REJECT nf_reject_ipv4 xt_pkttype nf_log_ipv4 nf_log_common xt_LOG xt ago 12 20:03:28.229217 kernel: processor sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) nfsd auth_rpcgss oid_registry lockd binfmt_misc grace sunrpc sg ip_tables x_tables i ago 12 20:03:28.229303 kernel: CPU: 1 PID: 528 Comm: modprobe Tainted: P D O 4.12.6 #1 ago 12 20:03:28.229369 kernel: Hardware name: System manufacturer System Product Name/M2N32-SLI DELUXE, BIOS ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1603 12/17/2007 ago 12 20:03:28.229448 kernel: task: ffff88011d8a3c00 task.stack: ffffc90000760000 ago 12 20:03:28.229541 kernel: RIP: 0010:crypto_wait_for_test+0x4d/0x60 ago 12 20:03:28.229618 kernel: RSP: 0018:ffffc90000763cd0 EFLAGS: 00010286 ago 12 20:03:28.229675 kernel: RAX: 00000000fffffe00 RBX: ffff8801219dfc00 RCX: 0000000000000080 ago 12 20:03:28.229744 kernel: RDX: 00000000fffffe00 RSI: 0000000000000000 RDI: ffff8801219dfdb0 ago 12 20:03:28.229831 kernel: RBP: ffffc90000763cd8 R08: 00000000000000ad R09: ffff88011d8a3c80 ago 12 20:03:28.229905 kernel: R10: 0000000000000000 R11: 0000000000000400 R12: 0000000000000000 ago 12 20:03:28.229979 kernel: R13: ffff8801225afbe0 R14: ffff8801225fe540 R15: ffffc90000763ec0 ago 12 20:03:28.230057 kernel: FS: 00007f4c885e8b40(0000) GS:ffff880127d00000(0000) knlGS:0000000000000000 ago 12 20:03:28.230112 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ago 12 20:03:28.230194 kernel: CR2: 00007fdf32585ed8 CR3: 000000011d64b000 CR4: 00000000000006e0 ago 12 20:03:28.230271 kernel: Call Trace: ago 12 20:03:28.230337 kernel: crypto_register_alg+0x64/0x80 ago 12 20:03:28.230406 kernel: ? 0xffffffffa0054000 ago 12 20:03:28.230470 kernel: aes_init+0x10/0x1000 [aes_x86_64] ago 12 20:03:28.230526 kernel: do_one_initcall+0x45/0x160 ago 12 20:03:28.230600 kernel: do_init_module+0x55/0x1d7 ago 12 20:03:28.230671 kernel: load_module+0x1fe5/0x22e0 ago 12 20:03:28.230741 kernel: ? find_symbol_in_section+0xc0/0xc0 ago 12 20:03:28.231307 kernel: ? vfs_writev+0x21/0x40 ago 12 20:03:28.231405 kernel: ? kernel_read_file_from_fd+0x4f/0x80 ago 12 20:03:28.231449 kernel: SyS_finit_module+0xb9/0xd0 ago 12 20:03:28.231527 kernel: entry_SYSCALL_64_fastpath+0x13/0x94 ago 12 20:03:28.231611 kernel: RIP: 0033:0x7f4c87d03029 ago 12 20:03:28.231691 kernel: RSP: 002b:00007ffd5891e318 EFLAGS: 00000206 ORIG_RAX: 0000000000000139 ago 12 20:03:28.231761 kernel: RAX: ffffffffffffffda RBX: 00007f4c88622100 RCX: 00007f4c87d03029 ago 12 20:03:28.231819 kernel: RDX: 0000000000000000 RSI: 000000000041aada RDI: 0000000000000000 ago 12 20:03:28.231865 kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000025052b0 ago 12 20:03:28.231907 kernel: R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000001 ago 12 20:03:28.231950 kernel: R13: 0000000000000006 R14: 00007f4c885eb478 R15: 0000000000000000 ago 12 20:03:28.232003 kernel: Code: 75 2e 48 8d bb b8 00 00 00 31 f6 e8 0e fe ff ff 48 8d bb a8 01 00 00 e8 e2 32 1e 00 85 c0 75 0b 48 89 df e8 76 e8 ff ff 5b 5d c3 <0f> ff 90 eb f0 0f ff ago 12 20:03:28.232047 kernel: ---[ end trace 18ab574cbaa75642 ]--- if more info is needed please let me know. |