Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: af_unix: Give up GC if MSG_PEEK intervened. (CVE-2026-23394)
A vulnerability in the Linux kernel's af_unix subsystem involving garbage collection (GC) and the MSG_PEEK socket flag was resolved. The issue arises from a race condition where GC incorrectly purges the receive queue of a live socket due to MSG_PEEK increasing a file descriptor's reference count without proper synchronization. This can cause the GC to mistakenly consider sockets dead and collect them prematurely. The fix introduces a memory barrier and notification mechanism to detect this race and defer garbage collection, avoiding the need for heavy locking. The vulnerability has a medium severity score of 4.7 and affects specific Linux kernel versions prior to 6.8.0-1057.60~22.04.1 and related builds. A patch is available and should be applied to mitigate the issue.
AI Analysis
Technical Summary
CVE-2026-23394 is a Linux kernel vulnerability in the af_unix subsystem related to garbage collection (GC) of socket connections. The problem occurs when MSG_PEEK is used on a socket, which increments the file descriptor's reference count without interacting with GC. This leads to a race condition where GC may incorrectly determine that sockets in a strongly connected component (SCC) are dead and purge their receive queues, even though they are still alive. The race involves concurrent operations by the GC thread and user threads performing MSG_PEEK and close() calls. The fix avoids reintroducing locking by using a seqcount_t memory barrier to notify GC of MSG_PEEK activity, allowing GC to defer collection to a subsequent run. This resolves the race condition without imposing performance penalties on MSG_PEEK calls.
Potential Impact
The vulnerability can cause the Linux kernel's garbage collector to prematurely purge the receive queue of live Unix domain sockets due to a race condition involving MSG_PEEK and socket closure. This may lead to denial of service conditions by disrupting socket communication. The CVSS score of 4.7 (medium severity) reflects a local attack vector requiring high complexity and low privileges, with no confidentiality or integrity impact but with potential availability impact.
Mitigation Recommendations
A patch is available for this vulnerability and should be applied. The vendor advisory from Ubuntu confirms that the issue is fixed in Linux kernel versions 6.17.0-29.29 and later for various Ubuntu releases including 22.04 LTS and 25.10. Users should update their systems using standard package management tools and reboot to apply the kernel updates. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary. No additional mitigation steps are required beyond applying the official fixes.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: af_unix: Give up GC if MSG_PEEK intervened. (CVE-2026-23394)
Description
A vulnerability in the Linux kernel's af_unix subsystem involving garbage collection (GC) and the MSG_PEEK socket flag was resolved. The issue arises from a race condition where GC incorrectly purges the receive queue of a live socket due to MSG_PEEK increasing a file descriptor's reference count without proper synchronization. This can cause the GC to mistakenly consider sockets dead and collect them prematurely. The fix introduces a memory barrier and notification mechanism to detect this race and defer garbage collection, avoiding the need for heavy locking. The vulnerability has a medium severity score of 4.7 and affects specific Linux kernel versions prior to 6.8.0-1057.60~22.04.1 and related builds. A patch is available and should be applied to mitigate the issue.
CVSS v3.1
Score 4.7medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-23394 is a Linux kernel vulnerability in the af_unix subsystem related to garbage collection (GC) of socket connections. The problem occurs when MSG_PEEK is used on a socket, which increments the file descriptor's reference count without interacting with GC. This leads to a race condition where GC may incorrectly determine that sockets in a strongly connected component (SCC) are dead and purge their receive queues, even though they are still alive. The race involves concurrent operations by the GC thread and user threads performing MSG_PEEK and close() calls. The fix avoids reintroducing locking by using a seqcount_t memory barrier to notify GC of MSG_PEEK activity, allowing GC to defer collection to a subsequent run. This resolves the race condition without imposing performance penalties on MSG_PEEK calls.
Potential Impact
The vulnerability can cause the Linux kernel's garbage collector to prematurely purge the receive queue of live Unix domain sockets due to a race condition involving MSG_PEEK and socket closure. This may lead to denial of service conditions by disrupting socket communication. The CVSS score of 4.7 (medium severity) reflects a local attack vector requiring high complexity and low privileges, with no confidentiality or integrity impact but with potential availability impact.
Mitigation Recommendations
A patch is available for this vulnerability and should be applied. The vendor advisory from Ubuntu confirms that the issue is fixed in Linux kernel versions 6.17.0-29.29 and later for various Ubuntu releases including 22.04 LTS and 25.10. Users should update their systems using standard package management tools and reboot to apply the kernel updates. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary. No additional mitigation steps are required beyond applying the official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-23394
- Cve Count
- 1
Threat ID: 6a42ed9127e9c79719965814
Added to database: 06/29/2026, 22:11:29 UTC
Last enriched: 08/01/2026, 06:25:16 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 157
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.
External Links
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.