summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-07-20 19:52:20 +0800
committerJohan Hovold <johan@kernel.org>2026-07-20 16:24:04 +0200
commit52beeed5e5d257e1da3e2d2f2fb25bc1e3cdb6d2 (patch)
tree33e56d9d976d1ff9685cd6a3ff9119ab188d892a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentfad0fd120e29041b3e6cdf41bb12e3184fb524a2 (diff)
USB: serial: mxuport: validate firmware header size
mxuport_probe() reads version bytes at fixed offsets after request_firmware() succeeds. Firmware loading success does not prove that the blob reaches the highest version offset. Reject short firmware images before reading the version bytes. This is source-level parser hardening; no affected device or crash was observed. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Fixes: ee467a1f2066 ("USB: serial: add Moxa UPORT 12XX/14XX/16XX driver") Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions