CVE-2022-3595 Linux Kernel CIFS sess.c sess_free_buffer double free

Low 3.5 Published Updated

A double free vulnerability in the Linux Kernel CIFS handler allows attackers to potentially execute arbitrary code or cause a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3595?

CVE-2022-3595 is a low-severity use after free vulnerability in Linux kernel, published on 18 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in Linux Kernel. It has been rated as problematic. Affected by this issue is the function sess_free_buffer of the file fs/cifs/sess.c of the component CIFS Handler. The manipulation leads to double free. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211364.

Weakness: CWE-415, CWE-119

Which versions are affected by CVE-2022-3595?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-3595?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-3595 being exploited?

There is no known exploitation of CVE-2022-3595 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-11269, GHSA-6f3f-h9qx-hrcc, UBUNTU-CVE-2022-3595.

Is CVE-2022-3595 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free