CVE-2026-31673

af_unix: read UNIX_DIAG_VFS data under unix_state_lock

7.8 high EPSS 0.14%

Published 25 Apr 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-31673

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31673 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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 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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.22% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before e7339db13b9ddb63417b12da55fd6191e59f7442
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before c3ec44ab4526bbc4b6c9fc845af86488244f4c9b
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before b9232421a77a649c9376c99fdfc8cb7f79cad34c
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before 0c739f3785f84af695952c2bac8be2f45082c9b8
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before 900a4e0910e98b8caef117d5df00471fa438dcf9
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before bdf206e740bf2919d818f132c8c9cc7ed91d11c0
affected from 5f7b0569460b7d8d01ca776430a00505a68b7584, before 39897df386376912d561d4946499379effa1e7ef
Other versions: unaffected
Linux
affected 3.3
unaffected before 3.3
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.136 up to and including 6.6.*
unaffected from 6.12.83 up to and including 6.12.*
unaffected from 6.18.24 up to and including 6.18.*
unaffected from 6.19.14 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31673 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31673

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31673
trivy image --scanners vuln IMAGE | grep CVE-2026-31673

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31673 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.