# CVE-2023-53190: vxlan: Fix memory leaks in error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-09-15T14:06:19.139Z
- **Modified:** 2026-11-05T21:17:18.437Z

## Who should check

- Anyone running Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 75c1ab900f7cf0485f0be1607c79c55f51faaa90; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5896f55810680391a32652ca2b91245a05c11e22; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 06bf62944144a92d83dd14fd1378d2a288259561
- Anyone running Linux 5.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

vxlan: Fix memory leaks in error path

The memory allocated by vxlan\_vnigroup\_init() is not freed in the error
path, leading to memory leaks \[1\]. Fix by calling
vxlan\_vnigroup\_uninit() in the error path.

The leaks can be reproduced by annotating gro\_cells\_init() with
ALLOW\_ERROR\_INJECTION() and then running:

 \# echo "100" \> /sys/kernel/debug/fail\_function/probability
 \# echo "1" \> /sys/kernel/debug/fail\_function/times
 \# echo "gro\_cells\_init" \> /sys/kernel/debug/fail\_function/inject
 \# printf %\#x -12 \> /sys/kernel/debug/fail\_function/gro\_cells\_init/retval
 \# ip link add name vxlan0 type vxlan dstport 4789 external vnifilter
 RTNETLINK answers: Cannot allocate memory

\[1\]
unreferenced object 0xffff88810db84a00 (size 512):
  comm "ip", pid 330, jiffies 4295010045 (age 66.016s)
  hex dump (first 32 bytes):
    f8 d5 76 0e 81 88 ff ff 01 00 00 00 00 00 00 02  ..v.............
    03 00 04 00 48 00 00 00 00 00 00 01 04 00 01 00  ....H...........
  backtrace:
    \[\<ffffffff81a3097a\>\] kmalloc\_trace+0x2a/0x60
    \[\<ffffffff82f049fc\>\] vxlan\_vnigroup\_init+0x4c/0x160
    \[\<ffffffff82ecd69e\>\] vxlan\_init+0x1ae/0x280
    \[\<ffffffff836858ca\>\] register\_netdevice+0x57a/0x16d0
    \[\<ffffffff82ef67b7\>\] \_\_vxlan\_dev\_create+0x7c7/0xa50
    \[\<ffffffff82ef6ce6\>\] vxlan\_newlink+0xd6/0x130
    \[\<ffffffff836d02ab\>\] \_\_rtnl\_newlink+0x112b/0x18a0
    \[\<ffffffff836d0a8c\>\] rtnl\_newlink+0x6c/0xa0
    \[\<ffffffff836c0ddf\>\] rtnetlink\_rcv\_msg+0x43f/0xd40
    \[\<ffffffff83908ce0\>\] netlink\_rcv\_skb+0x170/0x440
    \[\<ffffffff839066af\>\] netlink\_unicast+0x53f/0x810
    \[\<ffffffff839072d8\>\] netlink\_sendmsg+0x958/0xe70
    \[\<ffffffff835c319f\>\] \_\_\_\_sys\_sendmsg+0x78f/0xa90
    \[\<ffffffff835cd6da\>\] \_\_\_sys\_sendmsg+0x13a/0x1e0
    \[\<ffffffff835cd94c\>\] \_\_sys\_sendmsg+0x11c/0x1f0
    \[\<ffffffff8424da78\>\] do\_syscall\_64+0x38/0x80
unreferenced object 0xffff88810e76d5f8 (size 192):
  comm "ip", pid 330, jiffies 4295010045 (age 66.016s)
  hex dump (first 32 bytes):
    04 00 00 00 00 00 00 00 db e1 4f e7 00 00 00 00  ..........O.....
    08 d6 76 0e 81 88 ff ff 08 d6 76 0e 81 88 ff ff  ..v.......v.....
  backtrace:
    \[\<ffffffff81a3162e\>\] \_\_kmalloc\_node+0x4e/0x90
    \[\<ffffffff81a0e166\>\] kvmalloc\_node+0xa6/0x1f0
    \[\<ffffffff8276e1a3\>\] bucket\_table\_alloc.isra.0+0x83/0x460
    \[\<ffffffff8276f18b\>\] rhashtable\_init+0x43b/0x7c0
    \[\<ffffffff82f04a1c\>\] vxlan\_vnigroup\_init+0x6c/0x160
    \[\<ffffffff82ecd69e\>\] vxlan\_init+0x1ae/0x280
    \[\<ffffffff836858ca\>\] register\_netdevice+0x57a/0x16d0
    \[\<ffffffff82ef67b7\>\] \_\_vxlan\_dev\_create+0x7c7/0xa50
    \[\<ffffffff82ef6ce6\>\] vxlan\_newlink+0xd6/0x130
    \[\<ffffffff836d02ab\>\] \_\_rtnl\_newlink+0x112b/0x18a0
    \[\<ffffffff836d0a8c\>\] rtnl\_newlink+0x6c/0xa0
    \[\<ffffffff836c0ddf\>\] rtnetlink\_rcv\_msg+0x43f/0xd40
    \[\<ffffffff83908ce0\>\] netlink\_rcv\_skb+0x170/0x440
    \[\<ffffffff839066af\>\] netlink\_unicast+0x53f/0x810
    \[\<ffffffff839072d8\>\] netlink\_sendmsg+0x958/0xe70
    \[\<ffffffff835c319f\>\] \_\_\_\_sys\_sendmsg+0x78f/0xa90

## Affected and fixed versions

- Linux: \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 75c1ab900f7cf0485f0be1607c79c55f51faaa90; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5896f55810680391a32652ca2b91245a05c11e22; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 06bf62944144a92d83dd14fd1378d2a288259561 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 06bf62944144a92d83dd14fd1378d2a288259561 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53190. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53190.md
Affected: Linux >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 75c1ab900f7cf0485f0be1607c79c55f51faaa90; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 5896f55810680391a32652ca2b91245a05c11e22; >= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, < 06bf62944144a92d83dd14fd1378d2a288259561; Linux 5.18
Fixed in: Linux 75c1ab900f7cf0485f0be1607c79c55f51faaa90, Linux 5896f55810680391a32652ca2b91245a05c11e22, Linux 06bf62944144a92d83dd14fd1378d2a288259561

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53190 being exploited?

There is no confirmed exploitation: CVE-2023-53190 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53190?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53190?

Linux \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 75c1ab900f7cf0485f0be1607c79c55f51faaa90; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 5896f55810680391a32652ca2b91245a05c11e22; \>= f9c4bb0b245cee35ef66f75bf409c9573d934cf9, \< 06bf62944144a92d83dd14fd1378d2a288259561; Linux 5.18.

### Is there a fix for CVE-2023-53190?

Yes. Fixed in Linux 75c1ab900f7cf0485f0be1607c79c55f51faaa90, Linux 5896f55810680391a32652ca2b91245a05c11e22, Linux 06bf62944144a92d83dd14fd1378d2a288259561. Upgrade Linux to 06bf62944144a92d83dd14fd1378d2a288259561 or later.

### How do I check if I'm affected by CVE-2023-53190?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/75c1ab900f7cf0485f0be1607c79c55f51faaa90>
- patch: <https://git.kernel.org/stable/c/5896f55810680391a32652ca2b91245a05c11e22>
- patch: <https://git.kernel.org/stable/c/06bf62944144a92d83dd14fd1378d2a288259561>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53190>

HTML: <https://flawdb.com/CVE-2023-53190> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53190>
