CVE-2022-50278

Source
https://cve.org/CVERecord?id=CVE-2022-50278
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50278.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50278
Downstream
Related
Published
2025-09-15T14:21:15.208Z
Modified
2026-03-20T11:47:22.019612Z
Summary
PNP: fix name memory leak in pnp_alloc_dev()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50278.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1fa5ae857bb14f6046205171d98506d8112dd74e
Fixed
ea77b4b761cd75e5456f677311babfa0418f289a
Fixed
693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa
Fixed
bbcf772216aa237036cc3ae3158288d0a95aaf4d
Fixed
81b024df4755e6bb6993b786584eca6eabbb9791
Fixed
dac87e295cddc8ab316cff14ab2071b5221d84fa
Fixed
c12b314bb23dc0c83e03402cc84574700947e3b2
Fixed
1f50c7497a5f89de0c31f2edf086af41ff834320
Fixed
290dd73b943c95c006df973257076ff163adf4d0
Fixed
110d7b0325c55ff3620073ba4201845f59e22ebf

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50278.json"