CVE-2022-49770Published May 1, 2025 · May 1Updated Oct 28
ceph: avoid putting the realm twice when decoding snaps fails
Linux
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 · < 51884d153f7ec85e18d607b2467820a90e0f4359| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Ceph snap decoding can release the same snaprealm twice when decoding fails. This can cause a use-after-free or kernel BUG_ON. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Anyone running the Linux kernel with Ceph support should check their version; affected versions are not specified.