# CVE-2026-31673: af\_unix: read UNIX\_DIAG\_VFS data under unix\_state\_lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-29)
- **CWE:** CWE-362
- **Published:** 2026-04-25T08:46:49.246Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< e7339db13b9ddb63417b12da55fd6191e59f7442; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< c3ec44ab4526bbc4b6c9fc845af86488244f4c9b; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< b9232421a77a649c9376c99fdfc8cb7f79cad34c; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 0c739f3785f84af695952c2bac8be2f45082c9b8; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 900a4e0910e98b8caef117d5df00471fa438dcf9; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< bdf206e740bf2919d818f132c8c9cc7ed91d11c0; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 39897df386376912d561d4946499379effa1e7ef
- Anyone running Linux 3.3

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

## Affected and fixed versions

- Linux: \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< e7339db13b9ddb63417b12da55fd6191e59f7442; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< c3ec44ab4526bbc4b6c9fc845af86488244f4c9b; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< b9232421a77a649c9376c99fdfc8cb7f79cad34c; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 0c739f3785f84af695952c2bac8be2f45082c9b8; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 900a4e0910e98b8caef117d5df00471fa438dcf9; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< bdf206e740bf2919d818f132c8c9cc7ed91d11c0; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 39897df386376912d561d4946499379effa1e7ef (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- Upgrade Linux to 39897df386376912d561d4946499379effa1e7ef or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31673. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31673.md
Affected: Linux >= 5f7b0569460b7d8d01ca776430a00505a68b7584, < e7339db13b9ddb63417b12da55fd6191e59f7442; >= 5f7b0569460b7d8d01ca776430a00505a68b7584, < 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7; >= 5f7b0569460b7d8d01ca776430a00505a68b7584, < c3ec44ab4526bbc4b6c9fc845af86488244f4c9b; >= 5f7b0569460b7d8d01ca776…
Fixed in: Linux 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7, Linux 0c739f3785f84af695952c2bac8be2f45082c9b8, Linux 900a4e0910e98b8caef117d5df00471fa438dcf9, Linux 39897df386376912d561d4946499379effa1e7ef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31673 being exploited?

There is no confirmed exploitation: CVE-2026-31673 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-31673?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31673?

Linux \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< e7339db13b9ddb63417b12da55fd6191e59f7442; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< c3ec44ab4526bbc4b6c9fc845af86488244f4c9b; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< b9232421a77a649c9376c99fdfc8cb7f79cad34c; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 0c739f3785f84af695952c2bac8be2f45082c9b8; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 900a4e0910e98b8caef117d5df00471fa438dcf9; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< bdf206e740bf2919d818f132c8c9cc7ed91d11c0; \>= 5f7b0569460b7d8d01ca776430a00505a68b7584, \< 39897df386376912d561d4946499379effa1e7ef; Linux 3.3.

### Is there a fix for CVE-2026-31673?

Yes. Fixed in Linux 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7, Linux 0c739f3785f84af695952c2bac8be2f45082c9b8, Linux 900a4e0910e98b8caef117d5df00471fa438dcf9, Linux 39897df386376912d561d4946499379effa1e7ef. Upgrade Linux to 39897df386376912d561d4946499379effa1e7ef or later.

### How do I check if I'm affected by CVE-2026-31673?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c>
- patch: <https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8>
- patch: <https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9>
- patch: <https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0>
- patch: <https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef>
- other: <https://git.kernel.org/stable/c/e7339db13b9ddb63417b12da55fd6191e59f7442>
- other: <https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7>
- other: <https://git.kernel.org/stable/c/c3ec44ab4526bbc4b6c9fc845af86488244f4c9b>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31673>

HTML: <https://flawdb.com/CVE-2026-31673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31673>
