{"id":"CVE-2026-74630","aliases":["CVE-2026-74630"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: prevent in6_dev_get() from resurrecting inet6_dev","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: prevent in6_dev_get() from resurrecting inet6_dev\n\nin6_dev_get() reads dev->ip6_ptr under RCU and then unconditionally\nincrements its refcount. Device teardown can clear the pointer and drop\nthe last reference between these operations. The increment then\nresurrects an object whose RCU free has already been queued, so callers\ncan use it after it is freed.\n\nUse refcount_inc_not_zero() and return NULL when the object has already\nreached zero. RCU keeps the memory accessible through the attempted\nreference acquisition, and a successful increment pins the object for\nthe caller.\n\nAn independent run on the exact unpatched 6f5156d7a31a (v7.2-rc3)\nkernel reproduced the invalid reference acquisition as UID 1000:\n\n  refcount_t: addition on 0; use-after-free.\n  ip6_mc_source+0xef4/0x17e0\n\nIt was followed by the corresponding reference underflow in\nip6_mc_source(). The supplied trace from the same unpatched revision\nadditionally shows the access after the RCU read-side section ends:\n\n  BUG: KASAN: slab-use-after-free in mutex_lock+0x76/0xe0\n  Write of size 8 at addr ffff888015b50240 by task poc/1219\n\nBug found and triaged by OpenAI Security Research and\nvalidated by Trail of Bits.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: prevent in6_dev_get() from resurrecting inet6_dev\n\nin6_dev_get() reads dev->ip6_ptr under RCU and then unconditionally\nincrements its refcount. Device teardown can clear the pointer and drop\nthe last reference between these operations. The increment then\nresurrects an object whose RCU free has already been queued, so callers\ncan use it after it is freed.\n\nUse refcount_inc_not_zero() and return NULL when the object has already\nreached zero. RCU keeps the memory accessible through the attempted\nreference acquisition, and a successful increment pins the object for\nthe caller.\n\nAn independent run on the exact unpatched 6f5156d7a31a (v7.2-rc3)\nkernel reproduced the invalid reference acquisition as UID 1000:\n\n  refcount_t: addition on 0; use-after-free.\n  ip6_mc_source+0xef4/0x17e0\n\nIt was followed by the corresponding reference underflow in\nip6_mc_source(). The supplied trace from the same unpatched revision\nadditionally shows the access after the RCU read-side section ends:\n\n  BUG: KASAN: slab-use-after-free in mutex_lock+0x76/0xe0\n  Write of size 8 at addr ffff888015b50240 by task poc/1219\n\nBug found and triaged by OpenAI Security Research and\nvalidated by Trail of Bits.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nipv6: evitar que in6_dev_get() resucite inet6_dev\n\nin6_dev_get() lee dev -> ip6_ptr bajo RCU y luego incrementa incondicionalmente su refcount. La desinstalación del dispositivo puede borrar el puntero y eliminar la última referencia entre estas operaciones. El incremento entonces resucita un objeto cuya liberación RCU ya ha sido encolada, por lo que los llamadores pueden usarlo después de que sea liberado.\n\nUse refcount_inc_not_zero() y devuelva NULL cuando el objeto ya haya llegado a cero. RCU mantiene la memoria accesible a través de la adquisición de referencia intentada, y un incremento exitoso fija el objeto para el llamador.\n\nUna ejecución independiente en el kernel exacto sin parchear 6f5156d7a31a (v7.2-rc3) reprodujo la adquisición de referencia inválida como UID 1000:\n\n  refcount_t: adición en 0; uso después de liberación.\n  ip6_mc_source+0xef4/0x17e0\n\nFue seguido por el subdesbordamiento de referencia correspondiente en ip6_mc_source(). La traza proporcionada de la misma revisión sin parchear muestra adicionalmente el acceso después de que termina la sección de lectura de RCU:\n\n  BUG: KASAN: uso después de liberación de slab en mutex_lock+0x76/0xe0\n  Escritura de tamaño 8 en la dirección ffff888015b50240 por la tarea PoC/1219\n\nError encontrado y clasificado por OpenAI Security Research y validado por Trail of Bits.","source":"nvd"}],"published":"2026-08-22T15:32:11.596Z","modified":"2026-10-16T20:17:48.063Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"785d908f8d21c8bc78b6fb2c2932ab662bf6918a","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"aedcfefdb5b7ed7f8a6196a3e68a25bdbe51d2f8","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"145812b678de9f3b59780173be3c0d22ed60dd93","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"cc5bd568f9b7683e60841b6fd02c10d64535bd6e","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"1c206d461c680c3151daa3c89fc26eaf5bf98a7f","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"680fbd7942185448eadb990a3d10a53eb946b702","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"14e812ab41df0cac033479da835ec9a5de633404","status":"affected"},{"type":"git","introduced":"8814c4b533817df825485ff32ce6ac406c3a54d1","fixed":"0e243671bc7b8eaf00f83dd2f4367436dc0cff98","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.19","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/785d908f8d21c8bc78b6fb2c2932ab662bf6918a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aedcfefdb5b7ed7f8a6196a3e68a25bdbe51d2f8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/145812b678de9f3b59780173be3c0d22ed60dd93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc5bd568f9b7683e60841b6fd02c10d64535bd6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c206d461c680c3151daa3c89fc26eaf5bf98a7f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/680fbd7942185448eadb990a3d10a53eb946b702","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14e812ab41df0cac033479da835ec9a5de633404","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e243671bc7b8eaf00f83dd2f4367436dc0cff98","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:02:57.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74630","url":"https://www.cve.org/CVERecord?id=CVE-2026-74630","licence":"CVE Terms of Use","modified":"2026-10-16T19:06:03.622Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74630","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74630","licence":"Public domain","modified":"2026-10-16T20:17:48.063Z"}],"updatedAt":"2026-11-25T22:59:34.906Z","epss":{"score":0.00128,"percentile":0.02677,"date":"2026-12-01T12:00:22.000Z"}}