CVE-2024-58001

ocfs2: handle a symlink read error correctly

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 02:11 AM UTC
Updated: June 17, 2026 at 08:14 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2913.5 ≤ v < 5.10.2353.5 ≤ v < 5.15.1793.5 ≤ v < 5.4.2913.5 ≤ v < 6.1.1293.5 ≤ v < 6.12.143.5 ≤ v < 6.13.33.5 ≤ v < 6.143.5 ≤ v < 6.6.785.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1295.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.36.2 ≤ v < 6.6.786.7 ≤ v < 6.12.143.5ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1
Vendor states this is fixed in 2b4c2094da6d84e69b843dd3317902e977bf64bd (fixed)
Vendor states this is fixed in 52a326f93ceb9348264fddf7bab6e345db69e08c (fixed)
Vendor states this is fixed in 5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f (fixed)
Vendor states this is fixed in 6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377 (fixed)
Vendor states this is fixed in 8aee4184c5b79e486598c15aa80687c77f6f6e6e (fixed)
Vendor states this is fixed in afa8003f8db62e46c4b171cbf4cec2824148b4f7 (fixed)
Vendor states this is fixed in b6833b38984d1e9f20dd80f9ec9050c10d687f30 (fixed)
Vendor states this is fixed in cd3e22b206189cbb4a94229002141e1529f83746 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.14 (unaffected)
Vendor states this is fixed in 6.13.3 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.78 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b4c2094da6d84e69b843dd3317902e977bf64bd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52a326f93ceb9348264fddf7bab6e345db69e08c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8aee4184c5b79e486598c15aa80687c77f6f6e6e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/afa8003f8db62e46c4b171cbf4cec2824148b4f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6833b38984d1e9f20dd80f9ec9050c10d687f30
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd3e22b206189cbb4a94229002141e1529f83746

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card