CVE-2022-49192
drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
Check your servers for CVE-2022-49192
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-49192 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:
drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
cpsw_ethtool_begin directly returns the result of pm_runtime_get_sync when successful. pm_runtime_get_sync returns -error code on failure and 0 on successful resume but also 1 when the device is already active. So the common case for cpsw_ethtool_begin is to return 1. That leads to inconsistent calls to pm_runtime_put in the call-chain so that pm_runtime_put is called one too many times and as result leaving the cpsw dev behind suspended.
The suspended cpsw dev leads to an access violation later on by different parts of the cpsw driver.
Fix this by calling the return-friendly pm_runtime_resume_and_get function.
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d43c65b05b848e0b2db1a6c78b02c189da3a95b5, before 585dc196a08fccdcd1b7fcf473cf566b34c4b840 affected from d43c65b05b848e0b2db1a6c78b02c189da3a95b5, before 459080fab12b23c0526026e5cedbf3fabb5457cc affected from d43c65b05b848e0b2db1a6c78b02c189da3a95b5, before 30ad11bff021a94aff6dab1ec9236fdfd884fbff affected from d43c65b05b848e0b2db1a6c78b02c189da3a95b5, before 2844e2434385819f674d1fb4130c308c50ba681e
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.33 up to and including 5.15.* unaffected from 5.16.19 up to and including 5.16.* unaffected from 5.17.2 up to and including 5.17.* unaffected 5.18 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-49192 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49192
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-49192
trivy image --scanners vuln IMAGE | grep CVE-2022-49192
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/585dc196a08fccdcd1b7fcf473cf566b34c4b840 git.kernel.org
- https://git.kernel.org/stable/c/459080fab12b23c0526026e5cedbf3fabb5457cc git.kernel.org
- https://git.kernel.org/stable/c/30ad11bff021a94aff6dab1ec9236fdfd884fbff git.kernel.org
- https://git.kernel.org/stable/c/2844e2434385819f674d1fb4130c308c50ba681e git.kernel.org
Source: the record CVE-2022-49192 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse