CVE-2022-49770: ceph: avoid putting the realm twice when decoding snaps fails

Published May 1, 2025
·
Updated

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.

Affected Software

18 affected components
Linux Kernel
Linux Linux kernel>=2.6.35<4.19.268
Linux Linux kernel>=4.20<5.4.226
Linux Linux kernel>=5.5<5.10.157
Linux Linux kernel>=5.11<5.15.81
Linux Linux kernel>=5.16<6.0.10
Linux Linux kernel=2.6.34
Linux Linux kernel=2.6.34-rc2
Linux Linux kernel=2.6.34-rc3
Linux Linux kernel=2.6.34-rc4
Linux Linux kernel=2.6.34-rc5
Linux Linux kernel=2.6.34-rc6
Linux Linux kernel=2.6.34-rc7
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Linux Linux kernel=6.1-rc5

Event History

May 1, 2025
CVE Published
via MITRE·02:09 PM
Data Sourced
via MITRE·02:09 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49770?

CVE-2022-49770 has a medium severity rating due to potential memory management issues in the Linux kernel.

2

How do I fix CVE-2022-49770?

To fix CVE-2022-49770, update the Linux kernel to the latest patched version provided by the Linux maintainers.

3

What are the potential impacts of CVE-2022-49770?

The impacts of CVE-2022-49770 include possible system instability and increased risk of denial-of-service conditions due to improper memory handling.

4

Which versions of the Linux kernel are affected by CVE-2022-49770?

CVE-2022-49770 affects various versions of the Linux kernel, particularly those before the patches that address this vulnerability.

5

Is CVE-2022-49770 actively exploited in the wild?

As of now, there is no public indication that CVE-2022-49770 is being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203