Unless you reboot every once in a while, your Mac will get kicked offline every 49 days
In a lengthy blog post detailing the bug, Photon explains that affected Macs can no longer establish new TCP connections. TCP connections are the backbone of computer networking — without them, the Mac’s network interfaces can no longer function.
In its simplest form, the issue is caused by the way macOS’s XNU kernel handles time. Your Mac tracks how long it has been running, and the time resets when it’s powered off or restarted.
The problem is that Apple’s XNU kernel stores this time as a 32-bit unsigned integer that can hold values from 0 to 4,294,967,295. After that, the value wraps around, starting again from zero. This happens after 49 days, 17 hours, two minutes, and 47 seconds.
While this is expected behavior, it has an unintended knock-on effect on the way macOS closes old TCP connections. After keeping connections alive for a short period after use, macOS uses the XNU kernel’s TCP timestamp to decide whether to close them.
The link to the blog post with more details explains the exact reason, which comes down to this:
The XNU kernel stores its TCP timestamp as a
uint32_tcounting milliseconds since boot. 2³² milliseconds = 49 days, 17 hours, 2 minutes, and 47.296 seconds. After that, the counter wraps back to zero. What happens next is the subject of this post.