2019-11-27 21:06:40 |
Neil McPhail |
bug |
|
|
added bug |
2019-11-27 21:06:40 |
Neil McPhail |
attachment added |
|
linux-image-5.3.0-23-generic.165158.crash https://bugs.launchpad.net/bugs/1854225/+attachment/5308303/+files/linux-image-5.3.0-23-generic.165158.crash |
|
2019-11-27 21:07:18 |
Neil McPhail |
attachment added |
|
linux-image-5.3.0-23-generic.165307.crash https://bugs.launchpad.net/ubuntu/+source/wireguard/+bug/1854225/+attachment/5308307/+files/linux-image-5.3.0-23-generic.165307.crash |
|
2019-11-27 21:15:04 |
Neil McPhail |
bug |
|
|
added subscriber Andy Whitcroft |
2019-11-29 18:58:58 |
Eduardo Barretto |
bug |
|
|
added subscriber Tyler Hicks |
2019-12-03 01:00:04 |
Tyler Hicks |
bug |
|
|
added subscriber Canonical Kernel Security Team |
2019-12-05 22:21:11 |
Neil McPhail |
attachment added |
|
kern.log https://bugs.launchpad.net/ubuntu/+source/wireguard/+bug/1854225/+attachment/5310063/+files/kern.log |
|
2020-01-08 23:02:48 |
Tyler Hicks |
information type |
Private Security |
Public |
|
2020-01-08 23:25:58 |
Terry Rudd |
bug |
|
|
added subscriber Terry Rudd |
2020-02-07 12:21:23 |
Jason A. Donenfeld |
affects |
wireguard (Ubuntu) |
linux (Ubuntu) |
|
2020-02-07 12:30:18 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-02-07 13:51:54 |
Neil McPhail |
tags |
amd64 apport-bug eoan |
amd64 apport-bug apport-collected eoan focal |
|
2020-02-07 13:51:56 |
Neil McPhail |
description |
On 2 occasions over the past week I have had full system crashes after running "wg-quick up wg0". On the terminal, the command does not complete (i.e. it does not return to the prompt), the fans on my laptop start whirring and the system gradually becomes unresponsive before my desktop crashes and the system becomes completely unresponsive. On both occasions I opened another window to run "top" to see what process was consuming resources but "top" never actually runs. On the second occasion I managed to run "dmesg" before the system crashed completely and saw multiple lines of text about a kernel oops and red-highlighted text about a null-pointer dereference.
I could reboot with "Alt-PrtScr_REISUB". On reboot I was confronted with the "system problem detected" dialog, but selecting the "report" option didn't seem to do anything. I have 2 reports in /var/crash from the last oops which I will attach to this report.
I cannot reproduce this on demand. Most of the time, wg-quick performs normally. On both occasions the laptop had recently woken from suspend, but invoking "wg-quick" after waking from suspend doesn't trigger it on demand. On the first occasion I was running with stock boot options. On the second, I was running with "mitigations=off" as an experiment.
$ lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10
$ apt policy wireguard
wireguard:
Installed: 0.0.20190913-1ubuntu1
Candidate: 0.0.20190913-1ubuntu1
Version table:
*** 0.0.20190913-1ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe i386 Packages
100 /var/lib/dpkg/status
$ apt policy wireguard-tools
wireguard-tools:
Installed: 0.0.20190913-1ubuntu1
Candidate: 0.0.20190913-1ubuntu1
Version table:
*** 0.0.20190913-1ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
100 /var/lib/dpkg/status
$ uname -a
Linux padbeast 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/wireguard/wg0.conf
[Interface]
PrivateKey = MyPrivateKey=
Address = 10.66.66.5/24,fd42:42:42::5/64
DNS = 8.8.8.8,1.1.1.1
[Peer]
PublicKey = MyPublicKey=
Endpoint = my.domain.com:1195
AllowedIPs = 0.0.0.0/0,::/0
I'm reporting this as a security bug due to the "Null pointer dereference" in the kernel, but don't know if that is relevant. I don't know how to access or send the old dmesg information, so please let me know how to access this or how to collect it if the crash recurs.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: wireguard 0.0.20190913-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
Uname: Linux 5.3.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: MATE
Date: Wed Nov 27 20:44:24 2019
InstallationDate: Installed on 2019-10-11 (47 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.2)
PackageArchitecture: all
SourcePackage: wireguard
UpgradeStatus: No upgrade log present (probably fresh install) |
On 2 occasions over the past week I have had full system crashes after running "wg-quick up wg0". On the terminal, the command does not complete (i.e. it does not return to the prompt), the fans on my laptop start whirring and the system gradually becomes unresponsive before my desktop crashes and the system becomes completely unresponsive. On both occasions I opened another window to run "top" to see what process was consuming resources but "top" never actually runs. On the second occasion I managed to run "dmesg" before the system crashed completely and saw multiple lines of text about a kernel oops and red-highlighted text about a null-pointer dereference.
I could reboot with "Alt-PrtScr_REISUB". On reboot I was confronted with the "system problem detected" dialog, but selecting the "report" option didn't seem to do anything. I have 2 reports in /var/crash from the last oops which I will attach to this report.
I cannot reproduce this on demand. Most of the time, wg-quick performs normally. On both occasions the laptop had recently woken from suspend, but invoking "wg-quick" after waking from suspend doesn't trigger it on demand. On the first occasion I was running with stock boot options. On the second, I was running with "mitigations=off" as an experiment.
$ lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10
$ apt policy wireguard
wireguard:
Installed: 0.0.20190913-1ubuntu1
Candidate: 0.0.20190913-1ubuntu1
Version table:
*** 0.0.20190913-1ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe i386 Packages
100 /var/lib/dpkg/status
$ apt policy wireguard-tools
wireguard-tools:
Installed: 0.0.20190913-1ubuntu1
Candidate: 0.0.20190913-1ubuntu1
Version table:
*** 0.0.20190913-1ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
100 /var/lib/dpkg/status
$ uname -a
Linux padbeast 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/wireguard/wg0.conf
[Interface]
PrivateKey = MyPrivateKey=
Address = 10.66.66.5/24,fd42:42:42::5/64
DNS = 8.8.8.8,1.1.1.1
[Peer]
PublicKey = MyPublicKey=
Endpoint = my.domain.com:1195
AllowedIPs = 0.0.0.0/0,::/0
I'm reporting this as a security bug due to the "Null pointer dereference" in the kernel, but don't know if that is relevant. I don't know how to access or send the old dmesg information, so please let me know how to access this or how to collect it if the crash recurs.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: wireguard 0.0.20190913-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
Uname: Linux 5.3.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: MATE
Date: Wed Nov 27 20:44:24 2019
InstallationDate: Installed on 2019-10-11 (47 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.2)
PackageArchitecture: all
SourcePackage: wireguard
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: neil 3007 F.... pulseaudio
/dev/snd/pcmC0D0p: neil 3007 F...m pulseaudio
CurrentDesktop: MATE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2019-10-11 (118 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.2)
MachineType: LENOVO 2325A39
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-12-generic root=/dev/mapper/vgubuntu--mate-root ro quiet splash mitigations=off vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
RelatedPackageVersions:
linux-restricted-modules-5.4.0-12-generic N/A
linux-backports-modules-5.4.0-12-generic N/A
linux-firmware 1.186
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: focal
Uname: Linux 5.4.0-12-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-02-07 (0 days ago)
UserGroups: adm audio cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/19/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ETB3WW (2.73 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2325A39
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ETB3WW(2.73):bd06/19/2018:svnLENOVO:pn2325A39:pvrThinkPadX230:rvnLENOVO:rn2325A39:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.family: ThinkPad X230
dmi.product.name: 2325A39
dmi.product.sku: LENOVO_MT_2325
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO |
|
2020-02-07 13:51:58 |
Neil McPhail |
attachment added |
|
AlsaInfo.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326220/+files/AlsaInfo.txt |
|
2020-02-07 13:51:59 |
Neil McPhail |
attachment added |
|
CRDA.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326221/+files/CRDA.txt |
|
2020-02-07 13:52:02 |
Neil McPhail |
attachment added |
|
CurrentDmesg.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326222/+files/CurrentDmesg.txt |
|
2020-02-07 13:52:04 |
Neil McPhail |
attachment added |
|
IwConfig.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326223/+files/IwConfig.txt |
|
2020-02-07 13:52:05 |
Neil McPhail |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326224/+files/Lspci.txt |
|
2020-02-07 13:52:07 |
Neil McPhail |
attachment added |
|
Lsusb.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326225/+files/Lsusb.txt |
|
2020-02-07 13:52:09 |
Neil McPhail |
attachment added |
|
Lsusb-t.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326226/+files/Lsusb-t.txt |
|
2020-02-07 13:52:11 |
Neil McPhail |
attachment added |
|
Lsusb-v.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326227/+files/Lsusb-v.txt |
|
2020-02-07 13:52:13 |
Neil McPhail |
attachment added |
|
ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326228/+files/ProcCpuinfo.txt |
|
2020-02-07 13:52:21 |
Neil McPhail |
attachment added |
|
ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326229/+files/ProcCpuinfoMinimal.txt |
|
2020-02-07 13:52:22 |
Neil McPhail |
attachment added |
|
ProcEnviron.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326230/+files/ProcEnviron.txt |
|
2020-02-07 13:52:24 |
Neil McPhail |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326231/+files/ProcInterrupts.txt |
|
2020-02-07 13:52:27 |
Neil McPhail |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326232/+files/ProcModules.txt |
|
2020-02-07 13:52:51 |
Neil McPhail |
attachment added |
|
PulseList.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326234/+files/PulseList.txt |
|
2020-02-07 13:52:54 |
Neil McPhail |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326235/+files/UdevDb.txt |
|
2020-02-07 13:52:57 |
Neil McPhail |
attachment added |
|
WifiSyslog.txt https://bugs.launchpad.net/bugs/1854225/+attachment/5326236/+files/WifiSyslog.txt |
|
2020-02-07 13:54:20 |
Neil McPhail |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|