CVE-2023-53377

cifs: prevent use-after-free by freeing the cfile later

HIGH
7.8
CVSS Score
Published: September 18, 2025 at 01:33 PM UTC
Updated: August 5, 2026 at 10:24 AM 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.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: prevent use-after-free by freeing the cfile later In smb2_compound_op we have a possible use-after-free which can cause hard to debug problems later on. This was revealed during stress testing with KASAN enabled kernel. Fixing it by moving the cfile free call to a few lines below, after the usage.

Affected

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

v ≥ 6.0.166.0.16 ≤ v < 6.16.0.16 ≤ v < 6.1.396.1 ≤ v < 6.1.396.1 ≤ v < 6.3.136.1 ≤ v < 6.4.46.1 ≤ v < 6.56.2 ≤ v < 6.3.136.4 ≤ v < 6.4.42d046892a493d9760c35fdaefc3017f27f91b6216.0.166.176894f3e2f71177747b8b4763fb180e800279585
Vendor states this is fixed in 33f736187d08f6bc822117629f263b97d3df4165 (fixed)
Vendor states this is fixed in 4fe07d55a5461e66a55fbefb57f85ff0facea32b (fixed)
Vendor states this is fixed in b6353518ef8180816e863aa23b06456f395404d6 (fixed)
Vendor states this is fixed in d017880782cf71f8820ee4a2002843893176501d (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.39 (unaffected)
Vendor states this is fixed in 6.3.13 (unaffected)
Vendor states this is fixed in 6.4.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

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

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

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