{"id":"CVE-2022-49770","published":"2025-05-01T14:09:08Z","modified":"2026-08-15T12:22:57Z","title":"ceph: avoid putting the realm twice when decoding snaps fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00582,"percentile":0.47806,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37","tags":[]},{"url":"https://git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e","tags":[]},{"url":"https://git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45","tags":[]},{"url":"https://git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905","tags":[]},{"url":"https://git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2","tags":[]},{"url":"https://git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359","tags":[]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":9.56},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < 274e4c79a3a2a24fba7cfe0e41113f1138785c37",">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < cb7495fe957526555782ce0723f79ce92a6db22e",">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < 044bc6d3c2c0e9090b0841e7b723875756534b45",">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < 2f6e2de3a5289004650118b61f138fe7c28e1905",">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < fd879c83e87735ab8f00ef7755752cf0cbae24b2",">= 982d6011bc30a26e8a3d546e0e7fc7db2c255d85, < 51884d153f7ec85e18d607b2467820a90e0f4359"]},{"vendor":"Linux","product":"Linux","versions":["4.0"]}],"euvd":{"id":"EUVD-2025-12989","exploited":false,"provenance":"source"}}