CVE-2024-42253

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/08/2024
Last modified:
06/09/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> gpio: pca953x: fix pca953x_irq_bus_sync_unlock race<br /> <br /> Ensure that `i2c_lock&amp;#39; is held when setting interrupt latch and mask in<br /> pca953x_irq_bus_sync_unlock() in order to avoid races.<br /> <br /> The other (non-probe) call site pca953x_gpio_set_multiple() ensures the<br /> lock is held before calling pca953x_write_regs().<br /> <br /> The problem occurred when a request raced against irq_bus_sync_unlock()<br /> approximately once per thousand reboots on an i.MX8MP based system.<br /> <br /> * Normal case<br /> <br /> 0-0022: write register AI|3a {03,02,00,00,01} Input latch P0<br /> 0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0<br /> 0-0022: write register AI|08 {ff,00,00,00,00} Output P3<br /> 0-0022: write register AI|12 {fc,00,00,00,00} Config P3<br /> <br /> * Race case<br /> <br /> 0-0022: write register AI|08 {ff,00,00,00,00} Output P3<br /> 0-0022: write register AI|08 {03,02,00,00,01} *** Wrong register ***<br /> 0-0022: write register AI|12 {fc,00,00,00,00} Config P3<br /> 0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.101 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.42 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.11 (excluding)
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*