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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50278.json",
"cna_assigner": "Linux"
}[
{
"deprecated": false,
"id": "CVE-2022-50278-017b6256",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c12b314bb23dc0c83e03402cc84574700947e3b2"
},
{
"deprecated": false,
"id": "CVE-2022-50278-0f558e9a",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f50c7497a5f89de0c31f2edf086af41ff834320"
},
{
"deprecated": false,
"id": "CVE-2022-50278-11f0d918",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac87e295cddc8ab316cff14ab2071b5221d84fa"
},
{
"deprecated": false,
"id": "CVE-2022-50278-193fe699",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea77b4b761cd75e5456f677311babfa0418f289a"
},
{
"deprecated": false,
"id": "CVE-2022-50278-4363cc17",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa"
},
{
"deprecated": false,
"id": "CVE-2022-50278-4646e87e",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea77b4b761cd75e5456f677311babfa0418f289a"
},
{
"deprecated": false,
"id": "CVE-2022-50278-4880a19a",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c12b314bb23dc0c83e03402cc84574700947e3b2"
},
{
"deprecated": false,
"id": "CVE-2022-50278-4fb13b0e",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110d7b0325c55ff3620073ba4201845f59e22ebf"
},
{
"deprecated": false,
"id": "CVE-2022-50278-7d33017c",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290dd73b943c95c006df973257076ff163adf4d0"
},
{
"deprecated": false,
"id": "CVE-2022-50278-8ce42b69",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@290dd73b943c95c006df973257076ff163adf4d0"
},
{
"deprecated": false,
"id": "CVE-2022-50278-935ac31c",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dac87e295cddc8ab316cff14ab2071b5221d84fa"
},
{
"deprecated": false,
"id": "CVE-2022-50278-c368eca9",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f50c7497a5f89de0c31f2edf086af41ff834320"
},
{
"deprecated": false,
"id": "CVE-2022-50278-d38a093a",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81b024df4755e6bb6993b786584eca6eabbb9791"
},
{
"deprecated": false,
"id": "CVE-2022-50278-de5d6ba8",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81b024df4755e6bb6993b786584eca6eabbb9791"
},
{
"deprecated": false,
"id": "CVE-2022-50278-e52c68a7",
"target": {
"file": "drivers/pnp/core.c"
},
"digest": {
"line_hashes": [
"283901426192522805340255933333325082227",
"226802062481641269829427174513357108899",
"156325422047439317681469814311522217288",
"189554251112494707535651375482658655664",
"99460859495987381666640041884899475954",
"267490974655033514815378671051746603987",
"135706362781002011761212409053639565707",
"236497014051328242080458621877649855092",
"159749182221780293675394984275409964748"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa"
},
{
"deprecated": false,
"id": "CVE-2022-50278-ead53440",
"target": {
"file": "drivers/pnp/core.c",
"function": "pnp_alloc_dev"
},
"digest": {
"function_hash": "237215006050251334094336610677409096465",
"length": 731.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110d7b0325c55ff3620073ba4201845f59e22ebf"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50278.json"