diff options
| author | Peng Hao <[email protected]> | 2020-05-22 09:29:25 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-05-25 08:45:17 +0000 |
| commit | 202500d21654874aa03243e91f96de153ec61860 (patch) | |
| tree | 1015cdcac9853fb6d34e28a0f4f660f80716ca54 /scripts/mod/file2alias.c | |
| parent | mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE (diff) | |
| download | kernel-202500d21654874aa03243e91f96de153ec61860.tar.gz kernel-202500d21654874aa03243e91f96de153ec61860.zip | |
mmc: block: Fix use-after-free issue for rpmb
The data structure member “rpmb->md” was passed to a call of the function
“mmc_blk_put” after a call of the function “put_device”. Reorder these
function calls to keep the data accesses consistent.
Fixes: 1c87f7357849 ("mmc: block: Fix bug when removing RPMB chardev ")
Signed-off-by: Peng Hao <[email protected]>
Cc: [email protected]
[Uffe: Fixed up mangled patch and updated commit message]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
