CVE-2022-49770
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.05%• Percentile: 16%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- linux•linux
≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 274e4c79a3a2a24fba7cfe0e41113f1138785c37 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < cb7495fe957526555782ce0723f79ce92a6db22e | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 044bc6d3c2c0e9090b0841e7b723875756534b45 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 2f6e2de3a5289004650118b61f138fe7c28e1905 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < fd879c83e87735ab8f00ef7755752cf0cbae24b2 | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 51884d153f7ec85e18d607b2467820a90e0f4359 | 2.6.34
- linux•linux_kernel
≥ 2.6.35, < 4.19.268 | ≥ 4.20, < 5.4.226 | ≥ 5.5, < 5.10.157 | ≥ 5.11, < 5.15.81 | ≥ 5.16, < 6.0.10 | 2.6.34 | 2.6.34:rc2 | 2.6.34:rc3 | 2.6.34:rc4 | 2.6.34:rc5 | 2.6.34:rc6 | 2.6.34:rc7 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4 | 6.1:rc5
References (6)
- https://git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37
- https://git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e
- https://git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45
- https://git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905
- https://git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2
- https://git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359