CVE-2024-46736

smb: client: fix double put of @cfile in smb2_rename_path()

HIGH
7.8
CVSS Score
Published: September 18, 2024 at 07:11 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix double put of @cfile in smb2_rename_path() If smb2_set_path_attr() is called with a valid @cfile and returned -EINVAL, we need to call cifs_get_writable_path() again as the reference of @cfile was already dropped by previous smb2_compound_op() call.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.6.32 ≤ v < 6.6.516.9 ≤ v < 6.10.106.9 ≤ v < 6.111e60bc0e954389af82f1d9a85f13a63f6572350f6.11 rc16.11 rc26.11 rc36.11 rc46.11 rc56.11 rc66.6.3271f15c90e785d1de4bcd65a279e7256684c25c0d
Vendor states this is fixed in 1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3 (fixed)
Vendor states this is fixed in 3523a3df03c6f04f7ea9c2e7050102657e331a4f (fixed)
Vendor states this is fixed in b27ea9c96efd2c252a981fb00d0f001b86c90f3e (fixed)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3523a3df03c6f04f7ea9c2e7050102657e331a4f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b27ea9c96efd2c252a981fb00d0f001b86c90f3e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card