Menu

Star on GitHub · 3.3k

CVE-2024-53185

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix NULL ptr deref in crypto_aead_setkey() Neither SMB3.0 or SMB3.02 supports encryption negotiate context, so whe…

Published Dec 27, 2024CWE-476EPSS 0.48%

Overview

CVE-2024-53185 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix NULL ptr deref in crypto_aead_setkey()

Neither SMB3.0 or SMB3.02 supports encryption negotiate context, so

when SMB2_GLOBAL_CAP_ENCRYPTION flag is set in the negotiate response,

the client uses AES-128-CCM as the default cipher. See MS-SMB2

3.3.5.4.

Commit b0abcd65ec54 ("smb: client: fix UAF in async decryption") added

a @server->cipher_type check to conditionally call

smb3_crypto_aead_allocate(), but that check would always be false as

@server->cipher_type is unset for SMB3.02.

Fix the following KASAN splat by setting @server->cipher_type for

SMB3.02 as well.

mount.cifs //srv/share /mnt -o vers=3.02,seal,...

BUG: KASAN: null-ptr-deref in crypto_aead_setkey+0x2c/0x130

Read of size 8 at addr 0000000000000020 by task mount.cifs/1095

CPU: 1 UID: 0 PID: 1095 Comm: mount.cifs Not tainted 6.12.0 #1

Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-3.fc41

04/01/2014

Call Trace:

<TASK>

d

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-53185?

CVE-2024-53185 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-53185?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-53185?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-53185?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-53185 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →