CVE-2026-68140

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

State
Published
Severity
8.8 High
Published
Aug 10, 2026
Updated
Oct 19, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • f0703c80e5156406ad947cb67fe277725b48080f to before 5f08c5e50bcb4680069bd3f9edd5728308816dedAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before c24faf11bd31bfe0500aca12cbdd5a573a954a5dAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before 99ddb33748698296a6f17b9b34aa3d16a406bb3cAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before 23658b350b4107e8292045c2044983fd426fa15dAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before a5bbaddf69853117f28173c3f5c8fc14c6b2ec82Affected
  • f0703c80e5156406ad947cb67fe277725b48080f to before 900cd6d8119b7f3ae5c4bf82f922ff5957df43dbAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before f579582c03ed526281a8450159baf1d35099a85fAffected
  • f0703c80e5156406ad947cb67fe277725b48080f to before be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0aAffected
LinuxLinux
  • 2.6.24Affected
  • before 2.6.24Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.