CVE-2022-49770

Source
https://cve.org/CVERecord?id=CVE-2022-49770
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49770.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49770
Downstream
Related
Published
2025-05-01T14:09:08.173Z
Modified
2026-04-03T13:14:33.883270509Z
Summary
ceph: avoid putting the realm twice when decoding snaps fails
Details

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 'firstrealm' and 'realm' pointing to the same snaprealm memory. And then it'll put it twice and could cause random use-after-free, BUGON, etc issues.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49770.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49770.json"