CVE-2022-3028

Source
https://cve.org/CVERecord?id=CVE-2022-3028
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3028.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-3028
Downstream
ALSA (4)
AZL (1)
BELL (1)
CLSA (3)
DEBIAN (1)
MGASA (2)
OESA (3)
RHSA (5)
SUSE (16)
UBUNTU (1)
Related
Published
2022-08-31T00:00:00Z
Modified
2026-10-22T15:52:29Z
Summary
[none]
Details

A race condition was found in the Linux kernel's IP framework for transforming packets (XFRM subsystem) when multiple calls to xfrm_probe_algs occurred simultaneously. This flaw could allow a local attacker to potentially trigger an out-of-bounds write or leak kernel heap memory by performing an out-of-bounds read and copying it into a socket.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-667"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3028.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": "Fixed in kernel 6.0-rc3"
                },
                {
                    "last_affected": "Fixed in kernel 6.0-rc3"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "ba953a9d89a00c078b85f4b190bc1dde66fe16b5"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Fixed in kernel 6.*
Fixed in kernel 6.0-rc3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3028.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "42587898170240785244862521570080400260",
            "length": 728
        },
        "id": "CVE-2022-3028-01c8c957",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/ba953a9d89a00c078b85f4b190bc1dde66fe16b5",
        "target": {
            "file": "net/key/af_key.c",
            "function": "pfkey_register"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "203362748891142423608531699847482221659",
                "24165639575998487897530665472036786655",
                "4644214989902488476893742154780380563",
                "77501090310681261257112516847311482860",
                "147177710874407006680207049966535368107"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-3028-5a3767c1",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/ba953a9d89a00c078b85f4b190bc1dde66fe16b5",
        "target": {
            "file": "net/key/af_key.c"
        }
    }
]
vanir_signatures_modified
"2026-10-22T15:52:29Z"