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

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
18 September 2025

What is CVE-2023-53377?

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 Version(s)

Linux 76894f3e2f71177747b8b4763fb180e800279585 < 4fe07d55a5461e66a55fbefb57f85ff0facea32b

Linux 76894f3e2f71177747b8b4763fb180e800279585

Linux 76894f3e2f71177747b8b4763fb180e800279585

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2023-53377 : Linux Kernel Vulnerability in SMB2 Handling Affecting CIFS Client