pinctrl: meson: amlogic-a4: fix deadlock issue
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 |
|
|
6.18.347.0.117.1In the Linux kernel, the following vulnerability has been resolved:
pinctrl: meson: amlogic-a4: fix deadlock issue
Accessing the pinconf-pins sysfs node may deadlock.
pinconf_pins_show() holds pctldev->mutex, and the platform driver calls pinctrl_find_gpio_range_from_pin(), which tries to acquire the same mutex again, leading to a deadlock.
Use pinctrl_find_gpio_range_from_pin_nolock() to fix this issue.
From the CVE record · Linux
The Linux kernel's Amlogic A4 pinctrl driver can deadlock when the pinconf-pins sysfs node is accessed. Someone with local access to that node can trigger the deadlock; the input does not specify authentication requirements.
Operators running Linux kernels with the Amlogic A4 pinctrl driver should check their versions; affected versions are not specified.