Critical macOS TCP Networking Bug Causes System Crashes After 49 Days of Uptime
By
RyanZhuuuu
Summary
Researchers discovered a critical bug in macOS TCP networking that causes system instability after exactly 49 days of uptime. The issue stems from a TCP timer overflow in the kernel's networking stack, where a 32-bit timer variable overflows after 49.7 days, leading to kernel panics and system crashes. The bug affects all modern macOS versions and requires a system reboot before reaching the 49-day mark to prevent crashes. The discovery was made by the Photon team while developing conversational AI agents, and they've reported it to Apple.
Key quotes
· 5 pulledThe bug is a TCP timer overflow in the kernel's networking stack. A 32-bit timer variable overflows after 49.7 days, causing kernel panics and system crashes.
All modern macOS versions are affected. The only workaround is to reboot your Mac before hitting the 49-day uptime mark.
We discovered this bug while building Photon, our conversational AI agent platform that runs on iMessage, WhatsApp, Telegram, and other messaging apps.
The bug is in the TCP stack's timer management code. When the timer overflows, it causes undefined behavior that leads to kernel panics.
We've reported the bug to Apple and are working with them to get it fixed. In the meantime, we recommend all macOS users reboot their systems regularly.
You might also wanna read
Critical Bug in Claude AI: Misattribution of Self-Generated Messages to Users
The article discusses a critical bug in Claude (an AI assistant) where it sometimes sends messages to itself and then incorrectly attributes
macOS 26.3.1 Update Breaks /etc/resolver/ DNS Configuration for Custom TLDs
A detailed bug report documenting a regression in macOS 26.3.1 where the /etc/resolver/ mechanism for custom TLD DNS resolution has stopped
Excel's Historical Bug: Why 1900 is Incorrectly Treated as a Leap Year
Microsoft Excel incorrectly treats the year 1900 as a leap year due to a historical compatibility decision. This bug originated from Lotus 1
Understanding sandbox-exec: macOS's Built-in Command-Line Sandboxing Utility
The article introduces sandbox-exec, a built-in macOS command-line utility that allows users to run applications in a sandboxed environment
Bug Report: Claude Code 2.1.1 Exhibits Excessive Token Usage - 4x Faster Consumption Rate
A user reports a bug in Claude Code 2.1.1 where token usage is consuming at 4x+ faster rates than previous versions, causing them to hit usa
Bug Report: Claude Code Version 2.1.0 Fails to Start on macOS
A user reports a bug in Claude Code version 2.1.0 where the software fails to start after updating to this version. The bug report follows a
