CVE-2024-41016

ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 06:37 AM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

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%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry() xattr in ocfs2 maybe 'non-indexed', which saved with additional space requested. It's better to check if the memory is out of bound before memcmp, although this possibility mainly comes from crafted poisonous images.

Affected

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

All versionsv < 4.19.3234.20 ≤ v < 5.4.2855.11 ≤ v < 5.15.1685.16 ≤ v < 6.1.1125.5 ≤ v < 5.10.2276.2 ≤ v < 6.6.536.7 ≤ v < 6.10.122.6.28cf1d6c763fbcb115263114302485ad17e7933d87
Vendor states this is fixed in 57a3d89831fcaa2cdbe024b47c7c36d5a56c3637 (fixed)
Vendor states this is fixed in af77c4fc1871847b528d58b7fdafb4aa1f6a9262 (fixed)
Vendor states this is fixed in c031d286eceb82f72f8623b7f4abd2aa491bfb5e (fixed)
Vendor states this is fixed in c726dea9d0c806d64c26fcef483b1fb9474d8c5e (fixed)
Vendor states this is fixed in cfb926051fab19b10d1e65976211f364aa820180 (fixed)
Vendor states this is fixed in e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090 (fixed)
Vendor states this is fixed in e4ffea01adf3323c821b6f37e9577d2d400adbaa (fixed)
Vendor states this is fixed in e8f9c4af7af7e9e4cd09c0251c7936593147419f (fixed)
Vendor states this is fixed in 2.6.28 (unaffected)
Vendor states this is fixed in 4.19.323 (unaffected)
Vendor states this is fixed in 5.10.227 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.112 (unaffected)
Vendor states this is fixed in 6.10.12 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.53 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

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