# CVE-2026-53339: i2c: qcom-cci: Fix NULL pointer dereference in cci_remove()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-01T13:32:21.709Z
- Modified: 2026-07-23T21:33:01.570Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

i2c: qcom-cci: Fix NULL pointer dereference in cci_remove()

On all modern platforms Qualcomm CCI controller provides two I2C masters,
and on particular boards only one I2C master may be initialized, and in
such cases the device unbinding or driver removal causes a NULL pointer
dereference, because cci_halt() is called for all two I2C masters, but
a completion is initialized only for the single enabled master:

    % rmmod i2c-qcom-cci
    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
    <snip>
    Call trace:
    __wait_for_common+0x194/0x1a8 (P)
    wait_for_completion_timeout+0x20/0x2c
    cci_remove+0xc4/0x138 [i2c_qcom_cci]
    platform_remove+0x20/0x30
    device_remove+0x4c/0x80
    device_release_driver_internal+0x1c8/0x224
    driver_detach+0x50/0x98
    bus_remove_driver+0x6c/0xbc
    driver_unregister+0x30/0x60
    platform_driver_unregister+0x14/0x20
    qcom_cci_driver_exit+0x18/0x1008 [i2c_qcom_cci]
    ....

(As written by CVE List.)

## Affected

- Linux Linux: from e517526195de400158e05a08764d1fb61d579105 before e8669d12da0ade52adfe0abe96cd99e708abc9bd; from e517526195de400158e05a08764d1fb61d579105 before 4d2b4a9cda6837e5ee1de1290f2e773a713b71e9; from e517526195de400158e05a08764d1fb61d579105 before a50b8adb9cdb9a495b0b45583956897b7411ed7a; from e517526195de400158e05a08764d1fb61d579105 before 7107627b8b35015027201e7a095a3f6e30b4a46f; from e517526195de400158e05a08764d1fb61d579105 before 4cd206c1d57a9370d5219f7b1fc45169d7bdf951; from e517526195de400158e05a08764d1fb61d579105 before a162a260c8c4db7501c65220e76913e8e351f823; from e517526195de400158e05a08764d1fb61d579105 before 8ce7ff721a5e9d06d53ef65d01c89fce6d26d6ff; from e517526195de400158e05a08764d1fb61d579105 before 729ac5a4b966aac42e08a94dea966f4429008548; 5.8 (not affected: before 5.8; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.8 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/e8669d12da0ade52adfe0abe96cd99e708abc9bd> (patch)
- <https://git.kernel.org/stable/c/4d2b4a9cda6837e5ee1de1290f2e773a713b71e9> (patch)
- <https://git.kernel.org/stable/c/a50b8adb9cdb9a495b0b45583956897b7411ed7a> (patch)
- <https://git.kernel.org/stable/c/7107627b8b35015027201e7a095a3f6e30b4a46f> (patch)
- <https://git.kernel.org/stable/c/4cd206c1d57a9370d5219f7b1fc45169d7bdf951> (patch)
- <https://git.kernel.org/stable/c/a162a260c8c4db7501c65220e76913e8e351f823> (patch)
- <https://git.kernel.org/stable/c/8ce7ff721a5e9d06d53ef65d01c89fce6d26d6ff> (patch)
- <https://git.kernel.org/stable/c/729ac5a4b966aac42e08a94dea966f4429008548> (patch)

## Sources

- CVE List: [CVE-2026-53339](https://www.cve.org/CVERecord?id=CVE-2026-53339), CVE Terms of Use, modified 2026-07-01
- NVD: [CVE-2026-53339](https://nvd.nist.gov/vuln/detail/CVE-2026-53339), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-53339 · Whole record: https://cve.day/CVE-2026-53339.json · Rebuilt by cve.day 2026-11-25T22:59:26.897Z
