diff options
| author | Simon Trimmer <[email protected]> | 2025-07-31 16:01:09 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-08-01 13:36:21 +0000 |
| commit | ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667 (patch) | |
| tree | f83fad48ee3776729859c0fac878bc6912d78dbd /drivers/fpga/microchip-spi.c | |
| parent | MAINTAINERS: Add entries for the RZ/V2H(P) RSPI (diff) | |
| download | kernel-ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667.tar.gz kernel-ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667.zip | |
spi: cs42l43: Property entry should be a null-terminated array
The software node does not specify a count of property entries, so the
array must be null-terminated.
When unterminated, this can lead to a fault in the downstream cs35l56
amplifier driver, because the node parse walks off the end of the
array into unknown memory.
Fixes: 0ca645ab5b15 ("spi: cs42l43: Add speaker id support to the bridge configuration")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220371
Signed-off-by: Simon Trimmer <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
