Files
linux/drivers/greybus
Pengpeng Hou 18b6510f64 greybus: manifest: validate string descriptor header
identify_descriptor() computes a string descriptor size from
desc->string.length.

Require the descriptor to contain the fixed string descriptor header
before reading the variable string length. The existing descriptor-size
check then reports the short descriptor.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260706091935.78020-1-pengpeng@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-17 16:14:10 +02:00
..
2023-10-27 13:19:04 +02:00
2026-04-02 15:55:01 +02:00