CVE-2022-50278
kernel: PNP: fix name memory leak in pnp_alloc_dev()
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-401
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 106 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.46-2.ph4 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +25 | affected |
| 8 | bpftool +45 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | kgraft-patch-4-12-14-122-275-default | 1-8.3.1 | SUSE-SU-2025:03614-1 |
| 12.5 | cluster-md-kmp-default +13 | 4.12.14-122.275.1 | SUSE-SU-2025:03614-1 |
| 15.4 | kernel-livepatch-5-14-21-150400-24-179-default | 1-150400.9.3.1 | SUSE-SU-2025:03628-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-124-default | 1-150500.11.3.1 | SUSE-SU-2025:03615-1 |
2 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.133.1 | SUSE-SU-2025:3716-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.133.1 | SUSE-SU-2025:3716-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
3 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.178-1 |
| 12 | linux | 6.1.4-1 |
| 13 | linux | 6.1.4-1 |
| 14 | linux | 6.1.4-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.4-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.178-1 |
| 12 | rootio-linux | 6.1.4-1 |
| 13 | rootio-linux | 6.1.4-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-69.76 |
ubuntu 5 releases · 33 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | linux-oracle | 4.15.0-1116.127 |
| 18.04 | linux-kvm | 4.15.0-1137.142 |
| 18.04 | linux-gcp-4-15 | 4.15.0-1147.163 |
| 18.04 | linux-aws | 4.15.0-1153.166 |
| 18.04 | linux-azure-4-15 | 4.15.0-1162.177 |
| 18.04 | linux | 4.15.0-208.220 |
70 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-50278
- git.kernel.org https://git.kernel.org/linus/110d7b0325c55ff3620073ba4201845f59e22ebf (6.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/110d7b0325c55ff3620073ba4201845f59e22ebf
- git.kernel.org https://git.kernel.org/stable/c/1f50c7497a5f89de0c31f2edf086af41ff834320
- git.kernel.org https://git.kernel.org/stable/c/290dd73b943c95c006df973257076ff163adf4d0
- git.kernel.org https://git.kernel.org/stable/c/693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa
- git.kernel.org https://git.kernel.org/stable/c/81b024df4755e6bb6993b786584eca6eabbb9791
- git.kernel.org https://git.kernel.org/stable/c/bbcf772216aa237036cc3ae3158288d0a95aaf4d
- git.kernel.org https://git.kernel.org/stable/c/c12b314bb23dc0c83e03402cc84574700947e3b2
- git.kernel.org https://git.kernel.org/stable/c/dac87e295cddc8ab316cff14ab2071b5221d84fa
Show all 14 references
- git.kernel.org https://git.kernel.org/stable/c/ea77b4b761cd75e5456f677311babfa0418f289a
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025091506-CVE-2022-50278-fcc9@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-50278
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-50278
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.