openvswitch: avoid reallocating confirmed conntrack labels
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c2ac667358708d7cce64c78f58af6adf4c1e848b · < d16f089bd700f45d720ce989d5495e1dc3be0cf8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
openvswitch: avoid reallocating confirmed conntrack labels
ovs_ct_get_conn_labels() adds the labels extension when a conntrack entry does not have one. Confirmed conntracks can be read locklessly, so adding an extension may reallocate and free the extension block while another CPU accesses it.
Only add the extension for unconfirmed conntracks. A confirmed conntrack without labels now fails the caller's label operation instead of reallocating its extension storage.
From the CVE record · Linux
Open vSwitch may reallocate and free a confirmed conntrack entry’s extension storage while another CPU reads it. This can occur when a label operation encounters a confirmed entry without labels; the input does not specify how an attacker could trigger it or whether authentication is required.
Engineers running Linux kernels with Open vSwitch should check their versions against the vendor advisory; affected versions are not specified.