CVE-2026-31673·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 6.19.14
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31673 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.14
Fixed in: 6.19.14
How to fix this CVE
Update your Linux kernel to version 6.19.14 or later to resolve a race condition in the AF_UNIX socket diagnostic interface that could allow local privilege escalation. The vulnerability stems from unsafe access to socket path data during netlink attribute construction. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf check-update kernel && sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if you're running kernel 6.19.0 through 6.19.13: if uname -r | grep -E '6\.19\.[0-9]' | grep -v '6\.19\.1[4-9]'; then echo 'Vulnerable'; fi
- Search kernel logs for UNIX_DIAG operations: grep -i 'unix_diag\|AF_UNIX' /var/log/kernel.log /var/log/syslog 2>/dev/null | head -20
- Confirm fix installation: uname -r should display 6.19.14 or higher, or verify with: cat /proc/version | grep -oP '\d+\.\d+\.\d+'
FAQ
What is CVE-2026-31673?
This vulnerability is a race condition in the Linux kernel's AF_UNIX socket diagnostic subsystem where socket path data can be freed while still being read during netlink attribute construction, potentially allowing a local attacker to trigger memory corruption or information disclosure.
Is CVE-2026-31673 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Kernel are affected by CVE-2026-31673?
Linux kernel versions 6.19.0 through 6.19.13 are affected; version 6.19.14 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-31673?
Run 'uname -r' and check if the output shows a kernel version between 6.19.0 and 6.19.13; if so, your system is vulnerable and requires a kernel update.
Does Defensia detect CVE-2026-31673?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31673 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8
- https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef
- https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7
- https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9
- https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31673. Free for 1 server.
Get started free