What’s Vulnerable › Vulnerabilities

CVE-2023-5345: Use-after-free in Linux kernel's fs/smb/client component

Description

A use-after-free vulnerability in the Linux kernel's fs/smb/client component can be exploited to achieve local privilege escalation. In case of an error in smb3_fs_context_parse_param, ctx->password was freed but the field was not set to NULL which could lead to double free. We recommend upgrading past commit e6e43b8aa7cd3c3af686caf0c2e11819a886d705.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.56, 6.5.6. Check the vendor advisory for mitigations.

References

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