CVE-2022-49820
publishedmctp i2c: don't count unused / invalid keys for flow release
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf5b8abf9fc3dacd7529d363e26fe8230935d65f8 to < a5915a9a3ab4067ef8996a57738d156eabeb3a12 · f5b8abf9fc3dacd7529d363e26fe8230935d65f8 to < 9cbd48d5fa14e4c65f8580de16686077f7cea02b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.0.10 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: mctp i2c: don't count unused / invalid keys for flow release We're currently hitting the WARN_ON in mctp_i2c_flow_release: if (midev->release_count > midev->i2c_lock_count) { WARN_ONCE(1, "release count overflow"); This may be hit if we expire a flow before sending the first packet it contains - as we will not be pairing the increment of release_count (performed on flow release) with the i2c lock operation (only performed on actual TX). To fix this, only release a flow if we've encountered it previously (ie, dev_flow_state does not indicate NEW), as we will mark the flow as ACTIVE at the same time as accounting for the i2c lock operation. We also need to add an INVALID flow state, to indicate when we've done the release.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f5b8abf9fc3dacd7529d363e26fe8230935d65f8 to < a5915a9a3ab4067ef8996a57738d156eabeb3a12 (affected · git)f5b8abf9fc3dacd7529d363e26fe8230935d65f8 to < 9cbd48d5fa14e4c65f8580de16686077f7cea02b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.0.10 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
mctp i2c: don't count unused / invalid keys for flow release
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b2633873f784aa375585420988c8748b50844d97779687649da2c599c9893224
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record