Vulnerability in Linux
CVE-2022-49820
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.
EPSS: 0.001 (4.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions f5b8abf9fc3dacd7529d363e26fe8230935d65f8, 5.18, 0
- Linux Linux_kernel — versions 6.1
References
Frequently asked questions
- What is CVE-2022-49820?
- CVE-2022-49820 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2025-05-01.
- How severe is CVE-2022-49820?
- Medium severity. CVSS v3 base score is 5.5 out of 10.