{"id":"CVE-2026-68140","summary":"net/iucv: fix use-after-free of a severed iucv_path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/iucv: fix use-after-free of a severed iucv_path\n\naf_iucv queues not-yet-received message notifications on iucv-\u003emessage_q,\neach holding a raw pointer to the connection's iucv_path.  When the peer\nsevers the connection, iucv_sever_path() frees that path with\niucv_path_free() but leaves the notifications queued.  A later recvmsg()\ndrains message_q via iucv_process_message_q() and hands the stale path to\nmessage_receive() -- a use-after-free of the freed iucv_path.\n\nDrop the queued notifications when the path is severed; once the path is\ngone they can no longer be received.  This also frees the notifications\nleaked when a socket is closed with messages still queued.","modified":"2026-08-21T03:30:35.639972485Z","published":"2026-08-10T11:59:03.761Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68140.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/23658b350b4107e8292045c2044983fd426fa15d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f08c5e50bcb4680069bd3f9edd5728308816ded"},{"type":"WEB","url":"https://git.kernel.org/stable/c/900cd6d8119b7f3ae5c4bf82f922ff5957df43db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99ddb33748698296a6f17b9b34aa3d16a406bb3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5bbaddf69853117f28173c3f5c8fc14c6b2ec82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c24faf11bd31bfe0500aca12cbdd5a573a954a5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f579582c03ed526281a8450159baf1d35099a85f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68140.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68140"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f0703c80e5156406ad947cb67fe277725b48080f"},{"fixed":"5f08c5e50bcb4680069bd3f9edd5728308816ded"},{"fixed":"c24faf11bd31bfe0500aca12cbdd5a573a954a5d"},{"fixed":"99ddb33748698296a6f17b9b34aa3d16a406bb3c"},{"fixed":"23658b350b4107e8292045c2044983fd426fa15d"},{"fixed":"a5bbaddf69853117f28173c3f5c8fc14c6b2ec82"},{"fixed":"900cd6d8119b7f3ae5c4bf82f922ff5957df43db"},{"fixed":"f579582c03ed526281a8450159baf1d35099a85f"},{"fixed":"be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68140.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.24"},{"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68140.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}