Actions
Bug #622
openMMIO BAR is truncated on 64-bit systems
Start date:
01/10/2026
Due date:
% Done:
0%
Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
pcidev_readbar returns the values as uintptr_t however in a bunch of places the value is stored in uint32_t. On systems where the NIC gets a 64-bit MMIO BAR above 4G, this truncates the address and causes /dev/mem mmap failures (EPERM) and crashes.
https://review.coreboot.org/c/flashrom/+/90638 fixes one place but there are few other remaining.
No data to display
Actions