Skip to main content
← All vulnerabilities
CVE-2026-68141

net/af_iucv: fix NULL deref in afiucv_hs_callback_syn()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3881ac441f642d56503818123446f7298442236b · fixed in 6a1eb5b46c19073f8153b7e2c19b408cf353aaf1; From 3881ac441f642d56503818123446f7298442236b · fixed in c0b6e2ae90613c2fea7eaf3faa20985c6c2a1953; From 3881ac441f642d56503818123446f7298442236b · fixed in 07e21deb3664001995e0a456dd627ab7dbe127ec; From 3881ac441f642d56503818123446f7298442236b · fixed in 8bb111f87ded6acb9837ec9b45d6f02cda94c51f; From 3881ac441f642d56503818123446f7298442236b · fixed in 46453b16f38ec7147351f7447e2aec6ea330f7b3; From 3881ac441f642d56503818123446f7298442236b · fixed in 33736ff5e7c97d3348ce812e8bd2e125d840743c; From 3881ac441f642d56503818123446f7298442236b · fixed in 0e857185591fe79934427c9c0c1c31dc776be134; From 3881ac441f642d56503818123446f7298442236b · fixed in 47a5116e56a6b6fe1e909f244e39cd0fc26ceee4

  • Linux Linux

    3.2

  • KernelLinux

    From 3.2.0 · fixed in 5.10.265; From 5.11.0 · fixed in 5.15.216; From 5.16.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6

References 8

git.kernel.org