PCI/ROM: Fix PCI ROM header check bug
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAEDJI -------------------------------- In UEFI Specification Version 2.8, describes that the PCIR data structure must start on a 4-byte boundary. Add checks to prevent vulnerabilities. Fixes: d7ad2254 ("[IA64] SN: Correct ROM resource length for BIOS copy") Signed-off-by:liwei <liwei728@huawei.com>
Loading
Please sign in to comment