{"id":"CVE-2022-49770","summary":"ceph: avoid putting the realm twice when decoding snaps fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: avoid putting the realm twice when decoding snaps fails\n\nWhen decoding the snaps fails it maybe leaving the 'first_realm'\nand 'realm' pointing to the same snaprealm memory. And then it'll\nput it twice and could cause random use-after-free, BUG_ON, etc\nissues.","modified":"2026-04-03T13:14:48.520612Z","published":"2025-05-01T14:09:08.173Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:01995-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1","SUSE-SU-2025:02588-1","SUSE-SU-2025:02849-1","SUSE-SU-2025:02851-1","SUSE-SU-2025:02852-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49770.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49770.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49770"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9030aaf9bf0a1eee47a154c316c789e959638b0f"},{"fixed":"274e4c79a3a2a24fba7cfe0e41113f1138785c37"},{"fixed":"cb7495fe957526555782ce0723f79ce92a6db22e"},{"fixed":"044bc6d3c2c0e9090b0841e7b723875756534b45"},{"fixed":"2f6e2de3a5289004650118b61f138fe7c28e1905"},{"fixed":"fd879c83e87735ab8f00ef7755752cf0cbae24b2"},{"fixed":"51884d153f7ec85e18d607b2467820a90e0f4359"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49770.json"}}],"schema_version":"1.7.5"}