CVE-2022-49258

HIGH

Linux Kernel 4.17-5.10.110, 5.11-5.15.33, 5.16-5.16.19, 5.17-5.17.2 - Use-After-Free in cc_cipher_exit()

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 15.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (17)
linux/Kernel 4.17.0 - 5.10.110linux
linux/Kernel 5.11.0 - 5.15.33linux
linux/Kernel 5.16.0 - 5.16.19linux
linux/Kernel 5.17.0 - 5.17.2linux
Linux/Linux < 4.17
Linux/Linux 4.17
Linux/Linux 5.10.110 - 5.10.*
Linux/Linux 5.15.33 - 5.15.*
Linux/Linux 5.16.19 - 5.16.*
Linux/Linux 5.17.2 - 5.17.*
... and 7 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026