CVE-2024-41016

ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

State
Published
Severity
7.8 High
Published
Jul 29, 2024
Updated
Oct 15, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090Affected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before e8f9c4af7af7e9e4cd09c0251c7936593147419fAffected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before 57a3d89831fcaa2cdbe024b47c7c36d5a56c3637Affected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before c031d286eceb82f72f8623b7f4abd2aa491bfb5eAffected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before cfb926051fab19b10d1e65976211f364aa820180Affected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before c726dea9d0c806d64c26fcef483b1fb9474d8c5eAffected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before e4ffea01adf3323c821b6f37e9577d2d400adbaaAffected
  • cf1d6c763fbcb115263114302485ad17e7933d87 to before af77c4fc1871847b528d58b7fdafb4aa1f6a9262Affected
LinuxLinux
  • 2.6.28Affected
  • before 2.6.28Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.112 through 6.1.*Not affected
  • 6.6.53 through 6.6.*Not affected
  • 6.10.12 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.