summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-21 08:39:55 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-21 12:07:43 +0300
commitf1d81af2521ad504a20481fef12c358d26e6c3a6 (patch)
treead3ae32988cc67e7c493ada12d2bfda3ffaa907b /tools/lib/python
parent164de1f81266bcac60ccc1580b02241447047621 (diff)
platform/x86: ibm_rtl: Fix potential OOB read at signature search
The loop for signature search fetches 22 bytes of struct ibm_rtl_table at each check, while the loop count is calculated in 4 bytes unit, which means that, at the last entry, it fetches over the limit. Rewrite the loop to use the byte offset and correct the boundary condition check for avoiding the potential OOB access. Fixes: 15dd100349b8 ("platform/x86: ibm_rtl: fix EBDA signature search pointer arithmetic") Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261021064012.457870-1-tiwai@suse.de Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions