Skip to content
Noroxi
CVE-2026-23394· NVD / CVE Program· CNA Linux

af_unix: Give up GC if MSG_PEEK intervened.

In the Linux kernel, the following vulnerability has been resolved: af_unix: Give up GC if MSG_PEEK intervened. Igor Ushakov reported that GC purged the receive queue of an alive socket due to a race with MSG_PEEK with a nice repro. This is the exact same issue previously fixed by commit cbcf01128d0a ("af_unix: fix garbage collect vs MSG_PEEK"). After GC was replaced with the current algorithm, the cited commit removed the locking dance in unix_peek_fds() and reintroduced the same issue. The problem is that MSG_PEEK bumps a file refcount without interacting with GC. Consider an SCC containing sk-A and sk-B, where sk-A is close()d but can be recv()ed via sk-B. The bad thing happens if sk-A is recv()ed with MSG_PEEK from sk-B and sk-B is close()d while GC is checking unix_vertex_dead() for sk-A and sk-B. GC thread User thread --------- ----------- unix_vertex_dead(sk-A) -> true <------. \ `------ recv(sk-B, MSG_PEEK) invalidate !! -> sk-A's file refcount : 1 -> 2 close(sk-B) -> sk-B's file refcount : 2 -> 1 unix_vertex_dead(sk-B) -> true Initially, sk-A's file refcount is 1 by the inflight fd in sk-B recvq. GC thinks sk-A is dead because the file refcount is the same as the number of its inflight fds. However, sk-A's file refcount is bumped silently by MSG_PEEK, which invalidates the previous evaluation. At this moment, sk-B's file refcount is 2; one by the open fd, and one by the inflight fd in sk-A. The subsequent close() releases one refcount by the former. Finally, GC incorrectly concludes that both sk-A and sk-B are dead. One option is to restore the locking dance in unix_peek_fds(), but we can resolve this more elegantly thanks to the new algorithm. The point is that the issue does not occur without the subsequent close() and we actually do not need to synchronise MSG_PEEK with the dead SCC detection. When the issue occurs, close() and GC touch the same file refcount. If GC sees the refcount being decremented by close(), it can just give up garbage-collecting the SCC. Therefore, we only need to signal the race during MSG_PEEK with a proper memory barrier to make it visible to the GC. Let's use seqcount_t to notify GC when MSG_PEEK occurs and let it defer the SCC to the next run. This way no locking is needed on the MSG_PEEK side, and we can avoid imposing a penalty on every MSG_PEEK unnecessarily. Note that we can retry within unix_scc_dead() if MSG_PEEK is detected, but we do not do so to avoid hung task splat from abusive MSG_PEEK calls.

MediumCVSS 4.7 · v3.1—No exploit Fix available
Published
Mar 25, 2026
Updated
Aug 19, 2026
EPSS
0.1% · 1th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel6.1.141 and later · before 6.2
  • linux linux kernel6.6.93 and later · before 6.7
  • linux linux kernel6.10.1 and later · before 6.18.23
  • linux linux kernel6.19 and later · before 6.19.10
  • linux linux kernel6.10
  • linux linux kernel7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 6.10affected
    • 61a75360dca93c945ef6bd757f8b8a96f39b77cb and later · before 980999a96e1ad043f1197606e5d637219cb102b9affected · git
    • 7b1ffbd3b22e755d481d49647dcb7c5cfbde5844 and later · before 3106f326f67c03dd9da4ca64663d11e40138cf40affected · git
    • 118f457da9ed58a79e24b73c2ef0aa1987241f0e and later · before e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202affected · git
    • 118f457da9ed58a79e24b73c2ef0aa1987241f0e and later · before 72cf49ad50c16270b52bc512d9c2df5743922968affected · git
    • 118f457da9ed58a79e24b73c2ef0aa1987241f0e and later · before 37dd7ab332396eb8dd80b2dc7ea4b61abf767436affected · git
    • 118f457da9ed58a79e24b73c2ef0aa1987241f0e and later · before e5b31d988a41549037b8d8721a3c3cae893d8670affected · git
    • 6.1.141 and later · before 6.1.183affected · semver
    • 6.6.93 and later · before 6.6.142affected · semver
    • before 6.10not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.187-16.1.187-1
Debian:13linuxbefore 6.12.94-16.12.94-1
Debian:14linuxbefore 6.19.10-16.19.10-1
openSUSE:Leap 16.0dtb-aarch64before 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-64kbbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-azurebefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-defaultbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-default-basebefore 6.12.0-160000.36.1.160000.2.176.12.0-160000.36.1.160000.2.17
openSUSE:Leap 16.0kernel-docsbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-kvmsmallbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-obs-buildbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-obs-qabefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-rtbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-sourcebefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-symsbefore 6.12.0-160000.36.16.12.0-160000.36.1
openSUSE:Leap 16.0kernel-zfcpdumpbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Enterprise Server 16.0kernel-azurebefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Enterprise Server 16.0kernel-docsbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Enterprise Server 16.0kernel-kvmsmallbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Enterprise Server 16.0kernel-obs-qabefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Enterprise Server 16.0kernel-zfcpdumpbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Micro 6.2kernel-64kbbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Micro 6.2kernel-defaultbefore 6.12.0-160000.36.16.12.0-160000.36.1
SUSE:Linux Micro 6.2kernel-default-basebefore 6.12.0-160000.36.1.160000.2.176.12.0-160000.36.1.160000.2.17

+4

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux3106f326f67c03dd9da4ca64663d11e40138cf40Vendor (CNA)
Linux Linux37dd7ab332396eb8dd80b2dc7ea4b61abf767436Vendor (CNA)
Linux Linux6.1.183Vendor (CNA)
Linux Linux6.6.142Vendor (CNA)
Linux Linux72cf49ad50c16270b52bc512d9c2df5743922968Vendor (CNA)
Linux Linux980999a96e1ad043f1197606e5d637219cb102b9Vendor (CNA)
Linux Linuxe3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202Vendor (CNA)
Linux Linuxe5b31d988a41549037b8d8721a3c3cae893d8670Vendor (CNA)
debian:linux6.1.187-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-64kb6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-azure6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default-base6.12.0-160000.36.1.160000.2.17 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-docs6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-kvmsmall6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-build6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-qa6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-rt6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-source6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-syms6.12.0-160000.36.1 · openSUSE:Leap 16.0Package registry (OSV)
suse:kernel-64kb6.12.0-160000.36.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-azure6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-default6.12.0-160000.36.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-default-base6.12.0-160000.36.1.160000.2.17 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-docs6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-kvmsmall6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-obs-build6.12.0-160000.36.1 · SUSE:Linux Micro Extras 6.2Package registry (OSV)
suse:kernel-obs-qa6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-rt6.12.0-160000.36.1 · SUSE:Linux Micro 6.2Package registry (OSV)

+3

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records