iio: adis16475: fix deadlock on frequency set
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: adis16475: fix deadlock on frequency set
With commit 39c024b51b560 ("iio: adis16475: improve sync scale mode handling"), two deadlocks were introduced: 1) The call to 'adis_write_reg_16()' was not changed to it's unlocked version. 2) The lock was not being released on the success path of the function.
This change fixes both these issues.
From the CVE record · Linux
The Linux kernel's adis16475 driver can deadlock when setting frequency because a register write uses a locking call and the lock is not released on the success path. The input does not specify attacker access requirements or whether user interaction is needed.
Engineers running Linux kernels with the adis16475 driver should check their exposure; affected versions are not specified.