Bug#979496: Can't connect to wpa2-enterprise 802.1x since 5.10

2021-01-08 Thread Salvatore Bonaccorso
Hi,

On Thu, Jan 07, 2021 at 04:28:51PM +0100, Salvatore Bonaccorso wrote:
> Control: forwarded -1 https://bugzilla.kernel.org/show_bug.cgi?id=211073 
> https://lore.kernel.org/keyrings/67250277-7903-2005-b94b-193bce0a3...@markus-regensburg.de/
> 
> Hi!
> 
> On Thu, Jan 07, 2021 at 03:55:57PM +0100, Yuri D'Elia wrote:
> > On Thu, Jan 07 2021, Salvatore Bonaccorso wrote:
> > > Is this potentially the same as
> > > https://lore.kernel.org/keyrings/67250277-7903-2005-b94b-193bce0a3...@markus-regensburg.de/
> > > ?
> > 
> > Excellent catch, same scenario (and even hardware it seems)!
> > I created a new report earlier today:
> > 
> > https://bugzilla.kernel.org/show_bug.cgi?id=211073
> > 
> > since I couldn't find any instance of the same in bugzilla.
> > 
> 
> Thanks for checking and confirming, added a cross reference there.
> 
> Can pick up a fix once available.

Patch seems submitted at
https://lore.kernel.org/linux-crypto/20210107092855.76093-1-tianjia.zh...@linux.alibaba.com/
.

Regards,
Salvatore



Bug#979496: Can't connect to wpa2-enterprise 802.1x since 5.10

2021-01-07 Thread Salvatore Bonaccorso
Control: forwarded -1 https://bugzilla.kernel.org/show_bug.cgi?id=211073 
https://lore.kernel.org/keyrings/67250277-7903-2005-b94b-193bce0a3...@markus-regensburg.de/

Hi!

On Thu, Jan 07, 2021 at 03:55:57PM +0100, Yuri D'Elia wrote:
> On Thu, Jan 07 2021, Salvatore Bonaccorso wrote:
> > Is this potentially the same as
> > https://lore.kernel.org/keyrings/67250277-7903-2005-b94b-193bce0a3...@markus-regensburg.de/
> > ?
> 
> Excellent catch, same scenario (and even hardware it seems)!
> I created a new report earlier today:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=211073
> 
> since I couldn't find any instance of the same in bugzilla.
> 

Thanks for checking and confirming, added a cross reference there.

Can pick up a fix once available.

Regards,
Salvatore



Bug#979496: Can't connect to wpa2-enterprise 802.1x since 5.10

2021-01-07 Thread Yuri D'Elia
On Thu, Jan 07 2021, Salvatore Bonaccorso wrote:
> Is this potentially the same as
> https://lore.kernel.org/keyrings/67250277-7903-2005-b94b-193bce0a3...@markus-regensburg.de/
> ?

Excellent catch, same scenario (and even hardware it seems)!
I created a new report earlier today:

https://bugzilla.kernel.org/show_bug.cgi?id=211073

since I couldn't find any instance of the same in bugzilla.



Bug#979496: Can't connect to wpa2-enterprise 802.1x since 5.10

2021-01-07 Thread Salvatore Bonaccorso
Hi,

On Thu, Jan 07, 2021 at 12:11:03PM +0100, Yuri D'Elia wrote:
> Package: src:linux
> Version: 5.10.4-1
> Severity: normal
> 
> Starting with 5.10, kernel dies when attempting to connect to a 802.1x
> network, showing the following trace:
> 
> [  232.661980] Oops:  [#5] SMP NOPTI
> [  232.661987] CPU: 5 PID: 2131 Comm: iwd Tainted: G  DOE 
> 5.10.0-1-amd64 #1 Debian 5.10.4-1
> [  232.661991] Hardware name: LENOVO 20LES1BM00/20LES1BM00, BIOS N25ET55W 
> (1.41 ) 10/20/2020
> [  232.662002] RIP: 0010:public_key_verify_signature+0x13d/0x3b0
> [  232.662009] Code: 48 8b 40 d0 44 89 c2 4c 89 f6 4c 89 ff e8 7b d4 7f 00 85 
> c0 0f 85 6f 01 00 00 48 8b 75 30 48 c7 c7 12 23 d0 b5 b9 04 00 00 00  a6 
> 0f 97 c0 1c 00 84 c0 75 0b 8b 45 50
> 85 c0 0f 85 d1 01 00 00
> [  232.662014] RSP: 0018:af0340fbfd58 EFLAGS: 00010246
> [  232.662019] RAX:  RBX: 9c4fc5c011c0 RCX: 
> 0004
> [  232.662023] RDX: 9c4fd987bb00 RSI:  RDI: 
> b5d02312
> [  232.662027] RBP: af0340fbfe88 R08: 9c4fc3ae6c40 R09: 
> 0008
> [  232.662030] R10:  R11: 000a R12: 
> 010e
> [  232.662033] R13: 9c4fd987b900 R14: 9c4fd08f1000 R15: 
> 9c4fc5c012c0
> [  232.662039] FS:  7f7d8c23c640() GS:9c510754() 
> knlGS:
> [  232.662043] CS:  0010 DS:  ES:  CR0: 80050033
> [  232.662046] CR2:  CR3: 000103b54004 CR4: 
> 003706e0
> [  232.662050] Call Trace:
> [  232.662062]  ? kfree+0xc3/0x3f0
> [  232.662068]  ? software_key_query+0x94/0x180
> [  232.662078]  ? keyctl_pkey_params_get+0xe9/0x120
> [  232.662085]  asymmetric_key_verify_signature+0x5e/0x80
> [  232.662093]  keyctl_pkey_verify+0xaf/0x100
> [  232.662103]  do_syscall_64+0x33/0x80
> [  232.662110]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> [  232.662117] RIP: 0033:0x7f7d8c16e9b9
> [  232.662122] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 
> f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 
> 01 f0 ff ff 73 01 c3 48 8b 0d a7 54 0c 00 f7 d8 64 89 01 48
> [  232.662126] RSP: 002b:7ffc26baab28 EFLAGS: 0246 ORIG_RAX: 
> 00fa
> [  232.662132] RAX: ffda RBX: 7ffc26baabb0 RCX: 
> 7f7d8c16e9b9
> [  232.662135] RDX: 5629ed907690 RSI: 7ffc26baab30 RDI: 
> 001c
> [  232.662139] RBP: 5629ed907690 R08: 5629ed909e1d R09: 
> 002023423321
> [  232.662142] R10: 7ffc26baabb0 R11: 0246 R12: 
> 5629ed909e1d
> [  232.662145] R13: 5629ec956b30 R14: 5629ed909dd4 R15: 
> 7ffc26baabb0
> [  232.662152] Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi 
> snd_seq_device acpi_call(OE) cdc_ether usbnet snd_hda_codec_hdmi 
> snd_hda_codec_realtek snd_hda_codec_generic r8152 mii bnep typec_displayport 
> btusb btrtl btbcm btintel ccm bluetooth algif_aead cbc uvcvideo des_generic 
> libdes ecb videobuf2_vmalloc jitterentropy_rng videobuf2_memops 
> videobuf2_v4l2  algif_skcipher drbg videobuf2_common ansi_cprng 
> videodev ecdh_generic mc sg ecc cmac sha512_ssse3 sha512_generic md4 
> algif_hash intel_pmc_core_pltdrv af_alg intel_pmc_core snd_soc_skl
> snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp 
> snd_soc_acpi_intel_match snd_soc_acpi ip6table_nat snd_hda_intel 
> snd_intel_dspcfg soundwire_intel x86_pkg_temp_thermal   
> soundwire_generic_allocation intel_powerclamp binfmt_misc intel_rapl_msr 
> coretemp snd_soc_core ip6table_filter kvm_intel iwlmvm snd_compress 
> ip6_tables kvm soundwire_cadence mac80211 irqbypass libarc4 nls_ascii 
> xt_REDIRECT snd_hda_codec nls_cp437 rapl intel_cstate
> [  232.662278]  snd_hda_core vfat iptable_nat snd_hwdep iwlwifi i915 
> intel_uncore fat nf_nat joydev evdev iTCO_wdt ipt_REJECT soundwire_bus 
> intel_pmc_bxt snd_pcm pcspkr nf_reject_ipv4serio_raw 
> iTCO_vendor_support efi_pstore sparse_keymap xt_pkttype tpm_crb 
> intel_wmi_thunderbolt wmi_bmof cfg80211 watchdog snd_timer xt_tcpudp 
> drm_kms_helper hid_sensor_accel_3d  hid_sensor_gyro_3d 
> hid_sensor_als intel_xhci_usb_role_switch hid_sensor_trigger 
> processor_thermal_device ucsi_acpi mei_me cec tpm_tis hid_sensor_iio_common 
> xt_state intel_rapl_common tpm_tis_core industrialio_triggered_buffer 
> kfifo_buf xt_conntrack industrialio mei roles i2c_algo_bit intel_soc_dts_iosf 
> intel_pch_thermal tpm typec_ucsi thinkpad_acpi typec rng_core nvram   
> ledtrig_audio snd soundcore rfkill ac int3403_thermal int3400_thermal 
> acpi_pad int3402_thermal int340x_thermal_zone acpi_thermal_rel button 
> iptable_filter sch_cake i2c_dev drm nf_conntrack   nf_defrag_ipv6 
> nf_defrag_ipv4 libcrc32c tcp_bbr fuse configfs efivarfs ip_tables
> [  232.662405]  x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic 
> hid_plantronics wacom usbhid sd_mod dm_crypt dm_mod hid_sensor_custom 
>

Bug#979496: Can't connect to wpa2-enterprise 802.1x since 5.10

2021-01-07 Thread Yuri D'Elia
Package: src:linux
Version: 5.10.4-1
Severity: normal

Starting with 5.10, kernel dies when attempting to connect to a 802.1x
network, showing the following trace:

[  232.661980] Oops:  [#5] SMP NOPTI
[  232.661987] CPU: 5 PID: 2131 Comm: iwd Tainted: G  DOE 
5.10.0-1-amd64 #1 Debian 5.10.4-1
[  232.661991] Hardware name: LENOVO 20LES1BM00/20LES1BM00, BIOS N25ET55W (1.41 
) 10/20/2020
[  232.662002] RIP: 0010:public_key_verify_signature+0x13d/0x3b0
[  232.662009] Code: 48 8b 40 d0 44 89 c2 4c 89 f6 4c 89 ff e8 7b d4 7f 00 85 
c0 0f 85 6f 01 00 00 48 8b 75 30 48 c7 c7 12 23 d0 b5 b9 04 00 00 00  a6 0f 
97 c0 1c 00 84 c0 75 0b 8b 45 50
85 c0 0f 85 d1 01 00 00
[  232.662014] RSP: 0018:af0340fbfd58 EFLAGS: 00010246
[  232.662019] RAX:  RBX: 9c4fc5c011c0 RCX: 0004
[  232.662023] RDX: 9c4fd987bb00 RSI:  RDI: b5d02312
[  232.662027] RBP: af0340fbfe88 R08: 9c4fc3ae6c40 R09: 0008
[  232.662030] R10:  R11: 000a R12: 010e
[  232.662033] R13: 9c4fd987b900 R14: 9c4fd08f1000 R15: 9c4fc5c012c0
[  232.662039] FS:  7f7d8c23c640() GS:9c510754() 
knlGS:
[  232.662043] CS:  0010 DS:  ES:  CR0: 80050033
[  232.662046] CR2:  CR3: 000103b54004 CR4: 003706e0
[  232.662050] Call Trace:
[  232.662062]  ? kfree+0xc3/0x3f0
[  232.662068]  ? software_key_query+0x94/0x180
[  232.662078]  ? keyctl_pkey_params_get+0xe9/0x120
[  232.662085]  asymmetric_key_verify_signature+0x5e/0x80
[  232.662093]  keyctl_pkey_verify+0xaf/0x100
[  232.662103]  do_syscall_64+0x33/0x80
[  232.662110]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  232.662117] RIP: 0033:0x7f7d8c16e9b9
[  232.662122] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d a7 54 0c 00 f7 d8 64 89 01 48
[  232.662126] RSP: 002b:7ffc26baab28 EFLAGS: 0246 ORIG_RAX: 
00fa
[  232.662132] RAX: ffda RBX: 7ffc26baabb0 RCX: 7f7d8c16e9b9
[  232.662135] RDX: 5629ed907690 RSI: 7ffc26baab30 RDI: 001c
[  232.662139] RBP: 5629ed907690 R08: 5629ed909e1d R09: 002023423321
[  232.662142] R10: 7ffc26baabb0 R11: 0246 R12: 5629ed909e1d
[  232.662145] R13: 5629ec956b30 R14: 5629ed909dd4 R15: 7ffc26baabb0
[  232.662152] Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi 
snd_seq_device acpi_call(OE) cdc_ether usbnet snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic r8152 mii bnep typec_displayport 
btusb btrtl btbcm btintel ccm bluetooth algif_aead cbc uvcvideo des_generic 
libdes ecb videobuf2_vmalloc jitterentropy_rng videobuf2_memops videobuf2_v4l2  
algif_skcipher drbg videobuf2_common ansi_cprng videodev ecdh_generic 
mc sg ecc cmac sha512_ssse3 sha512_generic md4 algif_hash intel_pmc_core_pltdrv 
af_alg intel_pmc_core snd_soc_sklsnd_soc_hdac_hda snd_hda_ext_core 
snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi 
ip6table_nat snd_hda_intel snd_intel_dspcfg soundwire_intel 
x86_pkg_temp_thermal   soundwire_generic_allocation intel_powerclamp 
binfmt_misc intel_rapl_msr coretemp snd_soc_core ip6table_filter kvm_intel 
iwlmvm snd_compress ip6_tables kvm soundwire_cadence mac80211 irqbypass 
libarc4 nls_ascii xt_REDIRECT snd_hda_codec nls_cp437 rapl intel_cstate
[  232.662278]  snd_hda_core vfat iptable_nat snd_hwdep iwlwifi i915 
intel_uncore fat nf_nat joydev evdev iTCO_wdt ipt_REJECT soundwire_bus 
intel_pmc_bxt snd_pcm pcspkr nf_reject_ipv4serio_raw 
iTCO_vendor_support efi_pstore sparse_keymap xt_pkttype tpm_crb 
intel_wmi_thunderbolt wmi_bmof cfg80211 watchdog snd_timer xt_tcpudp 
drm_kms_helper hid_sensor_accel_3d  hid_sensor_gyro_3d 
hid_sensor_als intel_xhci_usb_role_switch hid_sensor_trigger 
processor_thermal_device ucsi_acpi mei_me cec tpm_tis hid_sensor_iio_common 
xt_state intel_rapl_common tpm_tis_core industrialio_triggered_buffer 
kfifo_buf xt_conntrack industrialio mei roles i2c_algo_bit intel_soc_dts_iosf 
intel_pch_thermal tpm typec_ucsi thinkpad_acpi typec rng_core nvram   
ledtrig_audio snd soundcore rfkill ac int3403_thermal int3400_thermal acpi_pad 
int3402_thermal int340x_thermal_zone acpi_thermal_rel button iptable_filter 
sch_cake i2c_dev drm nf_conntrack   nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c 
tcp_bbr fuse configfs efivarfs ip_tables
[  232.662405]  x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic 
hid_plantronics wacom usbhid sd_mod dm_crypt dm_mod hid_sensor_custom 
hid_sensor_hub hid_generic intel_ishtp_hid hid   uas usb_storage scsi_mod 
crc32_pclmul crc32c_intel ghash_clmulni_intel xhci_pci nvme xhci_hcd 
aesni_intel libaes crypto_simd cryptd usbcore glue_helper e1000e thunderbolt 
nvme_core psmouse   intel_ish_ipc