In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: avoid reading out of bounds when loading TX power FW elements Because the loop-expression will do one more time before getting false from cond-expression, the original code copied one more entry size beyond valid region. Fix it by moving the entry copy to loop-body.
https://git.kernel.org/stable/c/ed2e4bb17a4884cf29c3347353d8aabb7265b46c
https://git.kernel.org/stable/c/83c84cdb75572048b67d6a3916283aeac865996e
https://git.kernel.org/stable/c/4007c3d2da31d0c755ea3fcf55e395118e5d5621