{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49258","id":"CVE-2022-49258","title":"crypto: ccree - Fix use after free in cc_cipher_exit()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccree - Fix use after free in cc_cipher_exit()\n\nkfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But\nctx_p->user.key is still used in the next line, which will lead to a\nuse after free.\n\nWe can call kfree_sensitive() after dev_dbg() to avoid the uaf.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccree - Fix use after free in cc_cipher_exit()\n\nkfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But\nctx_p->user.key is still used in the next line, which will lead to a\nuse after free.\n\nWe can call kfree_sensitive() after dev_dbg() to avoid the uaf.","published":"2025-02-26T01:56:11.561Z","updated":"2026-10-28T02:30:51.113999245Z","reserved":"2025-02-26T01:49:39.296Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"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":"CISA-ADP"},"metrics":[{"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":"CISA-ADP"},{"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":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"63ee04c8b491ee148489347e7da9fbfd982ca2bb","lessThan":"c93017c8d5ebf55a4e453ac7c84cc84cf92ab570","status":"affected","versionType":"git"},{"version":"63ee04c8b491ee148489347e7da9fbfd982ca2bb","lessThan":"335bf1fc74f775a8255257aa3e33763f2257b676","status":"affected","versionType":"git"},{"version":"63ee04c8b491ee148489347e7da9fbfd982ca2bb","lessThan":"25c358efee5153dfd240d4e0d3169d5bebe9cacd","status":"affected","versionType":"git"},{"version":"63ee04c8b491ee148489347e7da9fbfd982ca2bb","lessThan":"cffb5382bd8d3cf21b874ab5b84bf7618932286b","status":"affected","versionType":"git"},{"version":"63ee04c8b491ee148489347e7da9fbfd982ca2bb","lessThan":"3d950c34074ed74d2713c3856ba01264523289e6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","lessThan":"4.17","status":"unaffected","versionType":"semver"},{"version":"5.10.110","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c93017c8d5ebf55a4e453ac7c84cc84cf92ab570","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/335bf1fc74f775a8255257aa3e33763f2257b676","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/25c358efee5153dfd240d4e0d3169d5bebe9cacd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cffb5382bd8d3cf21b874ab5b84bf7618932286b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3d950c34074ed74d2713c3856ba01264523289e6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49258.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49258","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":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00268,"epssPercentile":0.19101,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49258","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49258","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49258","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-49258","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}