CVE-2026-68397

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux3881ac441f642d56503818123446f7298442236b < 4dc0e63abf8bc7ba8892e617c1fb8b204361e022affected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 1801cb20a5025a787d6853e19c38db138344b4b4affected
LinuxLinux3881ac441f642d56503818123446f7298442236b < c75a950e77356e526672cba4584080c6c8b793b6affected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 5595ea59cdf29182cf6a270cacc1426c57b603deaffected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 4fa349156043dc119721d067329714179f501749affected
LinuxLinux3.2affected
LinuxLinux0 < 3.2unaffected
LinuxLinux6.6.148 <= 6.6.*unaffected
LinuxLinux6.12.101 <= 6.12.*unaffected
LinuxLinux6.18.42 <= 6.18.*unaffected
LinuxLinux7.1.6 <= 7.1.*unaffected
LinuxLinux7.2-rc4 <= *unaffected

Weaknesses

References