CVE-2026-68141

Summary

In the Linux kernel, the following vulnerability has been resolved:

net/af_iucv: fix NULL deref in afiucv_hs_callback_syn()

afiucv_hs_callback_syn() allocates the child socket with GFP_ATOMIC. If the allocation fails, nsk is NULL.

The connection-refused path is entered when the listen state check fails, the accept backlog is full, or nsk is NULL. The code unconditionally calls iucv_sock_kill(nsk) in that path.

iucv_sock_kill() does not accept a NULL socket pointer and immediately dereferences sk via sock_flag(sk, SOCK_ZAPPED). When nsk is NULL, calling iucv_sock_kill(nsk) results in a NULL pointer dereference.

Only call iucv_sock_kill() when a child socket was successfully allocated.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux3881ac441f642d56503818123446f7298442236b < 8bb111f87ded6acb9837ec9b45d6f02cda94c51faffected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 46453b16f38ec7147351f7447e2aec6ea330f7b3affected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 33736ff5e7c97d3348ce812e8bd2e125d840743caffected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 0e857185591fe79934427c9c0c1c31dc776be134affected
LinuxLinux3881ac441f642d56503818123446f7298442236b < 47a5116e56a6b6fe1e909f244e39cd0fc26ceee4affected
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-rc5 <= *unaffected

Weaknesses

References