openvswitch: validate MPLS set/set_masked payload length
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 · < bd50c7484c3bb34097571c1334174fb8b7408036| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
openvswitch: validate MPLS set/set_masked payload length
validate_set() accepted OVS_KEY_ATTR_MPLS as variable-sized payload for SET/SET_MASKED actions. In action handling, OVS expects fixed-size MPLS key data (struct ovs_key_mpls).
Use the already normalized key_len (masked case included) and reject non-matching MPLS action key sizes.
Reject invalid MPLS action payload lengths early.
From the CVE record · Linux
The Linux kernel’s openvswitch validation accepted MPLS SET and SET_MASKED action payloads with lengths that did not match the fixed-size MPLS key expected during action handling. This could allow an attacker to submit a malformed MPLS action payload; the input does not specify the resulting impact or whether network access, authentication, or user interaction is required.
Operators running Linux kernels with openvswitch should check their versions; affected versions are not specified.