CVE-2022-50278
PNP: fix name memory leak in pnp_alloc_dev()
Check your servers for CVE-2022-50278
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50278 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.73% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before ea77b4b761cd75e5456f677311babfa0418f289a affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before 693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before bbcf772216aa237036cc3ae3158288d0a95aaf4d affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before 81b024df4755e6bb6993b786584eca6eabbb9791 affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before dac87e295cddc8ab316cff14ab2071b5221d84fa affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before c12b314bb23dc0c83e03402cc84574700947e3b2 affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before 1f50c7497a5f89de0c31f2edf086af41ff834320 affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before 290dd73b943c95c006df973257076ff163adf4d0 affected from 1fa5ae857bb14f6046205171d98506d8112dd74e, before 110d7b0325c55ff3620073ba4201845f59e22ebf
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50278 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50278
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50278
trivy image --scanners vuln IMAGE | grep CVE-2022-50278
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ea77b4b761cd75e5456f677311babfa0418f289a git.kernel.org
- https://git.kernel.org/stable/c/693a0c13c1f0c0fcaa1e38cb806cc0789bd415aa git.kernel.org
- https://git.kernel.org/stable/c/bbcf772216aa237036cc3ae3158288d0a95aaf4d git.kernel.org
- https://git.kernel.org/stable/c/81b024df4755e6bb6993b786584eca6eabbb9791 git.kernel.org
- https://git.kernel.org/stable/c/dac87e295cddc8ab316cff14ab2071b5221d84fa git.kernel.org
- https://git.kernel.org/stable/c/c12b314bb23dc0c83e03402cc84574700947e3b2 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/110d7b0325c55ff3620073ba4201845f59e22ebf git.kernel.org
Source: the record CVE-2022-50278 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse