CVE-2026-64004·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix locking in .getsockopt Mirror iucv_sock_setsockopt() and wrap the whole switch in lock_sock()/release_sock(). The pre-existing SO_MSGLIMIT-only lock becomes redundant and is removed. Any AF_IUCV HIPER user can potentially crash the kernel by racing recvmsg() with getsockopt(SO_MSGSIZE): the SO_MSGSIZE arm dereferences iucv->hs_dev->mtu after iucv_sock_close() (called from the racing recvmsg()) has set hs_dev to NULL, producing a NULL pointer dereference oops.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- 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.10% — in the bottom 1% 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-64004 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.10%, 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: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to resolve a race condition in the AF_IUCV socket implementation that can cause kernel crashes. The vulnerability allows local users with low privileges to trigger a NULL pointer dereference by concurrently calling recvmsg() and getsockopt(SO_MSGSIZE). Immediate patching is recommended for systems using IUCV networking, particularly in enterprise environments.
sudo dnf check-update kernel && sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your currently running kernel version and verify it is 7.0.12 or later
- Check if AF_IUCV sockets are in use: run 'grep -i iucv /proc/modules' or 'lsmod | grep iucv' to confirm if the iucv module is loaded
- Search system logs for kernel panic indicators: 'sudo journalctl -xe | grep -i "null pointer\|oops\|iucv'
- After patching, verify the new kernel version with 'uname -r' and confirm it matches 7.0.12 or later
FAQ
What is CVE-2026-64004?
CVE-2026-64004 is a race condition vulnerability in the Linux kernel's AF_IUCV socket layer where concurrent access to getsockopt(SO_MSGSIZE) and recvmsg() can result in dereferencing a NULL pointer, causing a kernel crash. This affects users with low-level privileges on systems configured for IUCV networking.
Is CVE-2026-64004 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities (KEV) catalog, this vulnerability is not currently being actively exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2026-64004?
Linux kernel versions 6.19 through 7.0.11 are vulnerable. The vulnerability has been fixed in kernel version 7.0.12 and later.
How do I check if my server is vulnerable to CVE-2026-64004?
Run 'uname -r' to display your kernel version. If it shows a version between 6.19 and 7.0.11 inclusive, your system is vulnerable. Additionally, check if the iucv module is loaded with 'lsmod | grep iucv'—only systems with this module are at risk.
Does Defensia detect CVE-2026-64004?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server and is running a vulnerable version, CVE-2026-64004 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1fc30bd4e55e2dd622d2d366cecd732c1841bbee
- https://git.kernel.org/stable/c/3589d20a666caf30ad100c960a2de7de390fce88
- https://git.kernel.org/stable/c/45bb8de8c95d8899f4b8f61bd9bceb8132af73cb
- https://git.kernel.org/stable/c/69554adc7a6fa04ede3ad7512321d83748e3c920
- https://git.kernel.org/stable/c/6e792b8dd3002bbc4136745928a9605df1a72b8a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64004. Free for 1 server.
Get started free