# CVE-2026-64004: net/iucv: fix locking in .getsockopt

> 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.14% (percentile 1, 2026-11-26)
- **CWE:** CWE-667, CWE-362
- **Published:** 2026-07-19T14:56:20.895Z
- **Modified:** 2026-10-19T21:17:18.343Z

## Who should check

- Anyone running Linux \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 884eb247b74d86db97e3a37f0d6fc8e1e83590dd; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 1fc30bd4e55e2dd622d2d366cecd732c1841bbee; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< cd691beafea0dd779e69e81ccc26b0ab50efcb5e; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 6e792b8dd3002bbc4136745928a9605df1a72b8a; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 9817369243380e287ebe5525411557eaa3aa2a79; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 69554adc7a6fa04ede3ad7512321d83748e3c920; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 3589d20a666caf30ad100c960a2de7de390fce88
- Anyone running Linux 3.4

## Description

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.

## Affected and fixed versions

- Linux: \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 884eb247b74d86db97e3a37f0d6fc8e1e83590dd; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 1fc30bd4e55e2dd622d2d366cecd732c1841bbee; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< cd691beafea0dd779e69e81ccc26b0ab50efcb5e; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 6e792b8dd3002bbc4136745928a9605df1a72b8a; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 9817369243380e287ebe5525411557eaa3aa2a79; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 69554adc7a6fa04ede3ad7512321d83748e3c920; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 3589d20a666caf30ad100c960a2de7de390fce88 (cvelist)
- Linux: 3.4 (cvelist)

## Mitigation

- Upgrade Linux to 3589d20a666caf30ad100c960a2de7de390fce88 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-64004. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64004.md
Affected: Linux >= 51363b8751a673a00ad48eea895266396d53fa52, < 884eb247b74d86db97e3a37f0d6fc8e1e83590dd; >= 51363b8751a673a00ad48eea895266396d53fa52, < 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb; >= 51363b8751a673a00ad48eea895266396d53fa52, < 1fc30bd4e55e2dd622d2d366cecd732c1841bbee; >= 51363b8751a673a00ad48ee…
Fixed in: Linux 884eb247b74d86db97e3a37f0d6fc8e1e83590dd, Linux 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb, Linux 1fc30bd4e55e2dd622d2d366cecd732c1841bbee, Linux 6e792b8dd3002bbc4136745928a9605df1a72b8a, Linux 9817369243380e287ebe5525411557eaa3aa2a79, Linux 69554adc7a6fa04ede3ad7512321d83748e3c920, Linux 3589d…

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-64004 being exploited?

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

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

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

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

Linux \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 884eb247b74d86db97e3a37f0d6fc8e1e83590dd; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 1fc30bd4e55e2dd622d2d366cecd732c1841bbee; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< cd691beafea0dd779e69e81ccc26b0ab50efcb5e; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 6e792b8dd3002bbc4136745928a9605df1a72b8a; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 9817369243380e287ebe5525411557eaa3aa2a79; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 69554adc7a6fa04ede3ad7512321d83748e3c920; \>= 51363b8751a673a00ad48eea895266396d53fa52, \< 3589d20a666caf30ad100c960a2de7de390fce88; Linux 3.4.

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

Yes. Fixed in Linux 884eb247b74d86db97e3a37f0d6fc8e1e83590dd, Linux 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb, Linux 1fc30bd4e55e2dd622d2d366cecd732c1841bbee, Linux 6e792b8dd3002bbc4136745928a9605df1a72b8a, Linux 9817369243380e287ebe5525411557eaa3aa2a79, Linux 69554adc7a6fa04ede3ad7512321d83748e3c920, Linux 3589d20a666caf30ad100c960a2de7de390fce88. Upgrade Linux to 3589d20a666caf30ad100c960a2de7de390fce88 or later.

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

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/884eb247b74d86db97e3a37f0d6fc8e1e83590dd>
- patch: <https://git.kernel.org/stable/c/45bb8de8c95d8899f4b8f61bd9bceb8132af73cb>
- patch: <https://git.kernel.org/stable/c/1fc30bd4e55e2dd622d2d366cecd732c1841bbee>
- patch: <https://git.kernel.org/stable/c/cd691beafea0dd779e69e81ccc26b0ab50efcb5e>
- patch: <https://git.kernel.org/stable/c/6e792b8dd3002bbc4136745928a9605df1a72b8a>
- patch: <https://git.kernel.org/stable/c/9817369243380e287ebe5525411557eaa3aa2a79>
- patch: <https://git.kernel.org/stable/c/69554adc7a6fa04ede3ad7512321d83748e3c920>
- patch: <https://git.kernel.org/stable/c/3589d20a666caf30ad100c960a2de7de390fce88>

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

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