CVE-2022-49770 in the critical feed json
ceph: avoid putting the realm twice when decoding snaps fails
published 2025-05-01 18 mo ago modified 2026-08-15 2 mo ago also EUVD-2025-12989
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.268, 5.4.226, 5.10.157, 5.15.81, 6.0.10, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.10-1
debian advisories DEBIAN-CVE-2022-49770
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
- linux-gke Ubuntu 22.04 LTS 5.15.0-1028.33
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1045.50
ubuntu advisories UBUNTU-CVE-2022-49770
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.103.2
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.103.2
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.127.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.127.1
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.173.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.173.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.173.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 5.14.21-150400.24.173.1
suse advisories SUSE-SU-2025:02852-1SUSE-SU-2025:02851-1SUSE-SU-2025:02849-1SUSE-SU-2025:02588-1SUSE-SU-2025:02262-1SUSE-SU-2025:02173-1
- git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37 commit
- git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e commit
- git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45 commit
- git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905 commit
- git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2 commit
- git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49770 updated cvss 7.8
kernel: ceph: avoid putting the realm twice when decoding snaps fails
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “To mitigate this issue, prevent module ceph from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37
patch
-
git.kernel.org
/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e
patch
-
git.kernel.org
/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45
patch
-
git.kernel.org
/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905
patch
-
git.kernel.org
/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2
patch
-
git.kernel.org
/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359
patch
Sources
- CVE List CVE-2022-49770
- NVD CVE-2022-49770
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.