In the Linux kernel, the following vulnerability has been resolved: llc: fix skb UAF and leaks on llc_mac_hdr_init() failure In… (CVE-2026-98555)
Description
A use-after-free (UAF) and memory leak vulnerability in the Linux kernel's LLC (Logical Link Control) component was resolved. The flaw occurs when the function llc_mac_hdr_init() fails, leading to incorrect freeing of socket buffers (skb) and leaking of newly allocated buffers (nskb). This can cause double-free and use-after-free conditions in specific error paths.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's LLC module involves improper handling of socket buffers during error conditions in llc_mac_hdr_init(). Specifically, if llc_mac_hdr_init() fails, the code incorrectly frees the original skb instead of the newly allocated nskb, resulting in a memory leak of nskb, use-after-free reads from the freed skb, and double-free of skb when references are dropped later. Additionally, nskb is leaked in two other functions (llc_sap_action_send_xid_r() and llc_sap_action_send_test_r()) if llc_mac_hdr_init() returns an error. The fix involves freeing nskb properly in all error paths to prevent leaks and use-after-free issues.
Potential Impact
This vulnerability can lead to memory corruption issues such as use-after-free and double-free, which may cause system instability or crashes. While no direct exploit in the wild is known, these conditions could potentially be leveraged for denial of service or other attacks depending on the kernel usage context.
Mitigation Recommendations
A fix has been applied to the Linux kernel to properly free the newly allocated socket buffers (nskb) in all error paths related to llc_mac_hdr_init() failures. Users should update to the patched kernel versions once available. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q422-9435-7hfq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98555"]
Threat ID: 6ad520af2cdf04f656993aa5
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 21:03:46 UTC
Last updated: 10/18/2026, 22:48:13 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.