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-04-11T12:44:54.890394Z
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"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.30
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

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