clocksource/drivers/samsung_pwm: Switch to raw_spinlock_t type
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f11899894c0a683c754ca71b45f7c9c3d35a3a1c · < 3b212f9d70805d91febae01d618868f4860e267c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clocksource/drivers/samsung_pwm: Switch to raw_spinlock_t type
Samsung PWM timer might be used as a clock source on some legacy systems. When PREEMPT_RT is enabled on ARM, regular spinlock is converted to a sleeping lock (mutex-based), which must not be used in atomic context such as hard interrupt handlers. Switch the samsung_pwm_lock to the raw_spinlock, which remains a true non-sleeping spinlock even under PREEMPT_RT.
From the CVE record · Linux
On legacy systems using the Samsung PWM timer as a clocksource, enabling PREEMPT_RT on ARM can turn its regular spinlock into a sleeping lock. Sleeping locks must not be used in atomic contexts such as hard interrupt handlers. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running the Linux kernel on ARM systems with PREEMPT_RT enabled and the Samsung PWM timer used as a clocksource should check their systems; affected versions are not specified.