tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
17.23k stars 1.31k forks source link

Tailscale error crashing Ubuntu 22.04.4 #12093

Open dlange82 opened 1 month ago

dlange82 commented 1 month ago

What is the issue?

Tailscale is crashing linux system, latest kernel version on a Raspberry pi 4, Ubuntu 22.04.4. We run a gstreamer pipeline for streaming video over a webrtc session using go. The load is 50-60% on all CPUs. Memory is 450MB. Memtest and CPU stress tests without errors.

After updating from 1.60.1 to 1.64.0 we experienced kernel errors crashing the pi. After upgrading to 1.66.1, the following error is thrown.

Kernel.log

BUG: Bad page map in process tailscale  pte:eb80eb80eb80eb80 pmd:80000002e801003
CPU: 1 PID: 2758 Comm: tailscale Tainted: G         C  E     5.15.0-1053-raspi #56-Ubuntu
Hardware name: Raspberry Pi Compute Module 4 Rev 1.1 (DT)
Disabling lock debugging due to kernel taint
BUG: Bad rss-counter state mm:00000000b11f193d type:MM_ANONPAGES val:6
BUG: Bad page map in process tailscale  pte:de80de80de80de80 pmd:80000002e801003
addr:0000ffff86200000 vm_flags:00000070 anon_vma:0000000000000000 mapping:0000000000000000 index:ffff86200
file:(null) fault:0x0 mmap:0x0 readpage:0x0
CPU: 1 PID: 2776 Comm: tailscale Tainted: G    B    C  E     5.15.0-1053-raspi #56-Ubuntu
BUG: Bad page map in process tailscale  pte:d97fd981d97fd981 pmd:80000002e801003
CPU: 1 PID: 2776 Comm: tailscale Tainted: G    B    C  E     5.15.0-1053-raspi #56-Ubuntu

Steps to reproduce

Running tailscale 1.66.1 on a Raspberry Pi4 with Ubuntu 22.04.4 LTS.

Are there any recent changes that introduced the issue?

Either 1.60.1 or 1.62.1 did run without errors.

OS

Linux

OS version

Ubuntu 22.04.4 LTS

Tailscale version

1.66.1

Bug report

BUG-7461e77b0f9b783521f6f942f29bf452da69cb1be0416a80134f4f32fe05f83a-20240510190902Z-cae1ca964334e600