net/iucv: take a reference on the socket found in afiucv_hs_rcv()
Published Aug 10, 2026
8.8
HIGHCVSS 3.1
EPSS 0.26%
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
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.2StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.2
- Version 5.10.265StatusunaffectedConstraints<=5.10.*
- Version 5.15.216StatusunaffectedConstraints<=5.15.*
- Version 6.1.183StatusunaffectedConstraints<=6.1.*
- Version 6.12.101StatusunaffectedConstraints<=6.12.*
- Version 6.18.42StatusunaffectedConstraints<=6.18.*
- Version 6.6.148StatusunaffectedConstraints<=6.6.*
- Version 7.1.6StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Affected
Red Hat Enterprise Linux 7
kernel-rt
Affected
Red Hat Enterprise Linux 8
kernel
Affected
Red Hat Enterprise Linux 8
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
Red Hat Enterprise Linux for NVIDIA 26
kernel
Not affected
Red Hat OpenShift Container Platform 4
openshift/ose-rhel-coreos-8
Not affected
Red Hat OpenShift Container Platform 4
openshift/ose-rhel-coreos-9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux for NVIDIA 26 | kernel | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2026-68397 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2513285 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-55583 Advisory
- https://git.kernel.org/stable/c/1801cb20a5025a787d6853e19c38db138344b4b4
- https://git.kernel.org/stable/c/4dc0e63abf8bc7ba8892e617c1fb8b204361e022
- https://git.kernel.org/stable/c/4fa349156043dc119721d067329714179f501749
- https://git.kernel.org/stable/c/5595ea59cdf29182cf6a270cacc1426c57b603de
- https://git.kernel.org/stable/c/5739be5c19495d709d902a2912c9102ce78740d5
- https://git.kernel.org/stable/c/bc6c6e546ffff8865daaeb622ef348c2d481e80f
- https://git.kernel.org/stable/c/c75a950e77356e526672cba4584080c6c8b793b6
- https://git.kernel.org/stable/c/e3e0679fc950191aff8f27fa78abcfc2462cff4a
- https://lore.kernel.org/linux-cve-announce/2026081047-CVE-2026-68397-3de9@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-68397
- https://www.cve.org/CVERecord?id=CVE-2026-68397
Change history (0)
No recorded changes yet.