Backporting security fixes at scale with Codex blog.trailofbits.com · 11 points ...

@best

Backporting security fixes at scale with Codex blog.trailofbits.com · 11 points · 1 comments · HN thread

TL;DR Trail of Bits describes a Codex-based workflow that automates much of the work of backporting security fixes to older stable software, including Linux kernel stable branches, Ubuntu LTS and Fedora. They report 149 distinct CVE fixes landed in stable kernel trees by October 29 and say a straightforward backport now takes about 30 minutes of human attention instead of days. The post argues that unfixed known CVEs in stable packages are a large, neglected backlog.

  • Backporting is time-consuming, thankless volunteer work, so many fixes never reach stable releases even though most users run LTS software (about 95% of Ubuntu installs).
  • Their analysis counts CVEs fixed upstream but missing from stable branches: 337 to 2,006 per kernel branch (5.10.y through 6.18.y), and 1,028 source packages with unfixed CVEs in Ubuntu 26.04 and 1,128 in Debian 13.
  • Agents using Codex with GPT-5.6 identify missing fixes, adapt patches, run tests and prepare submission packets, while engineers review and submit to maintainers.
  • Reported effort: about 30 minutes of human attention for a straightforward backport and around three hours for a more involved one, excluding initial project setup.
  • First step was applying existing upstream fixes that applied cleanly to stable trees; kernel maintainers accepted them, and work is moving toward more complex backports.
  • Trail of Bits invites open-source projects and distributions to apply for help via their patch-the-planet program.

Discussion The comment thread is very small, with a single comment from dguido noting that most Linux kernel bugfixes never reach the many stable releases that distributions use. There is no real debate; the mood is simply agreement with the premise that the stable-branch backlog is a real problem.

  • Most kernel bugfixes never reach stable distro releases (most): The only commenter agrees that the gap between upstream kernel fixes and the stable releases most users run is a sad but real problem. No one disputed the premise in the thread.

#linuxKernel #backporting #securityPatches #codex #stableReleases