CVE-2022-49192
drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected d43c65b05b848e0b2db1a6c78b02c189da3a95b5 – < 585dc196a08fccdcd1b7fcf473cf566b34c4b840
- affected d43c65b05b848e0b2db1a6c78b02c189da3a95b5 – < 459080fab12b23c0526026e5cedbf3fabb5457cc
- affected d43c65b05b848e0b2db1a6c78b02c189da3a95b5 – < 30ad11bff021a94aff6dab1ec9236fdfd884fbff
- affected d43c65b05b848e0b2db1a6c78b02c189da3a95b5 – < 2844e2434385819f674d1fb4130c308c50ba681e
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.33 – ≤ 5.15.*
- unaffected 5.16.19 – ≤ 5.16.*
- unaffected 5.17.2 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References (4)
- https://git.kernel.org/stable/c/585dc196a08fccdcd1b7fcf473cf566b34c4b840 (opens in a new tab)
- https://git.kernel.org/stable/c/459080fab12b23c0526026e5cedbf3fabb5457cc (opens in a new tab)
- https://git.kernel.org/stable/c/30ad11bff021a94aff6dab1ec9236fdfd884fbff (opens in a new tab)
- https://git.kernel.org/stable/c/2844e2434385819f674d1fb4130c308c50ba681e (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49192)Record last updated .