CVE-2026-68140 PUBLISHED

net/iucv: fix use-after-free of a severed iucv_path

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

In the Linux kernel, the following vulnerability has been resolved:

net/iucv: fix use-after-free of a severed iucv_path

af_iucv queues not-yet-received message notifications on iucv->message_q, each holding a raw pointer to the connection's iucv_path. When the peer severs the connection, iucv_sever_path() frees that path with iucv_path_free() but leaves the notifications queued. A later recvmsg() drains message_q via iucv_process_message_q() and hands the stale path to message_receive() -- a use-after-free of the freed iucv_path.

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f0703c80e5156406ad947cb67fe277725b48080f to 23658b350b4107e8292045c2044983fd426fa15d (excl.)
  • affected from f0703c80e5156406ad947cb67fe277725b48080f to a5bbaddf69853117f28173c3f5c8fc14c6b2ec82 (excl.)
  • affected from f0703c80e5156406ad947cb67fe277725b48080f to 900cd6d8119b7f3ae5c4bf82f922ff5957df43db (excl.)
  • affected from f0703c80e5156406ad947cb67fe277725b48080f to f579582c03ed526281a8450159baf1d35099a85f (excl.)
  • affected from f0703c80e5156406ad947cb67fe277725b48080f to be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.24 is affected
  • unaffected from 0 to 2.6.24 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References