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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:20.895Z
- Modified: 2026-10-19T21:17:18.343Z
- Weaknesses: CWE-362, CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 51363b8751a673a00ad48eea895266396d53fa52 before 884eb247b74d86db97e3a37f0d6fc8e1e83590dd; from 51363b8751a673a00ad48eea895266396d53fa52 before 45bb8de8c95d8899f4b8f61bd9bceb8132af73cb; from 51363b8751a673a00ad48eea895266396d53fa52 before 1fc30bd4e55e2dd622d2d366cecd732c1841bbee; from 51363b8751a673a00ad48eea895266396d53fa52 before cd691beafea0dd779e69e81ccc26b0ab50efcb5e; from 51363b8751a673a00ad48eea895266396d53fa52 before 6e792b8dd3002bbc4136745928a9605df1a72b8a; from 51363b8751a673a00ad48eea895266396d53fa52 before 9817369243380e287ebe5525411557eaa3aa2a79; from 51363b8751a673a00ad48eea895266396d53fa52 before 69554adc7a6fa04ede3ad7512321d83748e3c920; from 51363b8751a673a00ad48eea895266396d53fa52 before 3589d20a666caf30ad100c960a2de7de390fce88; 3.4 (not affected: before 3.4; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.4 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2026-64004](https://www.cve.org/CVERecord?id=CVE-2026-64004), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64004](https://nvd.nist.gov/vuln/detail/CVE-2026-64004), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64004 · Whole record: https://cve.day/CVE-2026-64004.json · Rebuilt by cve.day 2026-11-25T22:59:28.913Z
