CVE-2022-49258
published 2025-02-26CVE-2022-49258: In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cc_cipher_exit() kfree_sensitive(ctx_p->user.key)…
PriorityP340high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
16.5th percentile
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccree - Fix use after free in cc_cipher_exit()
kfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But
ctx_p->user.key is still used in the next line, which will lead to a
use after free.
We can call kfree_sensitive() after dev_dbg() to avoid the uaf.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 63ee04c8b491ee148489347e7da9fbfd982ca2bb < c93017c8d5ebf55a4e453ac7c84cc84cf92ab570 | c93017c8d5ebf55a4e453ac7c84cc84cf92ab570 |
| linux | linux | >= 63ee04c8b491ee148489347e7da9fbfd982ca2bb < 335bf1fc74f775a8255257aa3e33763f2257b676 | 335bf1fc74f775a8255257aa3e33763f2257b676 |
| linux | linux | >= 63ee04c8b491ee148489347e7da9fbfd982ca2bb < 25c358efee5153dfd240d4e0d3169d5bebe9cacd | 25c358efee5153dfd240d4e0d3169d5bebe9cacd |
| linux | linux | >= 63ee04c8b491ee148489347e7da9fbfd982ca2bb < cffb5382bd8d3cf21b874ab5b84bf7618932286b | cffb5382bd8d3cf21b874ab5b84bf7618932286b |
| linux | linux | >= 63ee04c8b491ee148489347e7da9fbfd982ca2bb < 3d950c34074ed74d2713c3856ba01264523289e6 | 3d950c34074ed74d2713c3856ba01264523289e6 |
| linux | linux_kernel | >= 0 < 5.10.113-1 | 5.10.113-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 4.17 < 5.10.110 | 5.10.110 |
| linux | linux_kernel | >= 5.11 < 5.15.33 | 5.15.33 |
| linux | linux_kernel | >= 5.16 < 5.16.19 | 5.16.19 |
| linux | linux_kernel | >= 5.17 < 5.17.2 | 5.17.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: crypto: ccree - Fix use after free in cc_cipher_exit()
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2022-49258 [HIGH] CWE-416 kernel: crypto: ccree - Fix use after free in cc_cipher_exit()
kernel: crypto: ccree - Fix use after free in cc_cipher_exit()
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccree - Fix use after free in cc_cipher_exit()
kfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But
ctx_p->user.key is still used in the next line, which will lead to a
use after free.
We can call kfree_sensitive() after dev_dbg() to avoid the uaf.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package: kernel (Red H
Debian
CVE-2022-49258: linux - In the Linux kernel, the following vulnerability has been resolved: crypto: ccr...
vendor_debian·2022·CVSS 7.8
CVE-2022-49258 [HIGH] CVE-2022-49258: linux - In the Linux kernel, the following vulnerability has been resolved: crypto: ccr...
In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cc_cipher_exit() kfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But ctx_p->user.key is still used in the next line, which will lead to a use after free. We can call kfree_sensitive() after dev_dbg() to avoid the uaf.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: resolved (fixed in 5.10.113-1)
forky: resolved (fixed in 5.17.3-1)
sid: resolved (fixed in 5.17.3-1)
trixie: resolved (fixed in 5.17.3-1)
GHSA
GHSA-75q5-6x22-qjpw: In the Linux kernel, the following vulnerability has been resolved:
crypto: ccree - Fix use after free in cc_cipher_exit()
kfree_sensitive(ctx_p->us
ghsa_unreviewed·2025-02-27
CVE-2022-49258 [HIGH] CWE-416 GHSA-75q5-6x22-qjpw: In the Linux kernel, the following vulnerability has been resolved:
crypto: ccree - Fix use after free in cc_cipher_exit()
kfree_sensitive(ctx_p->us
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccree - Fix use after free in cc_cipher_exit()
kfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But
ctx_p->user.key is still used in the next line, which will lead to a
use after free.
We can call kfree_sensitive() after dev_dbg() to avoid the uaf.
OSV
CVE-2022-49258: In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cc_cipher_exit() kfree_sensitive(ctx_p->user
osv·2025-02-26·CVSS 7.8
CVE-2022-49258 [HIGH] CVE-2022-49258: In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cc_cipher_exit() kfree_sensitive(ctx_p->user
In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cc_cipher_exit() kfree_sensitive(ctx_p->user.key) will free the ctx_p->user.key. But ctx_p->user.key is still used in the next line, which will lead to a use after free. We can call kfree_sensitive() after dev_dbg() to avoid the uaf.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/25c358efee5153dfd240d4e0d3169d5bebe9cacdhttps://git.kernel.org/stable/c/335bf1fc74f775a8255257aa3e33763f2257b676https://git.kernel.org/stable/c/3d950c34074ed74d2713c3856ba01264523289e6https://git.kernel.org/stable/c/c93017c8d5ebf55a4e453ac7c84cc84cf92ab570https://git.kernel.org/stable/c/cffb5382bd8d3cf21b874ab5b84bf7618932286b
2025-02-26
Published