Search arXiv⌕ Search

arXiv · 2611.41856

Security Fix Dynamics: the Case of the Linux Kernel

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Nicholas CL Beale. 2026-11-30. Security Fix Dynamics: the Case of the Linux Kernel. https://searcharxiv.org/abs/2611.41856

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

When Do Experiments Improve Treatment Prioritization?

Organizations often prioritize interventions using predictions of what would happen without them. We ask when experiments improve prioritization beyond these predictions. In a model of binary outcomes, predicted probabilities reveal whose outcome is uncertain, and so whom treatment can tip, which is why they often rival effect estimates. Yet they can fail in two ways: where effects peak along the predictions depends on the treatment's strength, and people with the same prediction may respond differently. An experiment can address both, at very different costs. Learning the treatment's strength takes only a small experiment and shows how to rank by the predictions; even ranking by closeness to 50% often works well. Learning how people with the same prediction differ is harder, and the data needed depend on these differences, not on overall effect variation. When these differences are small, learning them improves allocation only if they outweigh estimation error near the cutoff that treatment capacity imposes on the ranking. In an advertising experiment with 14 million users, effect estimates improve narrow campaigns with a few thousand treated users but bring no detectable gain to broad ones even with 8 million.

stat.ML↗

Simulation-based inference via telescoping ratio estimation for trawl processes

The growing availability of large and complex datasets has increased interest in temporal stochastic processes that can capture stylized facts such as marginal skewness, non-Gaussian tails, long memory, and even non-Markovian dynamics. While such models are often easy to simulate from, parameter estimation remains challenging. Simulation-based inference (SBI) offers a promising way forward, but existing methods typically require large training datasets or complex architectures and frequently yield confidence (credible) regions that fail to attain their nominal values, raising doubts on the reliability of estimates for the very features that motivate the use of these models. To address these challenges, we propose a fast and accurate, sample-efficient SBI framework for amortized posterior inference applicable to intractable stochastic processes. The proposed approach relies on two main steps: first, we learn the posterior density by decomposing it sequentially across parameter dimensions. Then, we use Chebyshev polynomial approximations to efficiently generate independent posterior samples, enabling accurate inference even when Markov chain Monte Carlo methods mix poorly. We further develop novel diagnostic tools for SBI in this context, as well as post-hoc calibration techniques; the latter not only lead to performance improvements of the learned inferential tool, but also to the ability to reuse it directly with new time series of varying lengths, thus amortizing the training cost. We demonstrate the method's effectiveness on trawl processes, a class of flexible infinitely divisible models that generalize univariate Gaussian processes, applied to energy demand data.

stat.ML↗

Approximate Reverse-KL Transports for Reversible Jump MCMC

We develop transport proposals for reversible jump Markov chain Monte Carlo (RJMCMC) using reverse-Kullback-Leibler variational inference with normalizing flows. Unlike sample-trained transport reversible-jump proposals, our map-fitting objectives use evaluations of unnormalized model-specific posterior densities and draws from tractable reference distributions, rather than pilot posterior samples. The fitted flows are used only to construct Metropolis-Hastings proposals; consequently, the resulting sampler targets the exact trans-dimensional posterior even when the variational transports are imperfect. We introduce a trans-dimensional variational-inference construction for conditional transport proposals. Model-specific parameters are embedded in a saturated space, and a conditional normalizing flow learns the corresponding transport maps jointly across model dimensions. We use RealNVP coupling flows, unlike autoregressive flows, because their coordinatewise map and inverse evaluations are parallelizable, which is well suited to repeated RJMCMC proposal evaluations. We derive a residual-weight representation of the between-model acceptance probability. It clarifies that reverse-KL under-coverage affects finite-time proposal quality and mixing, but not the invariant posterior distribution after Metropolis-Hastings correction. Experiments on a controlled sinh-arcsinh example, Bayesian factor analysis, robust-regression variable selection, coal-mining change-point inference, and phylogenetic substitution-model selection for two sequence alignments over 203 candidate models show that the proposed target-trained transports can substantially improve between-model mobility and posterior model-probability estimation. The trans-dimensional conditional method provides an effective joint alternative to particle-trained conditional transports, particularly in the larger model spaces considered.

stat.ML↗