{"id":"CVE-2026-97609","aliases":["CVE-2026-97609"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: cttimeout: prevent UAF during module unload","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: cttimeout: prevent UAF during module unload\n\nnf_ct_set_timeout() protects the timeout hook dereference and policy lookup\nwith rcu_read_lock(). cttimeout_exit(), however, unregisters the per-net\noperations before it clears the hook.\n\nThis allows the following interleaving:\n\n  CPU 0                              CPU 1\n  cttimeout_exit()                   nf_ct_set_timeout()\n    unregister_pernet_subsys()         rcu_read_lock()\n      kfree(pernet)                     h = nf_ct_timeout_hook\n                                        h->timeout_find_get()\n                                          nfct_timeout_pernet()\n\nThe hook still points to ctnl_timeout_find_get() when CPU 1 looks up the\nalready freed per-net timeout list. KASAN reported:\n\n  BUG: KASAN: slab-use-after-free in ctnl_timeout_find_get\n  Read of size 8 by task poc/90\n  Call Trace:\n   ctnl_timeout_find_get+0x271/0x2a0 [nfnetlink_cttimeout]\n   nf_ct_set_timeout+0x7b/0x3c0\n   xt_ct_tg_check+0x724/0xb20\n   xt_check_target+0x234/0xa90\n   do_ipt_set_ctl+0x570/0x1270\n  Allocated by task 89:\n   __kmalloc_noprof+0x16e/0x460\n   ops_init+0x6d/0x420\n   register_pernet_operations+0x2f6/0x670\n  Freed by task 91:\n   kfree+0x131/0x390\n   ops_undo_list+0x3d4/0x730\n   unregister_pernet_operations+0x232/0x490\n   unregister_pernet_subsys+0x1c/0x30\n   cttimeout_exit+0x52/0x970 [nfnetlink_cttimeout]\n\nClear the hook and wait for existing readers before unregistering the\nper-net operations. This blocks new policy lookups and ensures readers that\nobserved the hook finish before the per-net storage is freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: cttimeout: prevent UAF during module unload\n\nnf_ct_set_timeout() protects the timeout hook dereference and policy lookup\nwith rcu_read_lock(). cttimeout_exit(), however, unregisters the per-net\noperations before it clears the hook.\n\nThis allows the following interleaving:\n\n  CPU 0                              CPU 1\n  cttimeout_exit()                   nf_ct_set_timeout()\n    unregister_pernet_subsys()         rcu_read_lock()\n      kfree(pernet)                     h = nf_ct_timeout_hook\n                                        h->timeout_find_get()\n                                          nfct_timeout_pernet()\n\nThe hook still points to ctnl_timeout_find_get() when CPU 1 looks up the\nalready freed per-net timeout list. KASAN reported:\n\n  BUG: KASAN: slab-use-after-free in ctnl_timeout_find_get\n  Read of size 8 by task poc/90\n  Call Trace:\n   ctnl_timeout_find_get+0x271/0x2a0 [nfnetlink_cttimeout]\n   nf_ct_set_timeout+0x7b/0x3c0\n   xt_ct_tg_check+0x724/0xb20\n   xt_check_target+0x234/0xa90\n   do_ipt_set_ctl+0x570/0x1270\n  Allocated by task 89:\n   __kmalloc_noprof+0x16e/0x460\n   ops_init+0x6d/0x420\n   register_pernet_operations+0x2f6/0x670\n  Freed by task 91:\n   kfree+0x131/0x390\n   ops_undo_list+0x3d4/0x730\n   unregister_pernet_operations+0x232/0x490\n   unregister_pernet_subsys+0x1c/0x30\n   cttimeout_exit+0x52/0x970 [nfnetlink_cttimeout]\n\nClear the hook and wait for existing readers before unregistering the\nper-net operations. This blocks new policy lookups and ensures readers that\nobserved the hook finish before the per-net storage is freed.","source":"cvelist"}],"published":"2026-09-25T10:22:19.627Z","modified":"2026-10-30T13:21:09.487Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"763787e9d43982d1082b59caeabd317343b153ea","status":"affected"},{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"f664e06699829a31e95675a6864655a6c5f9904f","status":"affected"},{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"73f353bec62509c776184e49a031c6145cec0d05","status":"affected"},{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"a7fdd86c386b7f7cc72a126389c2cdb55d035221","status":"affected"},{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"1f69c570a73f2dedf75ea5166d47622d5fa958c1","status":"affected"},{"type":"git","introduced":"ebfbe67568a734a449203097b02c4ab884257535","fixed":"fec9b1de0d02de8dafa3cc344bcb91cf28660643","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/763787e9d43982d1082b59caeabd317343b153ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f664e06699829a31e95675a6864655a6c5f9904f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73f353bec62509c776184e49a031c6145cec0d05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7fdd86c386b7f7cc72a126389c2cdb55d035221","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f69c570a73f2dedf75ea5166d47622d5fa958c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fec9b1de0d02de8dafa3cc344bcb91cf28660643","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97609","url":"https://www.cve.org/CVERecord?id=CVE-2026-97609","licence":"CVE Terms of Use","modified":"2026-10-30T12:37:36.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97609","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97609","licence":"Public domain","modified":"2026-10-30T13:21:09.487Z"}],"updatedAt":"2026-11-25T22:59:40.976Z","epss":{"score":0.00145,"percentile":0.03998,"date":"2026-12-01T12:00:22.000Z"}}