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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-25 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-31673, DEBIAN-CVE-2026-31673, CGA-6xhw-jgx3-pm4p, CGA-7322-fmwh-c9gm, CGA-86wq-m9mp-966h, CGA-cp98-73jc-4x6c, CGA-g3vj-f2qp-fj2g, CGA-wcp4-wg79-ffc4, CGA-wqmp-v88g-frmm, CGA-x8xq-92cx-8vcf
- Record: https://cvemate.com/vulnerability/CVE-2026-31673 · JSON: https://cvemate.com/vulnerability/CVE-2026-31673/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.136%, percentile 3.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 167)

- chainguard linux-aws-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.24-r1 \| \< 6.18.31-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.31-r0 \| \< 6.18.24-r3
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.31-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.31-r0
- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.85-1 \| \< 6.19.14-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-136.136
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 43)

- <https://git.kernel.org/stable/c/e7339db13b9ddb63417b12da55fd6191e59f7442>
- <https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7>
- <https://git.kernel.org/stable/c/c3ec44ab4526bbc4b6c9fc845af86488244f4c9b>
- <https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c>
- <https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8>
- <https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9>
- <https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0>
- <https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef>
- <https://ubuntu.com/security/CVE-2026-31673>
- <https://www.cve.org/CVERecord?id=CVE-2026-31673>
- <https://git.kernel.org/linus/39897df386376912d561d4946499379effa1e7ef>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>
- <https://ubuntu.com/security/notices/USN-8575-2>
- <https://ubuntu.com/security/notices/USN-8576-2>

---

Data as of 2026-12-05T03:09:43.204Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
