{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49331",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-02-26T02:08:31.538Z",
        "datePublished": "2025-02-26T02:10:51.040Z",
        "dateUpdated": "2026-05-11T18:57:37.837Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T18:57:37.837Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling\n\nError paths do not free previously allocated memory. Add devm_kfree() to\nthose failure paths."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nfc/st21nfca/se.c"
                    ],
                    "versions": [
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "593773088d615a46a42c97e01a0550d192bb7f74",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "d221ce54ce331c1a23be71eebf57f6a088632383",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "6fce324b530dd74750ad870699e33eeed1029ded",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "3eca2c42daa4659965db6817479027cbc6df7899",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "54423649bc0ed464b75807a7cf2857a5871f738f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "f444ecd3f57f4ba5090fe8b6756933e37de4226e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "db836b97464d44340b568e041fd24602858713f7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "55904086041ba4ee4070187b36590f8f8d6df4cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "26fc6c7f02cb26c39c4733de3dbc3c0646fc1074",
                            "lessThan": "996419e0594abb311fb958553809f24f38e7abbe",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nfc/st21nfca/se.c"
                    ],
                    "versions": [
                        {
                            "version": "4.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.318",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.283",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.247",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.198",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.122",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.47",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.15",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.4",
                            "lessThanOrEqual": "5.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "4.9.318"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "4.14.283"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "4.19.247"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.4.198"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.10.122"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.15.47"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.17.15"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.18.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/593773088d615a46a42c97e01a0550d192bb7f74"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d221ce54ce331c1a23be71eebf57f6a088632383"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6fce324b530dd74750ad870699e33eeed1029ded"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3eca2c42daa4659965db6817479027cbc6df7899"
                },
                {
                    "url": "https://git.kernel.org/stable/c/54423649bc0ed464b75807a7cf2857a5871f738f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f444ecd3f57f4ba5090fe8b6756933e37de4226e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/db836b97464d44340b568e041fd24602858713f7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/55904086041ba4ee4070187b36590f8f8d6df4cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/996419e0594abb311fb958553809f24f38e7abbe"
                }
            ],
            "title": "nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-49331",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T19:43:19.500104Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-401",
                                "description": "CWE-401 Missing Release of Memory after Effective Lifetime"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T19:46:55.618Z"
                }
            }
        ]
    }
}