CVE-2021-46960
kernel: cifs: Return correct error code from smb2_get_enc_key
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 27, 2024
Updated · October 17, 2026
Description
A flaw was found in the Linux kernel's Common Internet File System (CIFS) implementation. An incorrect error code is returned when the client fails to retrieve an encryption key during encrypted file communications. A local user can exploit this issue during file operations to trigger a kernel warning, potentially causing system instability or a Denial of Service (DoS).
Statement
No Red Hat Products are affected by this vulnerability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-393 · Return of Wrong Status Code