An integer coercion error was found in the openvswitch kernel module. Given a sufficiently large number of actions, while copying and reserving memory for a new action of a new flow, the reserve_sfa_size() function does not return -EMSGSIZE as expected, potentially leading to an out-of-bounds write access. This flaw allows a local user to crash or potentially escalate their privileges on the system.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-192"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2639.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "kernel 5.18"
},
{
"last_affected": "kernel 5.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "cefa91b2332d7009bc0be5d951d6cbbf349f90f8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2639.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"65425590785192723994623587729074796049",
"71302186463290615025867454209150422709",
"279362120354327615894429077599479133076",
"332522869488065027272036854372203801210"
],
"threshold": 0.9
},
"id": "CVE-2022-2639-9d6196ce",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/cefa91b2332d7009bc0be5d951d6cbbf349f90f8",
"target": {
"file": "net/openvswitch/flow_netlink.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "30959647629553362889335068607156747230",
"length": 981
},
"id": "CVE-2022-2639-c1d2079a",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/cefa91b2332d7009bc0be5d951d6cbbf349f90f8",
"target": {
"file": "net/openvswitch/flow_netlink.c",
"function": "reserve_sfa_size"
}
}
]
"2026-10-22T15:53:16Z"