net/iucv: take a reference on the socket found in afiucv_hs_rcv()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.265, 5.15.216, 6.1.183, 6.12.101, 6.18.42, 6.6.148, 7.1.6
- CVEs
- CVE-2026-68397
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:28 UTC · Revision 1
Source evidence
net/iucv: take a reference on the socket found in afiucv_hs_rcv()
core-osv · Original sourcePublished 10 Aug 2026, 12:04 UTC
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.
osv:CVE-2026-68397
Kernel
Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
Complete source record
{
"id": "783870c17ed73638ec5e666c8c032d20d71085701a2cf897429d4d86eb6c1f5a",
"url": "https://osv.dev/vulnerability/CVE-2026-68397",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net/iucv: take a reference on the socket found in afiucv_hs_rcv()",
"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.",
"evidence": "osv:CVE-2026-68397",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.265",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.216",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.148",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.101",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.42",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-68397",
"aliases": [
"CVE-2026-68397"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3881ac441f642d56503818123446f7298442236b"
},
{
"fixed": "5739be5c19495d709d902a2912c9102ce78740d5"
},
{
"fixed": "bc6c6e546ffff8865daaeb622ef348c2d481e80f"
},
{
"fixed": "e3e0679fc950191aff8f27fa78abcfc2462cff4a"
},
{
"fixed": "4dc0e63abf8bc7ba8892e617c1fb8b204361e022"
},
{
"fixed": "1801cb20a5025a787d6853e19c38db138344b4b4"
},
{
"fixed": "c75a950e77356e526672cba4584080c6c8b793b6"
},
{
"fixed": "5595ea59cdf29182cf6a270cacc1426c57b603de"
},
{
"fixed": "4fa349156043dc119721d067329714179f501749"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68397.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "5.10.265"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.148"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.101"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.42"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68397.json"
}
}
],
"modified": "2026-10-28T02:30:30.819199614Z",
"provider": "osv",
"references": [
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68397.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-68397",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68397.json"
}
},
"related_cves": [
{
"value": "CVE-2026-68397",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497841,
"published_at": "2026-08-10T12:04:16.772+00:00"
}