Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50370

MEDIUM 5.5EPSS 8%

i2c: designware: Fix handling of real but unexpected device interrupts

Mitigation

  • Upgrade Linux to 301c8f5c32c8fb79c67539bc23972dc3ef48024c or later.

Who should check

  • Anyone running Linux >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < a206f7fbe9589c60fafad12884628c909ecb042f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < aa59ac81e859006d3a1df035a19b3f2089110f93; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 301c8f5c32c8fb79c67539bc23972dc3ef48024c
  • Anyone running Linux 5.12

Vulnerability facts

Affected
Linux >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < a206f7fbe9589c60fafad12884628c909ecb042f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < aa59ac81e859006d3a1df035a19b3f2089110f93; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 301c8f5c32c8fb79c67539bc23972dc3ef48024c; Linux 5.12
Fixed in
Linux 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f, Linux 301c8f5c32c8fb79c67539bc23972dc3ef48024c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: designware: Fix handling of real but unexpected device interrupts Commit c7b79a752871 ("mfd: intel-lpss: Add Intel Alder Lake PCH-S PCI IDs") caused a regression on certain Gigabyte motherboards for Intel Alder Lake-S where system crashes to NULL pointer dereference in i2c_dw_xfer_msg() when system resumes from S3 sleep state ("deep"). I was able to debug the issue on Gigabyte Z690 AORUS ELITE and made following notes: - Issue happens when resuming from S3 but not when resuming from "s2idle" - PCI device 00:15.0 == i2c_designware.0 is already in D0 state when system enters into pci_pm_resume_noirq() while all other i2c_designware PCI devices are in D3. Devices were runtime suspended and in D3 prior entering into suspend - Interrupt comes after pci_pm_resume_noirq() when device interrupts are re-enabled - According to register dump the interrupt really comes from the i2c_designware.0. Controller is enabled, I2C target address register points to a one detectable I2C device address 0x60 and the DW_IC_RAW_INTR_STAT register START_DET, STOP_DET, ACTIVITY and TX_EMPTY bits are set indicating completed I2C transaction. My guess is that the firmware uses this controller to communicate with an on-board I2C device during resume but does not disable the controller before giving control to an operating system. I was told the UEFI update fixes this but never the less it revealed the driver is not ready to handle TX_EMPTY (or RX_FULL) interrupt when device is supposed to be idle and state variables are not set (especially the dev->msgs pointer which may point to NULL or stale old data). Introduce a new software status flag STATUS_ACTIVE indicating when the controller is active in driver point of view. Now treat all interrupts that occur when is not set as unexpected and mask all interrupts from the controller.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < a206f7fbe9589c60fafad12884628c909ecb042f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < aa59ac81e859006d3a1df035a19b3f2089110f93; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 301c8f5c32c8fb79c67539bc23972dc3ef48024c—cvelist
Linux5.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50370. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50370.md
Affected: Linux >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < a206f7fbe9589c60fafad12884628c909ecb042f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < aa59ac81e859006d3a1df035a19b3f2089110f93; >= c7b79a75287141cef5bbaea…
Fixed in: Linux 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f, Linux 301c8f5c32c8fb79c67539bc23972dc3ef48024c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50370 being exploited?

There is no confirmed exploitation: CVE-2022-50370 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50370?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50370?

Linux >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < a206f7fbe9589c60fafad12884628c909ecb042f; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < aa59ac81e859006d3a1df035a19b3f2089110f93; >= c7b79a75287141cef5bbaeaf1c942269c08cd52e, < 301c8f5c32c8fb79c67539bc23972dc3ef48024c; Linux 5.12.

Is there a fix for CVE-2022-50370?

Yes. Fixed in Linux 7fa5304c4b5b425d4a0b3acf10139a7f6108a85f, Linux 301c8f5c32c8fb79c67539bc23972dc3ef48024c. Upgrade Linux to 301c8f5c32c8fb79c67539bc23972dc3ef48024c or later.

How do I check if I'm affected by CVE-2022-50370?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors