# CVE-2022-50370: linux: In the Linux kernel, the following vulnerability has been resolved:  i2c: designware: Fix handling of real but unexpe...

CVE-2022-50370 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50370, released September 17, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-50370
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 17, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.0.3-1 | [DEBIAN-CVE-2022-50370](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50370.md) | Sep 17, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.0.3-1 | [DEBIAN-CVE-2022-50370](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50370.md) | Sep 17, 2025 |
| Linux | linux Debian 14 | 6.0.3-1 | [DEBIAN-CVE-2022-50370](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50370.md) | Sep 17, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
