[IMPACT]
Commit 82c3768b8d68 ("efi/capsule-loader: Use a cached copy of the
capsule header") refactored the capsule loading code that maps the
capsule header, to avoid having to map it several times. However,
as it turns out, the vmap() call we ended up removing did not just
map the header, but the entire capsule image, and dropping this
virtual mapping breaks capsules that are processed by the firmware
immediately (i.e., without a reboot).
[IMPACT] loader: Use a cached copy of the
Commit 82c3768b8d68 ("efi/capsule-
capsule header") refactored the capsule loading code that maps the
capsule header, to avoid having to map it several times. However,
as it turns out, the vmap() call we ended up removing did not just
map the header, but the entire capsule image, and dropping this
virtual mapping breaks capsules that are processed by the firmware
immediately (i.e., without a reboot).
[FIX] /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ drivers/ firmware/ efi/capsule- loader. c?id=f24c4d4780 13d82bd1b943df5 66fff3561d52864
The following patch fixes the issue
https:/
[TEST]
[REGRESSION POTENTIAL]