In the Linux kernel, the following vulnerability has been resolved:
staging: wfx: fix an error handling in wfxinitcommon()
One error handler of wfxinitcommon() return without calling ieee80211freehw(hw), which may result in memory leak. And I add one err label to unify the error handler, which is useful for the subsequent changes.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49105.json"
}[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-2c238f05",
"target": {
"file": "drivers/staging/wfx/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9727912e906762a63c1a667c84731d3427653f88"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-57f1000c",
"target": {
"file": "drivers/staging/wfx/main.c",
"function": "wfx_init_common"
},
"digest": {
"length": 2682.0,
"function_hash": "178794099477608573630953578054169274171"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9727912e906762a63c1a667c84731d3427653f88"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-8a1b69ef",
"target": {
"file": "drivers/staging/wfx/main.c",
"function": "wfx_init_common"
},
"digest": {
"length": 2682.0,
"function_hash": "178794099477608573630953578054169274171"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93498c6e775ae91732a8109dba1bdcd324908f84"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-f063569e",
"target": {
"file": "drivers/staging/wfx/main.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93498c6e775ae91732a8109dba1bdcd324908f84"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49105.json"