CVE-2024-58001

ocfs2: handle a symlink read error correctly

No CVSS score yet EPSS 0.23%

Published 27 Feb 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-58001

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-58001 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before cd3e22b206189cbb4a94229002141e1529f83746
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before afa8003f8db62e46c4b171cbf4cec2824148b4f7
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before 8aee4184c5b79e486598c15aa80687c77f6f6e6e
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before 6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before b6833b38984d1e9f20dd80f9ec9050c10d687f30
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before 52a326f93ceb9348264fddf7bab6e345db69e08c
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before 5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f
affected from ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1, before 2b4c2094da6d84e69b843dd3317902e977bf64bd
Other versions: unaffected
Linux
affected 3.5
unaffected before 3.5
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.78 up to and including 6.6.*
unaffected from 6.12.14 up to and including 6.12.*
unaffected from 6.13.3 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-58001 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-58001

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-58001
trivy image --scanners vuln IMAGE | grep CVE-2024-58001

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-58001 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.