You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ceph: avoid putting the realm twice when decoding snaps fails
jira VULN-65927
cve CVE-2022-49770
commit-author Xiubo Li <[email protected]>
commit 51884d1
upstream-diff Absence of the following commit caused a merge conflict:
2e58664 ("ceph: do not update snapshot context when there is no new snapshot")
When decoding the snaps fails it maybe leaving the 'first_realm'
and 'realm' pointing to the same snaprealm memory. And then it'll
put it twice and could cause random use-after-free, BUG_ON, etc
issues.
Cc: [email protected]
Link: https://tracker.ceph.com/issues/57686
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 51884d1)
Signed-off-by: Pratham Patel <[email protected]>
0 commit comments