Hi Jason,

> Are you able to reproduce in a fresh environment?

I haven't tried a fresh environment as it is rather outdated, I have one server that runs OpenVPN now and I'd like to migrate it to WG, but I can't update the OS to a newer version at this moment. What I could do is to upgrade the kernel to 4.4 with Ubuntu HWE.

I'm attaching the loaded driver with this mail (I checked with modinfo it's the right file as there are different wireguard.ko files on the system).

Regards,
Anatoli

From: Jason A. Donenfeld <Jason@zx2c4.com>
Sent: Saturday, February 16, 2019 22:47
To: Anatoli <me@anatoli.ws>
Cc: Wireguard Mailing List <wireguard@lists.zx2c4.com>
Subject: Re: BUG: unable to handle kernel NULL pointer dereference at .. (linux 3.13)

Hey Anatoli,

I just tried reproducing that and wasn't able to, using:

root@ubuntu:~# uname -a
Linux ubuntu 3.13.0-165-generic #215-Ubuntu SMP Wed Jan 16 11:46:47
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I updated the system to the latest 14.04 packages, rebooted, and then
cut and paste your directions above. Things seemed to go fine. Are you
able to reproduce in a fresh environment?

Also, could you email the crashing wireguard.ko, so that I can see
exactly which instruction corresponds with wg_socket_init+0x13c/0x3f0?

Thanks,
Jason