{"id":"CVE-2023-53190","aliases":["CVE-2023-53190"],"related":[],"kind":"vulnerability","state":"published","title":"vxlan: Fix memory leaks in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: Fix memory leaks in error path\n\nThe memory allocated by vxlan_vnigroup_init() is not freed in the error\npath, leading to memory leaks [1]. Fix by calling\nvxlan_vnigroup_uninit() in the error path.\n\nThe leaks can be reproduced by annotating gro_cells_init() with\nALLOW_ERROR_INJECTION() and then running:\n\n # echo \"100\" > /sys/kernel/debug/fail_function/probability\n # echo \"1\" > /sys/kernel/debug/fail_function/times\n # echo \"gro_cells_init\" > /sys/kernel/debug/fail_function/inject\n # printf %#x -12 > /sys/kernel/debug/fail_function/gro_cells_init/retval\n # ip link add name vxlan0 type vxlan dstport 4789 external vnifilter\n RTNETLINK answers: Cannot allocate memory\n\n[1]\nunreferenced object 0xffff88810db84a00 (size 512):\n  comm \"ip\", pid 330, jiffies 4295010045 (age 66.016s)\n  hex dump (first 32 bytes):\n    f8 d5 76 0e 81 88 ff ff 01 00 00 00 00 00 00 02  ..v.............\n    03 00 04 00 48 00 00 00 00 00 00 01 04 00 01 00  ....H...........\n  backtrace:\n    [<ffffffff81a3097a>] kmalloc_trace+0x2a/0x60\n    [<ffffffff82f049fc>] vxlan_vnigroup_init+0x4c/0x160\n    [<ffffffff82ecd69e>] vxlan_init+0x1ae/0x280\n    [<ffffffff836858ca>] register_netdevice+0x57a/0x16d0\n    [<ffffffff82ef67b7>] __vxlan_dev_create+0x7c7/0xa50\n    [<ffffffff82ef6ce6>] vxlan_newlink+0xd6/0x130\n    [<ffffffff836d02ab>] __rtnl_newlink+0x112b/0x18a0\n    [<ffffffff836d0a8c>] rtnl_newlink+0x6c/0xa0\n    [<ffffffff836c0ddf>] rtnetlink_rcv_msg+0x43f/0xd40\n    [<ffffffff83908ce0>] netlink_rcv_skb+0x170/0x440\n    [<ffffffff839066af>] netlink_unicast+0x53f/0x810\n    [<ffffffff839072d8>] netlink_sendmsg+0x958/0xe70\n    [<ffffffff835c319f>] ____sys_sendmsg+0x78f/0xa90\n    [<ffffffff835cd6da>] ___sys_sendmsg+0x13a/0x1e0\n    [<ffffffff835cd94c>] __sys_sendmsg+0x11c/0x1f0\n    [<ffffffff8424da78>] do_syscall_64+0x38/0x80\nunreferenced object 0xffff88810e76d5f8 (size 192):\n  comm \"ip\", pid 330, jiffies 4295010045 (age 66.016s)\n  hex dump (first 32 bytes):\n    04 00 00 00 00 00 00 00 db e1 4f e7 00 00 00 00  ..........O.....\n    08 d6 76 0e 81 88 ff ff 08 d6 76 0e 81 88 ff ff  ..v.......v.....\n  backtrace:\n    [<ffffffff81a3162e>] __kmalloc_node+0x4e/0x90\n    [<ffffffff81a0e166>] kvmalloc_node+0xa6/0x1f0\n    [<ffffffff8276e1a3>] bucket_table_alloc.isra.0+0x83/0x460\n    [<ffffffff8276f18b>] rhashtable_init+0x43b/0x7c0\n    [<ffffffff82f04a1c>] vxlan_vnigroup_init+0x6c/0x160\n    [<ffffffff82ecd69e>] vxlan_init+0x1ae/0x280\n    [<ffffffff836858ca>] register_netdevice+0x57a/0x16d0\n    [<ffffffff82ef67b7>] __vxlan_dev_create+0x7c7/0xa50\n    [<ffffffff82ef6ce6>] vxlan_newlink+0xd6/0x130\n    [<ffffffff836d02ab>] __rtnl_newlink+0x112b/0x18a0\n    [<ffffffff836d0a8c>] rtnl_newlink+0x6c/0xa0\n    [<ffffffff836c0ddf>] rtnetlink_rcv_msg+0x43f/0xd40\n    [<ffffffff83908ce0>] netlink_rcv_skb+0x170/0x440\n    [<ffffffff839066af>] netlink_unicast+0x53f/0x810\n    [<ffffffff839072d8>] netlink_sendmsg+0x958/0xe70\n    [<ffffffff835c319f>] ____sys_sendmsg+0x78f/0xa90","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: Fix memory leaks in error path\n\nThe memory allocated by vxlan_vnigroup_init() is not freed in the error\npath, leading to memory leaks [1]. Fix by calling\nvxlan_vnigroup_uninit() in the error path.\n\nThe leaks can be reproduced by annotating gro_cells_init() with\nALLOW_ERROR_INJECTION() and then running:\n\n # echo \"100\" > /sys/kernel/debug/fail_function/probability\n # echo \"1\" > /sys/kernel/debug/fail_function/times\n # echo \"gro_cells_init\" > /sys/kernel/debug/fail_function/inject\n # printf %#x -12 > /sys/kernel/debug/fail_function/gro_cells_init/retval\n # ip link add name vxlan0 type vxlan dstport 4789 external vnifilter\n RTNETLINK answers: Cannot allocate memory\n\n[1]\nunreferenced object 0xffff88810db84a00 (size 512):\n  comm \"ip\", pid 330, jiffies 4295010045 (age 66.016s)\n  hex dump (first 32 bytes):\n    f8 d5 76 0e 81 88 ff ff 01 00 00 00 00 00 00 02  ..v.............\n    03 00 04 00 48 00 00 00 00 00 00 01 04 00 01 00  ....H...........\n  backtrace:\n    [<ffffffff81a3097a>] kmalloc_trace+0x2a/0x60\n    [<ffffffff82f049fc>] vxlan_vnigroup_init+0x4c/0x160\n    [<ffffffff82ecd69e>] vxlan_init+0x1ae/0x280\n    [<ffffffff836858ca>] register_netdevice+0x57a/0x16d0\n    [<ffffffff82ef67b7>] __vxlan_dev_create+0x7c7/0xa50\n    [<ffffffff82ef6ce6>] vxlan_newlink+0xd6/0x130\n    [<ffffffff836d02ab>] __rtnl_newlink+0x112b/0x18a0\n    [<ffffffff836d0a8c>] rtnl_newlink+0x6c/0xa0\n    [<ffffffff836c0ddf>] rtnetlink_rcv_msg+0x43f/0xd40\n    [<ffffffff83908ce0>] netlink_rcv_skb+0x170/0x440\n    [<ffffffff839066af>] netlink_unicast+0x53f/0x810\n    [<ffffffff839072d8>] netlink_sendmsg+0x958/0xe70\n    [<ffffffff835c319f>] ____sys_sendmsg+0x78f/0xa90\n    [<ffffffff835cd6da>] ___sys_sendmsg+0x13a/0x1e0\n    [<ffffffff835cd94c>] __sys_sendmsg+0x11c/0x1f0\n    [<ffffffff8424da78>] do_syscall_64+0x38/0x80\nunreferenced object 0xffff88810e76d5f8 (size 192):\n  comm \"ip\", pid 330, jiffies 4295010045 (age 66.016s)\n  hex dump (first 32 bytes):\n    04 00 00 00 00 00 00 00 db e1 4f e7 00 00 00 00  ..........O.....\n    08 d6 76 0e 81 88 ff ff 08 d6 76 0e 81 88 ff ff  ..v.......v.....\n  backtrace:\n    [<ffffffff81a3162e>] __kmalloc_node+0x4e/0x90\n    [<ffffffff81a0e166>] kvmalloc_node+0xa6/0x1f0\n    [<ffffffff8276e1a3>] bucket_table_alloc.isra.0+0x83/0x460\n    [<ffffffff8276f18b>] rhashtable_init+0x43b/0x7c0\n    [<ffffffff82f04a1c>] vxlan_vnigroup_init+0x6c/0x160\n    [<ffffffff82ecd69e>] vxlan_init+0x1ae/0x280\n    [<ffffffff836858ca>] register_netdevice+0x57a/0x16d0\n    [<ffffffff82ef67b7>] __vxlan_dev_create+0x7c7/0xa50\n    [<ffffffff82ef6ce6>] vxlan_newlink+0xd6/0x130\n    [<ffffffff836d02ab>] __rtnl_newlink+0x112b/0x18a0\n    [<ffffffff836d0a8c>] rtnl_newlink+0x6c/0xa0\n    [<ffffffff836c0ddf>] rtnetlink_rcv_msg+0x43f/0xd40\n    [<ffffffff83908ce0>] netlink_rcv_skb+0x170/0x440\n    [<ffffffff839066af>] netlink_unicast+0x53f/0x810\n    [<ffffffff839072d8>] netlink_sendmsg+0x958/0xe70\n    [<ffffffff835c319f>] ____sys_sendmsg+0x78f/0xa90","source":"cvelist"}],"published":"2025-09-15T14:06:19.139Z","modified":"2026-11-05T21:17:18.437Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f9c4bb0b245cee35ef66f75bf409c9573d934cf9","fixed":"75c1ab900f7cf0485f0be1607c79c55f51faaa90","status":"affected"},{"type":"git","introduced":"f9c4bb0b245cee35ef66f75bf409c9573d934cf9","fixed":"5896f55810680391a32652ca2b91245a05c11e22","status":"affected"},{"type":"git","introduced":"f9c4bb0b245cee35ef66f75bf409c9573d934cf9","fixed":"06bf62944144a92d83dd14fd1378d2a288259561","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.0.19","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.5","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"6.0.19"},{"status":"affected","introduced":"6.1","fixed":"6.1.5"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/75c1ab900f7cf0485f0be1607c79c55f51faaa90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5896f55810680391a32652ca2b91245a05c11e22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06bf62944144a92d83dd14fd1378d2a288259561","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:19:54.683Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53190","url":"https://www.cve.org/CVERecord?id=CVE-2023-53190","licence":"CVE Terms of Use","modified":"2026-11-05T20:21:06.725Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53190","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53190","licence":"Public domain","modified":"2026-11-05T21:17:18.437Z"}],"updatedAt":"2026-11-25T22:58:34.765Z","epss":{"score":0.00185,"percentile":0.08512,"date":"2026-12-01T12:00:22.000Z"}}