CVE-2024-58001 ocfs2: handle a symlink read error correctly

Medium 5.5 Published Updated

A missing page unlock on symlink read errors in the OCFS2 filesystem can cause a kernel deadlock or crash, leading to denial of service.

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-2024-58001?

CVE-2024-58001 is a medium-severity vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: handle a symlink read error correctly

Patch series "Convert ocfs2 to use folios".

Mark did a conversion of ocfs2 to use folios and sent it to me as a giant patch for review ;-)

So I've redone it as individual patches, and credited Mark for the patches where his code is substantially the same. It's not a bad way to do it; his patch had some bugs and my patches had some bugs. Hopefully all our bugs were different from each other. And hopefully Mark likes all the changes I made to his code!

This patch (of 23):

If we can't read the buffer, be sure to unlock the page before returning.

Which versions are affected by CVE-2024-58001?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-58001?

Apply the vendor's patch.

Is CVE-2024-58001 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-58001, DEBIAN-CVE-2024-58001, GHSA-wj2h-7vcx-3r7w, ROOT-OS-UBUNTU-2404-CVE-2024-58001, UBUNTU-CVE-2024-58001.

Is CVE-2024-58001 in your software?

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

Check your SBOMs for free