{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49770","id":"CVE-2022-49770","title":"ceph: avoid putting the realm twice when decoding snaps fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: avoid putting the realm twice when decoding snaps fails\n\nWhen decoding the snaps fails it maybe leaving the 'first_realm'\nand 'realm' pointing to the same snaprealm memory. And then it'll\nput it twice and could cause random use-after-free, BUG_ON, etc\nissues.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: avoid putting the realm twice when decoding snaps fails\n\nWhen decoding the snaps fails it maybe leaving the 'first_realm'\nand 'realm' pointing to the same snaprealm memory. And then it'll\nput it twice and could cause random use-after-free, BUG_ON, etc\nissues.","published":"2025-05-01T14:09:08.173Z","updated":"2026-10-28T02:30:40.404537124Z","reserved":"2025-04-16T07:17:33.805Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"274e4c79a3a2a24fba7cfe0e41113f1138785c37","status":"affected","versionType":"git"},{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"cb7495fe957526555782ce0723f79ce92a6db22e","status":"affected","versionType":"git"},{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"044bc6d3c2c0e9090b0841e7b723875756534b45","status":"affected","versionType":"git"},{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"2f6e2de3a5289004650118b61f138fe7c28e1905","status":"affected","versionType":"git"},{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"fd879c83e87735ab8f00ef7755752cf0cbae24b2","status":"affected","versionType":"git"},{"version":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","lessThan":"51884d153f7ec85e18d607b2467820a90e0f4359","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","lessThan":"4.0","status":"unaffected","versionType":"semver"},{"version":"4.19.268","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.226","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.157","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.81","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.10","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49770.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49770","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00582,"epssPercentile":0.48589,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49770","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49770","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49770","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49770","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}