CVE-2026-53339

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

State
Published
Severity
Not scored
Published
Jul 1, 2026
Updated
Jul 1, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e517526195de400158e05a08764d1fb61d579105 to before e8669d12da0ade52adfe0abe96cd99e708abc9bdAffected
  • e517526195de400158e05a08764d1fb61d579105 to before 4d2b4a9cda6837e5ee1de1290f2e773a713b71e9Affected
  • e517526195de400158e05a08764d1fb61d579105 to before a50b8adb9cdb9a495b0b45583956897b7411ed7aAffected
  • e517526195de400158e05a08764d1fb61d579105 to before 7107627b8b35015027201e7a095a3f6e30b4a46fAffected
  • e517526195de400158e05a08764d1fb61d579105 to before 4cd206c1d57a9370d5219f7b1fc45169d7bdf951Affected
  • e517526195de400158e05a08764d1fb61d579105 to before a162a260c8c4db7501c65220e76913e8e351f823Affected
  • e517526195de400158e05a08764d1fb61d579105 to before 8ce7ff721a5e9d06d53ef65d01c89fce6d26d6ffAffected
  • e517526195de400158e05a08764d1fb61d579105 to before 729ac5a4b966aac42e08a94dea966f4429008548Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.