Two cherry-picks from v5.17-rc3 and v5.18-rc1. The first extracts some
common code into a new function. The second fixes the CVE in this
new function. Merge failure in a comment in jbd2.h had to be fixed.
Code applied cleanly.
Applied to v5.15/standard/base (after v5.15.32 tag) and compiled.
Ritesh Harjani (2):
jbd2: refactor wait logic for transaction updates into a common
function
jbd2: fix use-after-free of transaction_t race
fs/jbd2/commit.c | 19 ++-----------
fs/jbd2/transaction.c | 66 ++++++++++++++++++++++++++++---------------
include/linux/jbd2.h | 4 ++-
3 files changed, 49 insertions(+), 40 deletions(-)
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11197):
https://lists.yoctoproject.org/g/linux-yocto/message/11197
Mute This Topic: https://lists.yoctoproject.org/mt/90473462/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-