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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-1032ff61",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"target": {
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60f1d3c92dc1ef1026e5b917a329a7fa947da036",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-2736a21f",
"digest": {
"function_hash": "7921733242133302671422881089105647891",
"length": 2665.0
},
"signature_version": "v1",
"target": {
"function": "wfx_init_common",
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-2a301248",
"digest": {
"function_hash": "178794099477608573630953578054169274171",
"length": 2682.0
},
"signature_version": "v1",
"target": {
"function": "wfx_init_common",
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9727912e906762a63c1a667c84731d3427653f88",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-2c238f05",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"target": {
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9727912e906762a63c1a667c84731d3427653f88",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-57f1000c",
"digest": {
"function_hash": "178794099477608573630953578054169274171",
"length": 2682.0
},
"signature_version": "v1",
"target": {
"function": "wfx_init_common",
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ab0fed1fa744173433cfd1dbaf9239f200ded650",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-7b97593f",
"digest": {
"function_hash": "178794099477608573630953578054169274171",
"length": 2682.0
},
"signature_version": "v1",
"target": {
"function": "wfx_init_common",
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ab0fed1fa744173433cfd1dbaf9239f200ded650",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-872c1a4b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"target": {
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93498c6e775ae91732a8109dba1bdcd324908f84",
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49105-8a1b69ef",
"digest": {
"function_hash": "178794099477608573630953578054169274171",
"length": 2682.0
},
"signature_version": "v1",
"target": {
"function": "wfx_init_common",
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@60f1d3c92dc1ef1026e5b917a329a7fa947da036",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-e4e60c0f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"73716033923153400292984522587743703059",
"95323230275279582070827824154966486102",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"162577660188863710431374911439598878581",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"target": {
"file": "drivers/staging/wfx/main.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@93498c6e775ae91732a8109dba1bdcd324908f84",
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49105-f063569e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18693989894734180897945059147304268790",
"181044375653128956054935543581375078207",
"66986210249736895838128177822819808026",
"5076551441837935829362220880622482686",
"134058477817413904480181414413381037172",
"324333874904419584914430327042455686939",
"332312628066466811796012591139412799083",
"339882536550422523005040326139130243817"
]
},
"signature_version": "v1",
"target": {
"file": "drivers/staging/wfx/main.c"
}
}
]