CVE-2026-68140: net/iucv: fix use-after-free of a severed iucv_path
In the Linux kernel, the following vulnerability has been resolved:
net/iucv: fix use-after-free of a severed iucvpath
afiucv queues not-yet-received message notifications on iucv->messageq, each holding a raw pointer to the connection's iucvpath. When the peer severs the connection, iucvseverpath() frees that path with iucvpathfree() but leaves the notifications queued. A later recvmsg() drains messageq via iucvprocessmessageq() and hands the stale path to messagereceive() -- a use-after-free of the freed iucvpath.
Drop the queued notifications when the path is severed; once the path is gone they can no longer be received. This also frees the notifications leaked when a socket is closed with messages still queued.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68140?
CVE-2026-68140 has a risk rating of 34, indicating a moderate level of severity.
What type of vulnerability is associated with CVE-2026-68140?
CVE-2026-68140 is categorized as a Use After Free vulnerability.
How does CVE-2026-68140 impact the Linux kernel?
CVE-2026-68140 allows for a use-after-free situation when a severed iucv_path leads to potential memory corruption.
How do I fix CVE-2026-68140?
Fixing CVE-2026-68140 involves updating the Linux kernel to the latest version where the vulnerability has been addressed.
What systems are affected by CVE-2026-68140?
CVE-2026-68140 affects systems running vulnerable versions of the Linux kernel with the net/iucv component.