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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49213.json"
}[
{
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-1501e38a",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9747a78d5f758a5284751a10aee13c30d02bd5f1",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"function_hash": "148151813561268483868267713045828158786",
"length": 1088.0
},
"id": "CVE-2022-49213-2b482340",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335",
"deprecated": false,
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-4b8dd59b",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315772133a4b960859e4f5efe0e738e347188cdc",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"function_hash": "148151813561268483868267713045828158786",
"length": 1088.0
},
"id": "CVE-2022-49213-5817458f",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@315772133a4b960859e4f5efe0e738e347188cdc",
"deprecated": false,
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-5fc56200",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-673e1dd5",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32939187f254171a5666badc058bc3787fe454af",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"function_hash": "148151813561268483868267713045828158786",
"length": 1088.0
},
"id": "CVE-2022-49213-69ff66b7",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32939187f254171a5666badc058bc3787fe454af",
"deprecated": false,
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"295229427303818068135343397639406506107",
"187405696644788958051961606977180679028",
"314905751328700329861765048882563429912",
"141958969738415159428183359855233244541",
"94868039662075396677380491182884225137",
"112487894955672111286401309771591095506",
"326425706424226590361620057878954776694",
"69574863979238632280627391908617003613",
"70103805535244119711950283151313455048"
],
"threshold": 0.9
},
"id": "CVE-2022-49213-7dc42aa8",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74b1d41e1b6410eed5c76d00eedb262036e9eff5",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"function_hash": "148151813561268483868267713045828158786",
"length": 1088.0
},
"id": "CVE-2022-49213-891a90c3",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9747a78d5f758a5284751a10aee13c30d02bd5f1",
"deprecated": false,
"signature_type": "Function"
},
{
"digest": {
"function_hash": "148151813561268483868267713045828158786",
"length": 1088.0
},
"id": "CVE-2022-49213-b68bbb30",
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/ath/ath10k/snoc.c",
"function": "ath10k_setup_msa_resources"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@74b1d41e1b6410eed5c76d00eedb262036e9eff5",
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49213.json"