论文:AI 工具普及后 Linux 内核安全修复速率升至约三倍
Security Fix Dynamics: the Case of the Linux Kernel
Ross Anderson 等人用 Linux 内核二十多年的提交数据算出一件事:2026 年起老代码的修复率涨了约三倍,疑似和 AI 工具大规模使用有关。论文里有 s^0.7 这类量化规律和排队模型,做安全或开源维护的人都该看看这组数据。
一篇 arXiv 论文以 Linux 内核为样本,测量漏洞被检测和修复的动态过程。2018 到 2025 年间该过程保持稳定:修复补丁很小,即使发现耗时多年的 bug 也不会产生更大补丁;后续修复数量随提交规模 s 以 s^γ(γ≈0.7)增长,并按对数时间累积;各年龄代码被修复的速率近乎恒定。
约从 2026 年初起,超过六个月历史的代码(包括历史修复和普通代码)的修复速率在九个月内上升到约三倍(已扣除记录更完整带来的影响),越老的代码上升越明显,这一趋势延伸到审查最严格的子系统。作者用分支过程和排队模型推算,若该倍数持续,五年内重复修复率将从历史水平接近翻倍至约 0.17,修复工作量约为历史水平的 2.5 倍。模型还给出了重复修复过程自我延续的条件,并表明在到达该临界点之前修复需求就已显著恶化。
Security Fix Dynamics: the Case of the Linux Kernel
If AI destabilises cybersecurity, it is important to understand the dynamics of the processes by which vulnerabilities are detected and fixed. Using the history of the Linux kernel, this paper measures the size of fixes, the rate at which code of a given age is found to need fixing, and how that rate changed in 2026 as AI tools came into wide use. From 2018 to 2025 the process was stable. Fixes were small, and no larger for bugs that had taken years to find; the expected number of follow-up fixes rose with the size $s$ of a commit as $s^γ$ with $γ\approx 0.7$; follow-ups accumulated in proportion to the logarithm of elapsed time; and the rate at which code of each age attracted fixes was nearly constant. From about the start of 2026 that rate rose for all code more than six months old, in earlier fixes and ordinary code alike, by a factor of about three within nine months after allowing for more complete recording. The rise was greatest for older code, and extended to the kernel's most scrutinised subsystems. A branching-process and queueing model shows that if this multiplier were sustained the five-year re-fix ratio would nearly double, to about 0.17, and remediation demand would be about two and a half times its historical level. The model also gives the conditions for the re-fix process to become self-perpetuating, and shows that demand becomes severe well before that point is reached.
This report is categorized under AITOP's "Papers" desk. Key entities and technical topics under continuous tracking include Linux kernel, AI safety, vulnerability fixes, papers.
Source attribution: curated from arXiv cs.LG (@Nicholas CL Beale).