In the Linux kernel, the following vulnerability has been resolved: af_packet: fix integer overflow in prb_calc_retire_blk_tmo()… (CVE-2026-98547)
Description
A vulnerability in the Linux kernel's af_packet subsystem involves an integer overflow in the prb_calc_retire_blk_tmo() function. This overflow can cause a negative timeout value to be used in a high-resolution timer, resulting in a timer that fires continuously at maximum rate. This behavior can cause a CPU to spin indefinitely in a softirq context, effectively leading to a denial of service. The issue arises from 32-bit integer arithmetic overflow when calculating block size timeouts, triggered by user-controlled parameters. The vulnerability has been resolved by changing the calculation to use 64-bit arithmetic.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's af_packet subsystem had an integer overflow vulnerability in the prb_calc_retire_blk_tmo() function, which calculates a timeout value using 32-bit integer arithmetic. When a user-controlled block size parameter is large (e.g., 256 MiB), the multiplication overflows, producing a negative result. This negative timeout is passed to a high-resolution timer, causing it to expire immediately and then repeatedly fire at the maximum rate. The repeated timer firing holds a lock and causes a CPU to spin in softirq indefinitely, resulting in a denial of service. The overflow was introduced with TPACKET_V3 and became more severe after a change in kernel version 6.18 that used hrtimer for retire operations. The fix involves computing the timeout in 64-bit arithmetic to prevent overflow.
Potential Impact
The vulnerability can cause a denial of service by making a CPU core spin indefinitely in a softirq context, holding a kernel lock and effectively hanging the system or degrading performance severely. This occurs when a specially crafted packet ring buffer configuration is used with a large block size, triggering the integer overflow and continuous timer firing. There is no indication of privilege escalation or data corruption from the provided information.
Mitigation Recommendations
A fix is available that changes the arithmetic in prb_calc_retire_blk_tmo() from 32-bit to 64-bit to prevent integer overflow. Users should update their Linux kernel to a version that includes this fix. No other mitigations are indicated or required according to the advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9w5q-r82v-2r6x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98547"]
Threat ID: 6ad520af2cdf04f656993aca
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:34:29 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.