In the Linux kernel, the following vulnerability has been resolved:
nfc: nxp-nci: Fix potential memory leak in nxpncisend()
nxpncisend() will call nxpncii2cwrite(), and only free skb when nxpncii2cwrite() failed. However, even if the nxpncii2cwrite() run succeeds, the skb will not be freed in nxpncii2cwrite(). As the result, the skb will memleak. nxpncisend() should also free the skb when nxpncii2c_write() succeeds.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49923.json"
}[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49923-00d0574c",
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"262808448057039156573654804736650142645",
"29053014413179093890874218497010659620"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ecf0f4227029b2c42e036b10ff6e5d09e20821e"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49923-0c59a82c",
"target": {
"file": "drivers/nfc/nxp-nci/core.c",
"function": "nxp_nci_send"
},
"digest": {
"length": 325.0,
"function_hash": "290335426593098080809380237179527118211"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ecf0f4227029b2c42e036b10ff6e5d09e20821e"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49923-3095cbab",
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"99424212004060352676056481415905670179",
"271369479635852387556749849676250421919"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cba1f061bfe23fece2841129ca2862cdec29d5c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49923-645cb68b",
"target": {
"file": "drivers/nfc/nxp-nci/core.c",
"function": "nxp_nci_send"
},
"digest": {
"length": 325.0,
"function_hash": "290335426593098080809380237179527118211"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cba1f061bfe23fece2841129ca2862cdec29d5c"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49923-83d3de2b",
"target": {
"file": "drivers/nfc/nxp-nci/core.c",
"function": "nxp_nci_send"
},
"digest": {
"length": 325.0,
"function_hash": "290335426593098080809380237179527118211"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49923-8e2ca1bb",
"target": {
"file": "drivers/nfc/nxp-nci/core.c",
"function": "nxp_nci_send"
},
"digest": {
"length": 325.0,
"function_hash": "290335426593098080809380237179527118211"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bf1ed6aff0f70434bd0cdd45495e83f1dffb551"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49923-90fb2861",
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"144140063408509236981260435184413593051",
"328988440981461331111296148973073965600"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49923-fed23014",
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"262808448057039156573654804736650142645",
"29053014413179093890874218497010659620"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bf1ed6aff0f70434bd0cdd45495e83f1dffb551"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49923.json"