In the Linux kernel, the following vulnerability has been resolved:
ath10k: Fix error handling in ath10ksetupmsa_resources
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.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9747a78d5f758a5284751a10aee13c30d02bd5f1",
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-1501e38a"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335",
"digest": {
"length": 1088.0,
"function_hash": "148151813561268483868267713045828158786"
},
"id": "CVE-2022-49213-2b482340"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315772133a4b960859e4f5efe0e738e347188cdc",
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-4b8dd59b"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315772133a4b960859e4f5efe0e738e347188cdc",
"digest": {
"length": 1088.0,
"function_hash": "148151813561268483868267713045828158786"
},
"id": "CVE-2022-49213-5817458f"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335",
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-5fc56200"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32939187f254171a5666badc058bc3787fe454af",
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-673e1dd5"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32939187f254171a5666badc058bc3787fe454af",
"digest": {
"length": 1088.0,
"function_hash": "148151813561268483868267713045828158786"
},
"id": "CVE-2022-49213-69ff66b7"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74b1d41e1b6410eed5c76d00eedb262036e9eff5",
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-7dc42aa8"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9747a78d5f758a5284751a10aee13c30d02bd5f1",
"digest": {
"length": 1088.0,
"function_hash": "148151813561268483868267713045828158786"
},
"id": "CVE-2022-49213-891a90c3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74b1d41e1b6410eed5c76d00eedb262036e9eff5",
"digest": {
"length": 1088.0,
"function_hash": "148151813561268483868267713045828158786"
},
"id": "CVE-2022-49213-b68bbb30"
}
]