CVE-2022-49817
net: mhi: Fix memory leak in mhi_net_dellink()
Check your servers for CVE-2022-49817
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-49817 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:
net: mhi: Fix memory leak in mhi_net_dellink()
MHI driver registers network device without setting the needs_free_netdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak.
This patch calls free_netdev() to fix it since netdev_priv is used after unregister.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.9% 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 13adac032982c61bb590669e8e87e51558917ca1, before 88da008e5e2f9753726ea5a51ef2eb144e9de927 affected from 13adac032982c61bb590669e8e87e51558917ca1, before 25a270343b0f16e1f6e65f541a15975a35e238ff affected from 13adac032982c61bb590669e8e87e51558917ca1, before f7c125bd79f50ec6094761090be81d02726ec6f4
Other versions: unaffected
|
| Linux |
affected 5.14 unaffected before 5.14 unaffected from 5.15.80 up to and including 5.15.* unaffected from 6.0.10 up to and including 6.0.* unaffected 6.1 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-49817 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49817
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-49817
trivy image --scanners vuln IMAGE | grep CVE-2022-49817
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/88da008e5e2f9753726ea5a51ef2eb144e9de927 git.kernel.org
- https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff git.kernel.org
- https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4 git.kernel.org
Source: the record CVE-2022-49817 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