{"id":"CVE-2026-74615","aliases":["CVE-2026-74615"],"related":[],"kind":"vulnerability","state":"published","title":"vxlan: do not arm the ageing timer on a device that is down","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: do not arm the ageing timer on a device that is down\n\nvxlan_changelink() arms vxlan->age_timer whenever the requested ageing\ninterval differs from the configured one:\n\n\tif (conf.age_interval != vxlan->cfg.age_interval)\n\t\tmod_timer(&vxlan->age_timer, jiffies);\n\nThere is no netif_running() test, so the timer is armed even on a device\nthat was never brought up.  The only synchronous cancel in the driver is\nthe timer_delete_sync() in vxlan_stop(), which is .ndo_stop.\nnetif_close_many() drops devices without IFF_UP before\n__dev_close_many() runs, so that cancel is skipped for such a device.\n\nvxlan_setup() sets dev->needs_free_netdev = true and age_timer is a\nmember of struct vxlan_dev, so free_netdev() releases the allocation the\ntimer lives in while it is still queued on a timer_base.\nexpire_timers() unlinks the entry before it loads timer->function, so\nthe timer core writes through the freed object's list pointers:\n\n  BUG: KASAN: slab-use-after-free in __run_timers+0x208/0x654\n  Write of size 8 at addr ffff00001adace68 by task true/192\n   __asan_store8+0x84/0xac\n   __run_timers+0x208/0x654\n   run_timer_softirq+0x154/0x18c\n  Allocated by task 189:\n   alloc_netdev_mqs+0x64/0x720\n   rtnl_create_link+0x4ac/0x520\n   rtnl_newlink+0x758/0xd00\n  Freed by task 191:\n   netdev_release+0x40/0x58\n   netdev_run_todo+0x4a4/0x8c0\n   rtnl_dellink+0x200/0x4e8\n\nThe rtnl operations involved are netns-scoped, so an unprivileged user\ncan perform them in a new user and network namespace.\n\nArming the timer on a down device never had an effect: vxlan_cleanup()\nreturns early on !netif_running(), and vxlan_open() arms the timer for\nany non-zero interval once the device is brought up.  Add the missing\ntest.\n\nDiscovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: do not arm the ageing timer on a device that is down\n\nvxlan_changelink() arms vxlan->age_timer whenever the requested ageing\ninterval differs from the configured one:\n\n\tif (conf.age_interval != vxlan->cfg.age_interval)\n\t\tmod_timer(&vxlan->age_timer, jiffies);\n\nThere is no netif_running() test, so the timer is armed even on a device\nthat was never brought up.  The only synchronous cancel in the driver is\nthe timer_delete_sync() in vxlan_stop(), which is .ndo_stop.\nnetif_close_many() drops devices without IFF_UP before\n__dev_close_many() runs, so that cancel is skipped for such a device.\n\nvxlan_setup() sets dev->needs_free_netdev = true and age_timer is a\nmember of struct vxlan_dev, so free_netdev() releases the allocation the\ntimer lives in while it is still queued on a timer_base.\nexpire_timers() unlinks the entry before it loads timer->function, so\nthe timer core writes through the freed object's list pointers:\n\n  BUG: KASAN: slab-use-after-free in __run_timers+0x208/0x654\n  Write of size 8 at addr ffff00001adace68 by task true/192\n   __asan_store8+0x84/0xac\n   __run_timers+0x208/0x654\n   run_timer_softirq+0x154/0x18c\n  Allocated by task 189:\n   alloc_netdev_mqs+0x64/0x720\n   rtnl_create_link+0x4ac/0x520\n   rtnl_newlink+0x758/0xd00\n  Freed by task 191:\n   netdev_release+0x40/0x58\n   netdev_run_todo+0x4a4/0x8c0\n   rtnl_dellink+0x200/0x4e8\n\nThe rtnl operations involved are netns-scoped, so an unprivileged user\ncan perform them in a new user and network namespace.\n\nArming the timer on a down device never had an effect: vxlan_cleanup()\nreturns early on !netif_running(), and vxlan_open() arms the timer for\nany non-zero interval once the device is brought up.  Add the missing\ntest.\n\nDiscovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvxlan: no activar el temporizador de envejecimiento en un dispositivo que está inactivo\n\nvxlan_changelink() activa vxlan -> age_timer siempre que el intervalo de envejecimiento solicitado difiera del configurado:\n\n\tif (conf.age_interval != vxlan -> cfg.age_interval)\n\t\tmod_timer(&vxlan -> age_timer, jiffies);\n\nNo hay una prueba netif_running(), por lo que el temporizador se activa incluso en un dispositivo que nunca se inició. La única cancelación síncrona en el controlador es timer_delete_sync() en vxlan_stop(), que es .ndo_stop. netif_close_many() descarta dispositivos sin IFF_UP antes de que se ejecute __dev_close_many(), por lo que esa cancelación se omite para dicho dispositivo.\n\nvxlan_setup() establece dev -> needs_free_netdev = true y age_timer es un miembro de struct vxlan_dev, por lo que free_netdev() libera la asignación en la que reside el temporizador mientras aún está en cola en una timer_base. expire_timers() desvincula la entrada antes de que cargue timer -> function, por lo que el núcleo del temporizador escribe a través de los punteros de lista del objeto liberado:\n\n  ERROR: KASAN: uso después de liberación de slab en __run_timers+0x208/0x654\n  Escritura de tamaño 8 en la dirección ffff00001adace68 por la tarea true/192\n   __asan_store8+0x84/0xac\n   __run_timers+0x208/0x654\n   run_timer_softirq+0x154/0x18c\n  Asignado por la tarea 189:\n   alloc_netdev_mqs+0x64/0x720\n   rtnl_create_link+0x4ac/0x520\n   rtnl_newlink+0x758/0xd00\n  Liberado por la tarea 191:\n   netdev_release+0x40/0x58\n   netdev_run_todo+0x4a4/0x8c0\n   rtnl_dellink+0x200/0x4e8\n\nLas operaciones rtnl involucradas tienen alcance netns, por lo que un usuario sin privilegios puede realizarlas en un nuevo espacio de nombres de usuario y de red.\n\nActivar el temporizador en un dispositivo inactivo nunca tuvo efecto: vxlan_cleanup() retorna anticipadamente en !netif_running(), y vxlan_open() activa el temporizador para cualquier intervalo distinto de cero una vez que el dispositivo se inicia. Añadir la prueba que falta.\n\nDescubierto por XBOW, clasificado por Baul Lee <baul.lee@xbow.com>","source":"nvd"}],"published":"2026-08-22T15:32:00.588Z","modified":"2026-10-16T20:17:46.847Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"be44d79d14d7f9ae7c8ffb7272142005341b5123","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"26c179d47403d2f919ee914cc02c31d896b59fee","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"9dc561f0522c35bdd66e0646a748814a138ec4ca","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"619dd29045e439d0b0f8c6d4fec1af447a050680","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"6b095e99b9e67ea31f0c4b00260e010898253519","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"46bb297ad77680e009244f067f27d51cf5b8c7cf","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"6b4119af544996a545cf84b16f1dbce829ba0de8","status":"affected"},{"type":"git","introduced":"40051c4dcad5b374156ad9cceae8d15c0ef1cb95","fixed":"b37971686ec59fb027fa4910ba16805e68fddb97","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","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/be44d79d14d7f9ae7c8ffb7272142005341b5123","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26c179d47403d2f919ee914cc02c31d896b59fee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9dc561f0522c35bdd66e0646a748814a138ec4ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/619dd29045e439d0b0f8c6d4fec1af447a050680","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b095e99b9e67ea31f0c4b00260e010898253519","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46bb297ad77680e009244f067f27d51cf5b8c7cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b4119af544996a545cf84b16f1dbce829ba0de8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b37971686ec59fb027fa4910ba16805e68fddb97","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:02:29.628Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74615","url":"https://www.cve.org/CVERecord?id=CVE-2026-74615","licence":"CVE Terms of Use","modified":"2026-10-16T19:06:02.032Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74615","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74615","licence":"Public domain","modified":"2026-10-16T20:17:46.847Z"}],"updatedAt":"2026-11-25T22:59:34.899Z","epss":{"score":0.00126,"percentile":0.02433,"date":"2026-12-01T12:00:22.000Z"}}