cve-2022-49923
Vulnerability from cvelistv5
Published
2025-05-01 14:11
Modified
2025-05-04 08:48
Severity ?
EPSS score ?
Summary
nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
References
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/nfc/nxp-nci/core.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb", "status": "affected", "version": "dece45855a8b0d1dcf48eb01d0822070ded6a4c8", "versionType": "git" }, { "lessThan": "3cba1f061bfe23fece2841129ca2862cdec29d5c", "status": "affected", "version": "dece45855a8b0d1dcf48eb01d0822070ded6a4c8", "versionType": "git" }, { "lessThan": "3ecf0f4227029b2c42e036b10ff6e5d09e20821e", "status": "affected", "version": "dece45855a8b0d1dcf48eb01d0822070ded6a4c8", "versionType": "git" }, { "lessThan": "7bf1ed6aff0f70434bd0cdd45495e83f1dffb551", "status": "affected", "version": "dece45855a8b0d1dcf48eb01d0822070ded6a4c8", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/nfc/nxp-nci/core.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.1" }, { "lessThan": "4.1", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.154", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.78", "versionType": "semver" }, { "lessThanOrEqual": "6.0.*", "status": "unaffected", "version": "6.0.8", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.1", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.154", "versionStartIncluding": "4.1", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15.78", "versionStartIncluding": "4.1", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.0.8", "versionStartIncluding": "4.1", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1", "versionStartIncluding": "4.1", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nxp-nci: Fix potential memory leak in nxp_nci_send()\n\nnxp_nci_send() will call nxp_nci_i2c_write(), and only free skb when\nnxp_nci_i2c_write() failed. However, even if the nxp_nci_i2c_write()\nrun succeeds, the skb will not be freed in nxp_nci_i2c_write(). As the\nresult, the skb will memleak. nxp_nci_send() should also free the skb\nwhen nxp_nci_i2c_write() succeeds." } ], "providerMetadata": { "dateUpdated": "2025-05-04T08:48:52.582Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb" }, { "url": "https://git.kernel.org/stable/c/3cba1f061bfe23fece2841129ca2862cdec29d5c" }, { "url": "https://git.kernel.org/stable/c/3ecf0f4227029b2c42e036b10ff6e5d09e20821e" }, { "url": "https://git.kernel.org/stable/c/7bf1ed6aff0f70434bd0cdd45495e83f1dffb551" } ], "title": "nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2022-49923", "datePublished": "2025-05-01T14:11:02.652Z", "dateReserved": "2025-05-01T14:05:17.252Z", "dateUpdated": "2025-05-04T08:48:52.582Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-49923\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-01T15:16:17.900\",\"lastModified\":\"2025-05-02T13:52:51.693\",\"vulnStatus\":\"Undergoing Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfc: nxp-nci: Fix potential memory leak in nxp_nci_send()\\n\\nnxp_nci_send() will call nxp_nci_i2c_write(), and only free skb when\\nnxp_nci_i2c_write() failed. However, even if the nxp_nci_i2c_write()\\nrun succeeds, the skb will not be freed in nxp_nci_i2c_write(). As the\\nresult, the skb will memleak. nxp_nci_send() should also free the skb\\nwhen nxp_nci_i2c_write() succeeds.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: nxp-nci: Se corrige una posible fuga de memoria en nxp_nci_send(). nxp_nci_send() llamar\u00e1 a nxp_nci_i2c_write() y solo liberar\u00e1 skb cuando nxp_nci_i2c_write() falle. Sin embargo, incluso si la ejecuci\u00f3n de nxp_nci_i2c_write() tiene \u00e9xito, skb no se liberar\u00e1 en nxp_nci_i2c_write(). Como resultado, skb sufrir\u00e1 una fuga de memoria. nxp_nci_send() tambi\u00e9n deber\u00eda liberar skb cuando nxp_nci_i2c_write() tenga \u00e9xito.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3cba1f061bfe23fece2841129ca2862cdec29d5c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3ecf0f4227029b2c42e036b10ff6e5d09e20821e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7bf1ed6aff0f70434bd0cdd45495e83f1dffb551\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.