Skip to content
Heist/ feed
Back to feed
HighFix available

ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.323, 5.10.227, 5.15.168, 5.4.285, 6.1.112, 6.10.12, 6.6.53
CVEs
CVE-2024-41016
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:55 UTC · Revision 1

Source evidence

ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

core-osv · Original source

Published 29 Jul 2024, 06:37 UTC

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.

osv:CVE-2024-41016

Kernel

Fixed versions: 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.112, 6.6.53, 6.10.12

Complete source record
{
  "id": "383b0ad8cb7da27a49ea4f9909fc82f96c7cb1dd3bbe13d9f59a743e9a2c24fa",
  "url": "https://osv.dev/vulnerability/CVE-2024-41016",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()",
    "summary": "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.",
    "evidence": "osv:CVE-2024-41016",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.323",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.285",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.227",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.168",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-41016",
      "aliases": [
        "CVE-2024-41016"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cf1d6c763fbcb115263114302485ad17e7933d87"
                },
                {
                  "fixed": "e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090"
                },
                {
                  "fixed": "e8f9c4af7af7e9e4cd09c0251c7936593147419f"
                },
                {
                  "fixed": "57a3d89831fcaa2cdbe024b47c7c36d5a56c3637"
                },
                {
                  "fixed": "c031d286eceb82f72f8623b7f4abd2aa491bfb5e"
                },
                {
                  "fixed": "cfb926051fab19b10d1e65976211f364aa820180"
                },
                {
                  "fixed": "c726dea9d0c806d64c26fcef483b1fb9474d8c5e"
                },
                {
                  "fixed": "e4ffea01adf3323c821b6f37e9577d2d400adbaa"
                },
                {
                  "fixed": "af77c4fc1871847b528d58b7fdafb4aa1f6a9262"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41016.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.28"
                },
                {
                  "fixed": "4.19.323"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.285"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.227"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.168"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.112"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41016.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.260184375Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
        "https://git.kernel.org/stable/c/57a3d89831fcaa2cdbe024b47c7c36d5a56c3637",
        "https://git.kernel.org/stable/c/af77c4fc1871847b528d58b7fdafb4aa1f6a9262",
        "https://git.kernel.org/stable/c/c031d286eceb82f72f8623b7f4abd2aa491bfb5e",
        "https://git.kernel.org/stable/c/c726dea9d0c806d64c26fcef483b1fb9474d8c5e",
        "https://git.kernel.org/stable/c/cfb926051fab19b10d1e65976211f364aa820180",
        "https://git.kernel.org/stable/c/e2b3d7a9d019d4d1a0da6c3ea64a1ff79c99c090",
        "https://git.kernel.org/stable/c/e4ffea01adf3323c821b6f37e9577d2d400adbaa",
        "https://git.kernel.org/stable/c/e8f9c4af7af7e9e4cd09c0251c7936593147419f",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41016.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41016",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41016.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41016",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491741,
  "published_at": "2024-07-29T06:37:02.53+00:00"
}