Switch language한국어
Back to the list

macOS has a 49.7-day networking time bomb built in that only a reboot fixes

TL;DR AI

Key summary

2 min read
  1. Researchers at Photon found a macOS bug that causes the TCP stack to stop creating new connections after about 49.7 days of uptime.

  2. The issue is caused by tcp_now, a 32-bit millisecond counter that wraps after 4,294,967,295 and is mishandled by Apple's XNU kernel.

  3. When tcp_now hits its limit, connection expiration math overflows, preventing closed connections from being removed and exhausting ephemeral ports.

  4. Photon says rebooting affected Macs clears the fault and the team is developing an alternative mitigation.

Read the original