Bug#887304: linux-image-4.14.0-0.bpo.2-amd64: Error crypto/algapi.c:348 and a long system boot.
How can I help?
[ 10.423897] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
[ 10.423913] IP: ecc_gen_privkey+0xa9/0x170 [ecdh_generic]
[ 10.423915] PGD 0 P4D 0
[ 10.423922] Oops: 0000 [#1] SMP
[ 10.423925] Modules linked in: snd_hda_codec_generic ecdh_generic(+) crc16 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iTCO_wdt iTCO_vendor_support kvm irqbypass crct10dif_pclmul crc32_pclmul efi_pstore crc32c_intel arc4 ghash_clmulni_intel cryptd intel_cstate intel_uncore ahci intel_rapl_perf libahci snd_hda_intel iwldvm evdev mac80211 psmouse serio_raw pcspkr efivars snd_hda_codec snd_hwdep i915 snd_hda_core mei_me snd_pcm libata mei iwlwifi snd_timer i2c_algo_bit snd scsi_mod drm_kms_helper soundcore cfg80211 rfkill ehci_pci i2c_i801 shpchp ehci_hcd lpc_ich mfd_core usbcore drm usb_common thermal fan battery wmi video ac button
[ 10.424001] CPU: 0 PID: 161 Comm: cryptomgr_test Not tainted 4.14.0-0.bpo.2-amd64 #1 Debian 4.14.7-1~bpo9+1
[ 10.424003] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 350U2A/350U2B/300U1A/351U2A/351U2B/301U1A/350U2A/350U2B/300U1A/351U2A/351U2B/301U1A, BIOS 07PY.M0
[ 10.424006] task: ffff971712965040 task.stack: ffffaa6680bb4000
[ 10.424014] RIP: 0010:ecc_gen_privkey+0xa9/0x170 [ecdh_generic]
[ 10.424017] RSP: 0018:ffffaa6680bb7c58 EFLAGS: 00010246
[ 10.424021] RAX: 00000000fffffffe RBX: ffffaa6680bb7c58 RCX: ffffaa6680bb7c58
[ 10.424023] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 10.424026] RBP: ffffaa6680bb7cb8 R08: 0000000000000020 R09: ffff971713d411a0
[ 10.424028] R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000004
[ 10.424030] R13: ffff9717195b3f48 R14: 1ffff54cd0176f8b R15: 0000000000000020
[ 10.424034] FS: 0000000000000000(0000) GS:ffff97171b000000(0000) knlGS:0000000000000000
[ 10.424037] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 10.424039] CR2: 0000000000000038 CR3: 0000000062609003 CR4: 00000000000606f0
[ 10.424042] Call Trace:
[ 10.424056] ecdh_set_secret+0x68/0xb0 [ecdh_generic]
[ 10.424064] do_test_kpp+0x96/0x590
[ 10.424081] alg_test_kpp+0x5a/0xd0
[ 10.424086] ? alg_find_test+0x38/0x90
[ 10.424091] alg_test.part.14+0x13d/0x2d0
[ 10.424099] ? __switch_to+0x1f3/0x450
[ 10.424107] ? __schedule+0x3d4/0x850
[ 10.424112] alg_test+0x24/0x40
[ 10.424117] cryptomgr_test+0x44/0x50
[ 10.424125] kthread+0x109/0x140
[ 10.424130] ? crypto_acomp_scomp_free_ctx+0x30/0x30
[ 10.424136] ? kthread_create_on_node+0x70/0x70
[ 10.424141] ? kthread_create_on_node+0x70/0x70
[ 10.424146] ret_from_fork+0x25/0x30
[ 10.424150] Code: 00 00 00 4c 8b 4d c8 4a 8d 1c f5 00 00 00 00 76 58 4c 89 4d c8 e8 e8 b6 a8 e2 48 8b 3d c9 41 67 e3 45 89 f8 31 d2 31 f6 48 89 d9 <48> 8b 47 38 ff 50 e0 41 89 c7 e8 98 b6 a8 e2 45 85 ff 75 30 45
[ 10.424237] RIP: ecc_gen_privkey+0xa9/0x170 [ecdh_generic] RSP: ffffaa6680bb7c58
[ 10.424239] CR2: 0000000000000038
[ 10.424243] ---[ end trace 7f575b20e77a0e69 ]---
[...]
[ 191.147747] ------------[ cut here ]------------
[ 191.150764] WARNING: CPU: 2 PID: 96 at /build/linux-g8lBqY/linux-4.14.7/crypto/algapi.c:348 crypto_wait_for_test+0x52/0x60
[ 191.153861] Modules linked in: autofs4 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media sd_mod joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ecdh_generic(+) crc16 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iTCO_wdt iTCO_vendor_support kvm irqbypass crct10dif_pclmul crc32_pclmul efi_pstore crc32c_intel arc4 ghash_clmulni_intel cryptd intel_cstate intel_uncore ahci intel_rapl_perf libahci snd_hda_intel iwldvm evdev mac80211 psmouse serio_raw pcspkr efivars snd_hda_codec snd_hwdep i915 snd_hda_core mei_me snd_pcm libata mei iwlwifi snd_timer i2c_algo_bit snd scsi_mod drm_kms_helper soundcore cfg80211 rfkill ehci_pci i2c_i801 shpchp ehci_hcd lpc_ich mfd_core usbcore drm usb_common thermal fan battery wmi video ac
[ 191.171239] button
[ 191.174741] CPU: 2 PID: 96 Comm: systemd-udevd Tainted: G D 4.14.0-0.bpo.2-amd64 #1 Debian 4.14.7-1~bpo9+1
[ 191.178199] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 350U2A/350U2B/300U1A/351U2A/351U2B/301U1A/350U2A/350U2B/300U1A/351U2A/351U2B/301U1A, BIOS 07PY.M0
[ 191.181745] task: ffff9717142820c0 task.stack: ffffaa6680a5c000
[ 191.185321] RIP: 0010:crypto_wait_for_test+0x52/0x60
[ 191.188863] RSP: 0018:ffffaa6680a5fc68 EFLAGS: 00010286
[ 191.192397] RAX: 00000000fffffe00 RBX: ffff971719620e00 RCX: 0000000000000000
[ 191.195918] RDX: 0000000000000000 RSI: ffff971714282b80 RDI: ffff971719620fb0
[ 191.199411] RBP: ffffaa6680a5fc70 R08: 0000000000000005 R09: 0000000000000012
[ 191.202941] R10: ffffaa6680a5fc00 R11: 00000000000002a5 R12: 0000000000000000
[ 191.206458] R13: 0000000000000000 R14: ffffffffc02c1380 R15: ffffffffc02c13d0
[ 191.210018] FS: 00007fb1006a18c0(0000) GS:ffff97171b080000(0000) knlGS:0000000000000000
[ 191.213623] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 191.217256] CR2: 00007fd7f1df9120 CR3: 0000000113dfb006 CR4: 00000000000606e0
[ 191.220900] Call Trace:
[ 191.224512] crypto_register_alg+0x5b/0x70
[ 191.228110] ? ecdh_set_secret+0xb0/0xb0 [ecdh_generic]
[ 191.231708] crypto_register_kpp+0x29/0x30
[ 191.235300] ecdh_init+0x15/0x20 [ecdh_generic]
[ 191.238880] do_one_initcall+0x52/0x1a0
[ 191.242457] ? __vunmap+0x81/0xb0
[ 191.245991] ? do_init_module+0x27/0x209
[ 191.249503] do_init_module+0x5f/0x209
[ 191.252963] load_module+0x25aa/0x2ce0
[ 191.256379] ? security_kernel_post_read_file+0x6b/0x80
[ 191.259784] SYSC_finit_module+0xe5/0x120
[ 191.263143] ? SYSC_finit_module+0xe5/0x120
[ 191.266488] SyS_finit_module+0xe/0x10
[ 191.269845] system_call_fast_compare_end+0xc/0x97
[ 191.273166] RIP: 0033:0x7fb0fffb1229
[ 191.276427] RSP: 002b:00007ffc3ba480b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 191.279764] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007fb0fffb1229
[ 191.283097] RDX: 0000000000000000 RSI: 00007fb0ffcc7265 RDI: 000000000000000c
[ 191.286430] RBP: 00007ffc3ba470b0 R08: 0000000000000000 R09: 000055f0e0fb80c0
[ 191.289775] R10: 000000000000000c R11: 0000000000000246 R12: 0000000000000005
[ 191.293111] R13: 000055f0e0fb41e0 R14: 00007ffc3ba47090 R15: 0000000000000005
[ 191.296386] Code: 75 2d 48 8d bb b8 00 00 00 31 f6 e8 b9 fd ff ff 48 8d bb a8 01 00 00 e8 cd 46 38 00 85 c0 75 0b 48 89 df e8 61 dc ff ff 5b 5d c3 <0f> ff eb f1 0f ff eb ed 66 0f 1f 44 00 00 66 66 66 66 90 55 48
[ 191.303361] ---[ end trace 7f575b20e77a0e6a ]---
14.01.2018, 23:54, "Ben Hutchings" <ben@decadent.org.uk>:
> Control: tag -1 moreinfo
>
> On Sun, 2018-01-14 at 23:15 +0400, Valentin Popov wrote:
>> Package: src:linux
>> Version: 4.14.7-1~bpo9+1
>> Severity: important
>>
>> PC: Samsung NP300U1A.
>>
>> Installed kernel 'linux-image-4.11.0-0.bpo.1-amd64' (ver. 4.11.6-1~bpo9+1) works without problems.
>> Kernels 'linux-image-4.13.0-0.bpo.1-amd64' (ver. 4.13.13-1~bpo9+1) and 'linux-image-4.14.0-0.bpo.2-amd64' (ver. 4.14.7-1~bpo9+1) indicates an error.
>> After the error message, the system waits 120 seconds and continues to load.
>>
>> -- Package-specific info:
>> ** Version:
>> Linux version 4.14.0-0.bpo.2-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 SMP Debian 4.14.7-1~bpo9+1 (2017-12-22)
>>
>> ** Command line:
>> BOOT_IMAGE=/boot/vmlinuz-4.14.0-0.bpo.2-amd64 root=UUID=1483b39e-df68-4eca-a256-b03905c96e83 ro quiet
>>
>> ** Tainted: DW (640)
>> * Kernel has oopsed before.
>> * Taint on warning.
>
> [...]
>
> Please send the BUG and WARN messages along with the following call
> traces.
>
> Ben.
>
> --
> Ben Hutchings
> The generation of random numbers is too important to be left to chance.
> - Robert Coveyou
Reply to: