Description
In the Linux kernel, the following vulnerability has been resolved: iio: potentiometer: x9250: reject devices without match data A device bound through driver_override need not match an entry in the driver tables. In that case spi_get_device_match_data() returns NULL, but x9250_probe() later dereferences the result while naming the IIO device. Reject devices without match data before enabling the regulators.
Affected products and versions
Linux Linux66bfc528a6fd5225e59ea4bbca0665aad38f1567 – < cd57aee351d06ab228d1c0ebec7917055f6f81b7 · 66bfc528a6fd5225e59ea4bbca0665aad38f1567 – < 384d81172104ec346940c254e262f82795ea880e · 66bfc528a6fd5225e59ea4bbca0665aad38f1567 – < b46ccd625f991caf8d47929c1c2aebae4ada9754 · 66bfc528a6fd5225e59ea4bbca0665aad38f1567 – < 83fd3f6d2899dc1c0aa18310001466473de235da · 66bfc528a6fd5225e59ea4bbca0665aad38f1567 – < d13716e3defd5b8cec3ee2c27f4d9b7e01314067Fixed in: cd57aee351d06ab228d1c0ebec7917055f6f81b7 · 384d81172104ec346940c254e262f82795ea880e · b46ccd625f991caf8d47929c1c2aebae4ada9754 · 83fd3f6d2899dc1c0aa18310001466473de235da · d13716e3defd5b8cec3ee2c27f4d9b7e01314067
Linux Linux6.5Fixed in: 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1
References
- git.kernel.org/stable/c/cd57aee351d06ab228d1c0ebec7917055f6f81b7
- git.kernel.org/stable/c/384d81172104ec346940c254e262f82795ea880e
- git.kernel.org/stable/c/b46ccd625f991caf8d47929c1c2aebae4ada9754
- git.kernel.org/stable/c/83fd3f6d2899dc1c0aa18310001466473de235da
- git.kernel.org/stable/c/d13716e3defd5b8cec3ee2c27f4d9b7e01314067
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.