What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.39, 6.3.13, 6.4.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53377 or the next vulnerability affects your stack