Bug 2502441 (CVE-2026-64004) - CVE-2026-64004 kernel: net/iucv: fix locking in .getsockopt
Summary: CVE-2026-64004 kernel: net/iucv: fix locking in .getsockopt
Keywords:
Status: NEW
Alias: CVE-2026-64004
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 16:08 UTC by OSIDB Bzimport
Modified: 2026-07-21 15:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-19 16:08:19 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-21 15:02:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026071907-CVE-2026-64004-7455@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.