Snapd 2.62 brakes U2F in Firefox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Confirmed
|
Unknown
|
|||
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrading Snapd to 2.62, my Yubikey stopped being recognized in Firefox. I investigated a litle bit, and found these logs in the journalctl when plugging and unplugging the USB device:
avril 18 10:45:41 <hostname> systemd-
avril 18 10:45:47 <hostname> kernel: usb 1-2: new full-speed USB device number 8 using xhci_hcd
avril 18 10:45:48 <hostname> kernel: usb 1-2: New USB device found, idVendor=1050, idProduct=0407, bcdDevice= 5.43
avril 18 10:45:48 <hostname> kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
avril 18 10:45:48 <hostname> kernel: usb 1-2: Product: YubiKey OTP+FIDO+CCID
avril 18 10:45:48 <hostname> kernel: usb 1-2: Manufacturer: Yubico
avril 18 10:45:48 <hostname> kernel: input: Yubico YubiKey OTP+FIDO+CCID as /devices/
avril 18 10:45:48 <hostname> kernel: hid-generic 0003:1050:
avril 18 10:45:48 <hostname> kernel: hid-generic 0003:1050:
avril 18 10:45:48 <hostname> mtp-probe[17992]: checking bus 1, device 8: "/sys/devices/
avril 18 10:45:48 <hostname> mtp-probe[17992]: bus: 1, device: 8 was not an MTP device
avril 18 10:45:48 <hostname> boltd[1301]: probing: started [1000]
avril 18 10:45:48 <hostname> systemd-
avril 18 10:45:48 <hostname> systemd-
avril 18 10:45:48 <hostname> systemd-
avril 18 10:45:48 <hostname> systemd-
avril 18 10:45:48 <hostname> mtp-probe[18014]: checking bus 1, device 8: "/sys/devices/
avril 18 10:45:48 <hostname> mtp-probe[18014]: bus: 1, device: 8 was not an MTP device
avril 18 10:45:51 <hostname> boltd[1301]: probing: timeout, done: [2921608] (2000000)
avril 18 10:45:56 <hostname> kernel: usb 1-2: USB disconnect, device number 8
avril 18 10:45:57 <hostname> systemd-
avril 18 10:45:57 <hostname> systemd-
avril 18 10:45:57 <hostname> systemd-
avril 18 10:45:57 <hostname> systemd-
I don't know if it is related, but I also got some logs like this one just before:
avril 18 10:30:07 <hostname> systemd-udevd[930]: dm-2: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/dm-2' failed with exit code 1.
Reverting to 2.61.2 fixed the issues with U2F and all “exit code 1” in snapd logs.
OS is Kubuntu 22.04.4, kernel 6.5.0-27-generic, installed two weeks ago. Current installed snaps are:
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core22 20240111 1122 latest/stable canonical✓ base
firefox 125.0-1 4136 latest/stable/… mozilla✓ -
gnome-42-2204 0+git.510a601 176 latest/stable/… canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
snapd 2.61.2 21184 latest/stable canonical✓ snapd
Changed in firefox: | |
status: | Unknown → Confirmed |
This is with Firefox 125.0 installed via Snap on Kubuntu Linux 23.10 with Kernel 6.5.0.
I'm using my YubiKey Neo as second factor via U2F for my accounts at Heroku, Google, GitHub, TYPO3 and Bitwaren. This is the device description my system logs when I insert my YubiKey:
Yubico YubiKey OTP+FIDO+CCID
A few days ago (possibly after a Firefox update, but I'm not completely sure, as I do all updates in a timely manner), using the YubiKey U2F for 2FA stopped working reliably anymore in Firefox: Most of the times, the website does not register when I touch the pad on the YubiKey, and sometimes it still does.
My private GPG key on the key is still working fine, and U2F on Chrome also continues to work reliably.
We have the same problem on a different computer (also Kubuntu 23.10, also on Firefox) with a different YubiKey on different accounts.