Back

HIGH

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

Published Aug 10, 2026

Description

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 products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (14)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Aug 10, 2026
Updated Aug 19, 2026
Reserved Jul 30, 2026
NVD
Status Received
Modified Aug 19, 2026
Red Hat
Severity Moderate
Public date Aug 10, 2026
ENISA EUVD
Assigner Linux
Published Aug 10, 2026
Updated Aug 19, 2026
Exploited since n/a
EUVD-2026-55583