Security Resilience

CVE-2026-31673

Race Condition in Linux Kernel 3.3 – 6.6.136

Published
25 April 2026
Modified
11 November 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0015 2th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-31673 is a high-severity Race Condition (CWE-362) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, ranked at the 2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-31673 is a vulnerability in the Linux kernel's af_unix implementation, specifically affecting the handling of UNIX_DIAG_VFS data during netlink diagnostics. Exact UNIX diag lookups hold a reference to the socket but not to u->path, while unix_release_sock() clears u->path under unix_state_lock() and drops the path reference afterward. This creates a race condition where VFS data (inode and device numbers) may be read unstably during reply construction. The issue was published on 2026-04-25 and carries a CVSS v3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

A local attacker with low privileges (PR:L) can exploit this vulnerability with low attack complexity and no user interaction. Exploitation involves racing the diagnostic lookup against socket release to access unstable or freed u->path data in the netlink reply, potentially leading to high impacts on confidentiality, integrity, and availability, such as information disclosure, data corruption, or denial of service.

Patches addressing this vulnerability are available in Linux kernel stable trees via the following commits: https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8, https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef, https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9, https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c, and https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0. Security practitioners should apply these updates to mitigate the race condition by reading VFS data under unix_state_lock() before emitting netlink attributes.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX diag lookups hold a reference to the socket, but not to u->path. Meanwhile, unix_release_sock() clears u->path under unix_state_lock() and drops the path…

more

reference after unlocking. Read the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emit the netlink attribute after dropping the lock. This keeps the VFS data stable while the reply is being built.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-52480Same product: Linux Linux Kernel
CVE-2025-38524Same product: Linux Linux Kernel
CVE-2024-26617Same product: Linux Linux Kernel
CVE-2023-53345Same product: Linux Linux Kernel
CVE-2025-38242Same product: Linux Linux Kernel
CVE-2023-1582Same product: Linux Linux Kernel
CVE-2026-43180Same product: Linux Linux Kernel
CVE-2026-43023Same product: Linux Linux Kernel
CVE-2026-43214Same product: Linux Linux Kernel
CVE-2025-21947Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
7.0 · 3.3 — 6.6.136 · 6.7 — 6.12.83 · 6.13 — 6.18.24

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-362

Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.

addresses: CWE-362

Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect race conditions, but does not prevent them at design or coding time.

prevents

Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-362, a class-level weakness, and none of its children carries one either.

References