CVE-2022-49770

published 1 May 2025 · updated 15 Aug 2026

ceph: avoid putting the realm twice when decoding snaps fails

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 044bc6d3c2c0e9090b0841e7b723875756534b45, Kernel 274e4c79a3a2a24fba7cfe0e41113f1138785c37, Kernel 2f6e2de3a5289004650118b61f138fe7c28e1905 and 3 more.

In the Linux kernel, the following vulnerability has been resolved: ceph: avoid putting the realm twice when decoding snaps fails 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.0, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <044bc6d3c2c0e9090b0841e7b723875756534b45, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <274e4c79a3a2a24fba7cfe0e41113f1138785c37, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <2f6e2de3a5289004650118b61f138fe7c28e1905, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <51884d153f7ec85e18d607b2467820a90e0f4359, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <cb7495fe957526555782ce0723f79ce92a6db22e, >=982d6011bc30a26e8a3d546e0e7fc7db2c255d85 <fd879c83e87735ab8f00ef7755752cf0cbae24b2044bc6d3c2c0e9090b0841e7b723875756534b45, 274e4c79a3a2a24fba7cfe0e41113f1138785c37, 2f6e2de3a5289004650118b61f138fe7c28e1905, 51884d153f7ec85e18d607b2467820a90e0f4359, cb7495fe957526555782ce0723f79ce92a6db22e, fd879c83e87735ab8f00ef7755752cf0cbae24b2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49770 severity on Zeptric[![CVE-2022-49770](https://zeptric.io/badge/cve/CVE-2022-49770.svg)](https://zeptric.io/cve/CVE-2022-49770)