CVE-2022-2639

Source
https://cve.org/CVERecord?id=CVE-2022-2639
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2639.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-2639
Downstream
ALSA (4)
BELL (1)
CLSA (7)
DEBIAN (1)
OESA (2)
RHSA (17)
RLSA (2)
SUSE (15)
UBUNTU (1)
Related
Published
2022-09-01T20:32:54Z
Modified
2026-10-28T10:27:42Z
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-192"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2639.json"
}
References

Affected packages

Git / github.com/torvalds/linux

Affected ranges

Type
GIT
Repo
https://github.com/torvalds/linux
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "kernel 5.18"
                },
                {
                    "last_affected":  "kernel 5.18"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "cefa91b2332d7009bc0be5d951d6cbbf349f90f8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

kernel 5.*
kernel 5.18

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2639.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:27:42Z"