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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition occurs in the Linux kernel's IUCV socket implementation. When a user performs getsockopt(SO_MSGSIZE) concurrently with a recvmsg() that closes the socket, the getsockopt code dereferences a pointer that has been cleared by close, causing a null-pointer dereference oops. The result is a kernel crash that brings the host down, leading to a denial of service.

Affected Systems

Affected systems are Linux kernel installations that expose the AF_IUCV socket interface and have not applied the locking fix. Any version prior to the commit that wrapped the getsockopt switch in lock_sock()/release_sock() is potentially vulnerable. This includes all kernel releases before the introduction of the commit identified by the hash c1fc30bd4e55e2dd622d2d366cecd732c1841bbee.

Risk and Exploitability

The flaw carries a CVSS score of 7.8, classifying it as high severity. The EPSS score is less than 1 %, indicating a low but non-zero likelihood of exploitation. Because the attack requires local access to an AF_IUCV socket, the attack vector is inferred to be local. The vulnerability is not listed in the CISA KEV catalog and no public exploit is known. The crash produces a clear denial‑of‑service on the affected host, but does not leak data or alter system integrity.

Generated by OpenCVE AI on August 4, 2026 at 18:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the locking patch or a later merge that remedies the race condition.
  • If a kernel upgrade is not available, unload or disable the iucv kernel module, or otherwise block AF_IUCV socket creation so that no untrusted user can open the vulnerable socket.
  • Restrict which users or processes can create AF_IUCV sockets by adjusting SELinux/AppArmor profiles, Linux capabilities, or by limiting the iucv group membership.

Generated by OpenCVE AI on August 4, 2026 at 18:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net/iucv: fix locking in .getsockopt
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:38:04.824Z

Reserved: 2026-07-19T07:54:57.026Z

Link: CVE-2026-64004

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64004 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses