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.
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"262808448057039156573654804736650142645",
"29053014413179093890874218497010659620"
],
"threshold": 0.9
},
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-00d0574c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ecf0f4227029b2c42e036b10ff6e5d09e20821e",
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "290335426593098080809380237179527118211",
"length": 325.0
},
"target": {
"function": "nxp_nci_send",
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-0c59a82c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ecf0f4227029b2c42e036b10ff6e5d09e20821e",
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"99424212004060352676056481415905670179",
"271369479635852387556749849676250421919"
],
"threshold": 0.9
},
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-3095cbab",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cba1f061bfe23fece2841129ca2862cdec29d5c",
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "290335426593098080809380237179527118211",
"length": 325.0
},
"target": {
"function": "nxp_nci_send",
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-645cb68b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cba1f061bfe23fece2841129ca2862cdec29d5c",
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "290335426593098080809380237179527118211",
"length": 325.0
},
"target": {
"function": "nxp_nci_send",
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-83d3de2b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb",
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "290335426593098080809380237179527118211",
"length": 325.0
},
"target": {
"function": "nxp_nci_send",
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-8e2ca1bb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bf1ed6aff0f70434bd0cdd45495e83f1dffb551",
"signature_type": "Function"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"144140063408509236981260435184413593051",
"328988440981461331111296148973073965600"
],
"threshold": 0.9
},
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-90fb2861",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb",
"signature_type": "Line"
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"297220367527205171167405302029173492728",
"24521709957292689504598816280533011511",
"256663575357498654840454758701341110246",
"57596462837272373538707469172300957728",
"262808448057039156573654804736650142645",
"29053014413179093890874218497010659620"
],
"threshold": 0.9
},
"target": {
"file": "drivers/nfc/nxp-nci/core.c"
},
"id": "CVE-2022-49923-fed23014",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bf1ed6aff0f70434bd0cdd45495e83f1dffb551",
"signature_type": "Line"
}
]