In the Linux kernel, the following vulnerability has been resolved:
ASoC: atmel: Fix error handling in sam9x5wm8731driver_probe
The devicenode pointer is returned by ofparsephandle() with refcount incremented. We should use ofnode_put() on it when done.
This function only calls ofnodeput() in the regular path. And it will cause refcount leak in error path.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90ac679aa6a01841da90ec5a4aaa4b5e0badddf0",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-01329271",
"target": {
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203634735186752331050630800474958775937",
"81527540169849769064581882978113890142",
"220946948590997437408446846338613962327",
"198461655579425390366793560884306582601",
"240716982283934813137802555133707225295",
"260911255570903902583767896176010406701",
"144552449339285961325490567142292603202",
"136563566708759002928955650159400733149",
"58511252350440358235568544021792438769",
"207397815207981180001871050992185272294",
"159972450021344372336693674270841731848",
"252915552733673801205427788002101448404",
"140439523646567973810020934834855219432",
"8427213821535469981691953446261682855",
"102987043745225406351728729727225102016",
"296208691551734763878242389011481906060",
"294938035013841094214444368040696101068"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90ac679aa6a01841da90ec5a4aaa4b5e0badddf0",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-246f0bf4",
"target": {
"function": "sam9x5_wm8731_driver_probe",
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Function",
"digest": {
"length": 2465.0,
"function_hash": "131422475346937224203861865134343572578"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f589063b585ac6dd2081bde6c145411cf48d8d92",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-2f38fbbf",
"target": {
"function": "sam9x5_wm8731_driver_probe",
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Function",
"digest": {
"length": 2465.0,
"function_hash": "131422475346937224203861865134343572578"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@740dc3e846537c3743da98bf106f376023fd085c",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-603df727",
"target": {
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203634735186752331050630800474958775937",
"81527540169849769064581882978113890142",
"220946948590997437408446846338613962327",
"198461655579425390366793560884306582601",
"240716982283934813137802555133707225295",
"260911255570903902583767896176010406701",
"144552449339285961325490567142292603202",
"136563566708759002928955650159400733149",
"58511252350440358235568544021792438769",
"207397815207981180001871050992185272294",
"159972450021344372336693674270841731848",
"252915552733673801205427788002101448404",
"140439523646567973810020934834855219432",
"8427213821535469981691953446261682855",
"102987043745225406351728729727225102016",
"296208691551734763878242389011481906060",
"294938035013841094214444368040696101068"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14228225091a0854b1de23e5b4fe8bdeeca9683b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-732c3c0d",
"target": {
"function": "sam9x5_wm8731_driver_probe",
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Function",
"digest": {
"length": 2465.0,
"function_hash": "299857912457769267996780619818790914542"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f589063b585ac6dd2081bde6c145411cf48d8d92",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-7775340e",
"target": {
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203634735186752331050630800474958775937",
"81527540169849769064581882978113890142",
"220946948590997437408446846338613962327",
"198461655579425390366793560884306582601",
"240716982283934813137802555133707225295",
"260911255570903902583767896176010406701",
"144552449339285961325490567142292603202",
"136563566708759002928955650159400733149",
"58511252350440358235568544021792438769",
"207397815207981180001871050992185272294",
"159972450021344372336693674270841731848",
"252915552733673801205427788002101448404",
"140439523646567973810020934834855219432",
"8427213821535469981691953446261682855",
"102987043745225406351728729727225102016",
"296208691551734763878242389011481906060",
"294938035013841094214444368040696101068"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f43ad5dc43240289f4cf13c16cc506f4f7087931",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-b931500f",
"target": {
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203634735186752331050630800474958775937",
"81527540169849769064581882978113890142",
"220946948590997437408446846338613962327",
"198461655579425390366793560884306582601",
"240716982283934813137802555133707225295",
"260911255570903902583767896176010406701",
"144552449339285961325490567142292603202",
"136563566708759002928955650159400733149",
"58511252350440358235568544021792438769",
"207397815207981180001871050992185272294",
"159972450021344372336693674270841731848",
"252915552733673801205427788002101448404",
"140439523646567973810020934834855219432",
"8427213821535469981691953446261682855",
"102987043745225406351728729727225102016",
"296208691551734763878242389011481906060",
"294938035013841094214444368040696101068"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14228225091a0854b1de23e5b4fe8bdeeca9683b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-bbddda9d",
"target": {
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203634735186752331050630800474958775937",
"81527540169849769064581882978113890142",
"220946948590997437408446846338613962327",
"198461655579425390366793560884306582601",
"240716982283934813137802555133707225295",
"260911255570903902583767896176010406701",
"144552449339285961325490567142292603202",
"136563566708759002928955650159400733149",
"58511252350440358235568544021792438769",
"207397815207981180001871050992185272294",
"159972450021344372336693674270841731848",
"252915552733673801205427788002101448404",
"140439523646567973810020934834855219432",
"8427213821535469981691953446261682855",
"102987043745225406351728729727225102016",
"296208691551734763878242389011481906060",
"294938035013841094214444368040696101068"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@740dc3e846537c3743da98bf106f376023fd085c",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-bf71b614",
"target": {
"function": "sam9x5_wm8731_driver_probe",
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Function",
"digest": {
"length": 2465.0,
"function_hash": "299857912457769267996780619818790914542"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f43ad5dc43240289f4cf13c16cc506f4f7087931",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-49241-d103344b",
"target": {
"function": "sam9x5_wm8731_driver_probe",
"file": "sound/soc/atmel/sam9x5_wm8731.c"
},
"signature_type": "Function",
"digest": {
"length": 2465.0,
"function_hash": "299857912457769267996780619818790914542"
}
}
]