In the Linux kernel, the following vulnerability has been resolved:
PNP: fix name memory leak in pnpallocdev()
After commit 1fa5ae857bb1 ("driver core: get rid of struct device's busid string array"), the name of device is allocated dynamically, move devsetname() after pnpadd_id() to avoid memory leak.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c12b314bb23dc0c83e03402cc84574700947e3b2",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-017b6256",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f50c7497a5f89de0c31f2edf086af41ff834320",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-0f558e9a",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac87e295cddc8ab316cff14ab2071b5221d84fa",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-11f0d918",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea77b4b761cd75e5456f677311babfa0418f289a",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-193fe699",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-4363cc17",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea77b4b761cd75e5456f677311babfa0418f289a",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-4646e87e",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c12b314bb23dc0c83e03402cc84574700947e3b2",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-4880a19a",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110d7b0325c55ff3620073ba4201845f59e22ebf",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-4fb13b0e",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290dd73b943c95c006df973257076ff163adf4d0",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-7d33017c",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bbcf772216aa237036cc3ae3158288d0a95aaf4d",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-7fd91246",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290dd73b943c95c006df973257076ff163adf4d0",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-8ce42b69",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac87e295cddc8ab316cff14ab2071b5221d84fa",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-935ac31c",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bbcf772216aa237036cc3ae3158288d0a95aaf4d",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-b9a5687b",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f50c7497a5f89de0c31f2edf086af41ff834320",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-c368eca9",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81b024df4755e6bb6993b786584eca6eabbb9791",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-d38a093a",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81b024df4755e6bb6993b786584eca6eabbb9791",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-de5d6ba8",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa",
"target": {
"file": "drivers/pnp/core.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-e52c68a7",
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110d7b0325c55ff3620073ba4201845f59e22ebf",
"target": {
"function": "pnp_alloc_dev",
"file": "drivers/pnp/core.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50278-ead53440",
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
}
}
]