vxlan: validate ND option lengths in vxlan_na_create
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4b29dba9c085a4fb79058fb1c45a2f6257ca3dfa · < eddfce70a6f3107d1679b0c2fcbeb96b593bd679| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
vxlan: validate ND option lengths in vxlan_na_create
vxlan_na_create() walks ND options according to option-provided lengths. A malformed option can make the parser advance beyond the computed option span or use a too-short source LLADDR option payload.
Validate option lengths against the remaining NS option area before advancing, and only read source LLADDR when the option is large enough for an Ethernet address.
From the CVE record · Linux
The Linux kernel's vxlan_na_create() does not adequately validate Neighbor Discovery option lengths. When it processes a malformed Neighbor Solicitation option, the parser can advance beyond the computed option span or read a source link-layer address from a payload that is too short. The input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel should check whether their kernel includes the affected vxlan_na_create() code; affected versions are not specified.