Linux kernel denial of service in ltc3676 register dumps
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 37b918a034feda1b1ef404acf003812f37ab8da2 · < 199a62d70314d21f06a9a6faaa3ef54d0404910c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
regulator: ltc3676: don't read the write-only HRST and CLIRQ registers
HRST (0x1e) and CLIRQ (0x1f) are write-only command strobes. Writing HRST triggers a hard reset of the chip and writing CLIRQ clears the interrupt; reading them returns nothing useful, and the read itself fires the command.
The result is that a plain register dump resets the board:
cat /sys/kernel/debug/regmap/2-003c/registers
walks every readable register, hits HRST, and the board reboots.
Split the callback back in two so HRST and CLIRQ stay writable but are no longer readable. The readable range is left unchanged (LTC3676_BUCK1 ... LTC3676_IRQSTAT).
From the CVE record · Linux
The Linux kernel ltc3676 regulator driver incorrectly treats the write-only HRST and CLIRQ registers as readable. A local user who can read the debugfs regmap registers file can trigger a board reset with a register dump, because reading HRST fires its reset command.
Engineers running Linux kernels with the ltc3676 regulator driver should check whether their kernel includes the fix; affected versions were not specified.