CVE-2024-42253
gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
Reported by linux · Published August 8, 2024
In the Linux kernel, the following vulnerability has been resolved: gpio: pca953x: fix pca953x_irq_bus_sync_unlock race Ensure that `i2c_lock' is held when setting interrupt latch and mask in pca953x_irq_bus_sync_unlock() in order to avoid races. The other (non-probe) call site pca953x_gpio_set_multiple() ensures the lock is held before calling pca953x_write_regs(). The problem occurred when a request raced against irq_bus_sync_unlock() approximately once per thousand reboots on an i.MX8MP based system. * Normal case 0-0022: write register AI|3a {03,02,00,00,01} Input latch P0 0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0 0-0022: write register AI|08 {ff,00,00,00,00} Output P3 0-0022: write register AI|12 {fc,00,00,00,00} Config P3 * Race case 0-0022: write register AI|08 {ff,00,00,00,00} Output P3 0-0022: write register AI|08 {03,02,00,00,01} *** Wrong register *** 0-0022: write register AI|12 {fc,00,00,00,00} Config P3 0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.9.11, 6.6.42, 6.1.101 |
| Linux | Linux | de7cffa53149c7b48bd1bb29b02390c9f05b7f41 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 44896beae605b93f2232301befccb7ef42953198, 44896beae605b93f2232301befccb7ef42953198, 44896beae605b93f2232301befccb7ef42953198 |
| Linux | Linux | 4.7, 0, 6.1.101 |
| Linux | Linux | 4.7, 6.6.42, 6.9.11 |
| linux | linux_kernel | 4.7, 4.7, 4.7 |
Timeline
- Aug 7, 2024 CVE Published
- Aug 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Dec 16, 2025 PoC Published
- Jan 6, 2026 Security Advisory (108 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (94 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-42253
vulnetix vdb fixes CVE-2024-42253
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42253/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart