CVE-2026-68397

net/iucv: take a reference on the socket found in afiucv_hs_rcv()

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: take a reference on the socket found in afiucv_hs_rcv()

afiucv_hs_rcv() looks up the destination socket under iucv_sk_list.lock, drops the lock, and then passes the socket to the afiucv_hs_callback_*() handlers without holding a reference. AF_IUCV sockets are not RCU-protected and are freed synchronously by iucv_sock_kill() -> sock_put(), so a concurrent close can free the socket in the window between read_unlock() and the handler, which then dereferences freed memory (for example sk->sk_data_ready() in afiucv_hs_callback_syn()).

Take a reference with sock_hold() while the socket is still on the list and release it with sock_put() once the handler has run.

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
  • 3881ac441f642d56503818123446f7298442236b to before 5739be5c19495d709d902a2912c9102ce78740d5Affected
  • 3881ac441f642d56503818123446f7298442236b to before bc6c6e546ffff8865daaeb622ef348c2d481e80fAffected
  • 3881ac441f642d56503818123446f7298442236b to before e3e0679fc950191aff8f27fa78abcfc2462cff4aAffected
  • 3881ac441f642d56503818123446f7298442236b to before 4dc0e63abf8bc7ba8892e617c1fb8b204361e022Affected
  • 3881ac441f642d56503818123446f7298442236b to before 1801cb20a5025a787d6853e19c38db138344b4b4Affected
  • 3881ac441f642d56503818123446f7298442236b to before c75a950e77356e526672cba4584080c6c8b793b6Affected
  • 3881ac441f642d56503818123446f7298442236b to before 5595ea59cdf29182cf6a270cacc1426c57b603deAffected
  • 3881ac441f642d56503818123446f7298442236b to before 4fa349156043dc119721d067329714179f501749Affected
LinuxLinux
  • 3.2Affected
  • before 3.2Not 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.