In the Linux kernel, the following vulnerability has been resolved: net/x25: fix use-after-free of the socket by its timers The x25 timers are armed… (CVE-2026-74628)
A use-after-free vulnerability in the Linux kernel's x25 network protocol implementation has been fixed. The issue involves timers that manage socket references incorrectly, leading to potential use of freed memory. This flaw was detected by KASAN and could cause kernel memory corruption. The patch changes how timers are armed and cancelled to ensure proper reference counting and prevent use-after-free conditions.
AI Analysis
Technical Summary
The Linux kernel's x25 protocol timers were managed using mod_timer() and timer_delete(), which did not hold references on the socket during timer callbacks. The x25_heartbeat_expiry() function could rearm timers after the socket was destroyed, causing __sock_put() to free the socket while a timer was still queued. Subsequent timer expiry would then access freed memory, triggering a slab-use-after-free detected by KASAN. The fix involves using sk_reset_timer() and sk_stop_timer() to ensure timers hold references to the socket, releasing them properly in expiry handlers, and only rearming heartbeat timers while the socket is still linked. This prevents use-after-free conditions and memory corruption.
Potential Impact
This vulnerability could lead to use-after-free conditions in kernel memory, potentially causing system instability or crashes. However, no known exploits in the wild have been reported. The flaw affects the Linux kernel's x25 network stack and could be triggered by timer callbacks accessing freed socket memory.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by changing how x25 timers manage socket references. Users should update to the fixed kernel version once available. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a kernel version containing this fix is the recommended remediation. No alternative mitigations are indicated.
In the Linux kernel, the following vulnerability has been resolved: net/x25: fix use-after-free of the socket by its timers The x25 timers are armed… (CVE-2026-74628)
Description
A use-after-free vulnerability in the Linux kernel's x25 network protocol implementation has been fixed. The issue involves timers that manage socket references incorrectly, leading to potential use of freed memory. This flaw was detected by KASAN and could cause kernel memory corruption. The patch changes how timers are armed and cancelled to ensure proper reference counting and prevent use-after-free conditions.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's x25 protocol timers were managed using mod_timer() and timer_delete(), which did not hold references on the socket during timer callbacks. The x25_heartbeat_expiry() function could rearm timers after the socket was destroyed, causing __sock_put() to free the socket while a timer was still queued. Subsequent timer expiry would then access freed memory, triggering a slab-use-after-free detected by KASAN. The fix involves using sk_reset_timer() and sk_stop_timer() to ensure timers hold references to the socket, releasing them properly in expiry handlers, and only rearming heartbeat timers while the socket is still linked. This prevents use-after-free conditions and memory corruption.
Potential Impact
This vulnerability could lead to use-after-free conditions in kernel memory, potentially causing system instability or crashes. However, no known exploits in the wild have been reported. The flaw affects the Linux kernel's x25 network stack and could be triggered by timer callbacks accessing freed socket memory.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by changing how x25 timers manage socket references. Users should update to the fixed kernel version once available. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a kernel version containing this fix is the recommended remediation. No alternative mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fp3m-qh7p-hcj7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74628"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f2acd9273b499bc828
Added to database: 08/22/2026, 22:51:30 UTC
Last enriched: 08/22/2026, 23:40:28 UTC
Last updated: 08/23/2026, 00:32:02 UTC
Views: 2
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.