CVE-2023-3397 Kernel: slab-use-after-free write in txend due to race condition

High 7.0 Published Updated

A race condition in the Linux Kernel JFS filesystem allows local attackers to crash the system or leak kernel information.

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-2023-3397?

CVE-2023-3397 is a high-severity use after free vulnerability in Linux kernel, published on 1 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A race condition occurred between the functions lmLogClose and txEnd in JFS, in the Linux Kernel, executed in different threads. This flaw allows a local attacker with normal user privileges to crash the system or leak internal kernel information.

Weakness: CWE-362, CWE-416

Which versions are affected by CVE-2023-3397?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-3397?

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-2023-3397 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-3397, GHSA-cf7q-h67g-w62q, ROOT-OS-DEBIAN-11-CVE-2023-3397, ROOT-OS-DEBIAN-12-CVE-2023-3397, ROOT-OS-DEBIAN-13-CVE-2023-3397, ROOT-OS-UBUNTU-2204-CVE-2023-3397 and 1 more.

Is CVE-2023-3397 in your software?

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

Check your SBOMs for free