{"id":"CVE-2022-49770","aliases":["CVE-2022-49770"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: avoid putting the realm twice when decoding snaps fails","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ceph: evita repetir el dominio cuando falla la decodificación de snaps. Al fallar la decodificación de snaps, puede que \"first_realm\" y \"realm\" apunten a la misma memoria de snaprealm. En ese caso, lo repetirá, lo que podría causar problemas aleatorios de use-after-free, BUG_ON, etc.","source":"nvd"}],"published":"2025-05-01T14:09:08.173Z","modified":"2026-08-15T13:17:28.167Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"274e4c79a3a2a24fba7cfe0e41113f1138785c37","status":"affected"},{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"cb7495fe957526555782ce0723f79ce92a6db22e","status":"affected"},{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"044bc6d3c2c0e9090b0841e7b723875756534b45","status":"affected"},{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"2f6e2de3a5289004650118b61f138fe7c28e1905","status":"affected"},{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"fd879c83e87735ab8f00ef7755752cf0cbae24b2","status":"affected"},{"type":"git","introduced":"982d6011bc30a26e8a3d546e0e7fc7db2c255d85","fixed":"51884d153f7ec85e18d607b2467820a90e0f4359","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"4.19.268","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.226","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.157","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.81","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.35","fixed":"4.19.268"},{"status":"affected","introduced":"4.20","fixed":"5.4.226"},{"status":"affected","introduced":"5.5","fixed":"5.10.157"},{"status":"affected","introduced":"5.11","fixed":"5.15.81"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"2.6.34"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/274e4c79a3a2a24fba7cfe0e41113f1138785c37","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb7495fe957526555782ce0723f79ce92a6db22e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/044bc6d3c2c0e9090b0841e7b723875756534b45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f6e2de3a5289004650118b61f138fe7c28e1905","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd879c83e87735ab8f00ef7755752cf0cbae24b2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51884d153f7ec85e18d607b2467820a90e0f4359","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49770","url":"https://www.cve.org/CVERecord?id=CVE-2022-49770","licence":"CVE Terms of Use","modified":"2026-08-15T12:22:57.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49770","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49770","licence":"Public domain","modified":"2026-08-15T13:17:28.167Z"}],"updatedAt":"2026-11-25T22:58:20.861Z","epss":{"score":0.00782,"percentile":0.52528,"date":"2026-11-30T12:00:22.000Z"}}