CVEvulnerability
CVE-2022-50278
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-09-15
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved:
PNP: fix name memory leak in pnp_alloc_dev()
After commit 1fa5ae857bb1 ("driver core: get rid of struct device's
bus_id string array"), the name of device is allocated dynamically,
move dev_set_name() after pnp_add_id() to avoid memory leak.
Affected configurations
• linux linux kernel (>= 2.6.30 < 4.9.337)
• linux linux kernel (>= 4.10 < 4.14.303)
• linux linux kernel (>= 4.15 < 4.19.270)
• linux linux kernel (>= 4.20 < 5.4.229)
• linux linux kernel (>= 5.5 < 5.10.163)
• linux linux kernel (>= 5.11 < 5.15.86)
• linux linux kernel (>= 5.16 < 6.0.16)
• linux linux kernel (>= 6.1 < 6.1.2)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/110d7b0325c55ff3620073ba4201845f59e22ebf Patch
- https://git.kernel.org/stable/c/1f50c7497a5f89de0c31f2edf086af41ff834320 Patch
- https://git.kernel.org/stable/c/290dd73b943c95c006df973257076ff163adf4d0 Patch
- https://git.kernel.org/stable/c/693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa Patch
- https://git.kernel.org/stable/c/81b024df4755e6bb6993b786584eca6eabbb9791 Patch
- https://git.kernel.org/stable/c/bbcf772216aa237036cc3ae3158288d0a95aaf4d Patch
- https://git.kernel.org/stable/c/c12b314bb23dc0c83e03402cc84574700947e3b2 Patch
- https://git.kernel.org/stable/c/dac87e295cddc8ab316cff14ab2071b5221d84fa Patch
- https://git.kernel.org/stable/c/ea77b4b761cd75e5456f677311babfa0418f289a Patch