Skip to content
Heist/ feed
Back to feed
HighFix available

ocfs2: add bounds checking to ocfs2_xattr_find_entry()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ocfs2: add bounds checking to ocfs2_xattr_find_entry() Add a paranoia check to make sure it doesn't stray beyond valid memory region containing ocfs2 xattr entries when scanning for a match. It will prevent out-of-bound access in case of crafted 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-47670
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:53 UTC · Revision 1

Source evidence

ocfs2: add bounds checking to ocfs2_xattr_find_entry()

core-osv · Original source

Published 9 Oct 2024, 14:49 UTC

In the Linux kernel, the following vulnerability has been resolved: ocfs2: add bounds checking to ocfs2_xattr_find_entry() Add a paranoia check to make sure it doesn't stray beyond valid memory region containing ocfs2 xattr entries when scanning for a match. It will prevent out-of-bound access in case of crafted images.

osv:CVE-2024-47670

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": "0731e4c7ae159344520a748e3bfb5e396a54b2e1bf8b73313d5955b763db490f",
  "url": "https://osv.dev/vulnerability/CVE-2024-47670",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ocfs2: add bounds checking to ocfs2_xattr_find_entry()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ocfs2: add bounds checking to ocfs2_xattr_find_entry() Add a paranoia check to make sure it doesn't stray beyond valid memory region containing ocfs2 xattr entries when scanning for a match. It will prevent out-of-bound access in case of crafted images.",
    "evidence": "osv:CVE-2024-47670",
    "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-47670",
      "aliases": [
        "CVE-2024-47670"
      ],
      "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": "b49a786beb11ff740cb9e0c20b999c2a0e1729c2"
                },
                {
                  "fixed": "60c0d36189bad58b1a8e69af8781d90009559ea1"
                },
                {
                  "fixed": "34759b7e4493d7337cbc414c132cef378c492a2c"
                },
                {
                  "fixed": "5bbe51eaf01a5dd6fb3f0dea81791e5dbc6dc6dd"
                },
                {
                  "fixed": "9b32539590a8e6400ac2f6e7cf9cbb8e08711a2f"
                },
                {
                  "fixed": "1f6e167d6753fe3ea493cdc7f7de8d03147a4d39"
                },
                {
                  "fixed": "8e7bef408261746c160853fc27df3139659f5f77"
                },
                {
                  "fixed": "9e3041fecdc8f78a5900c3aa51d3d756e73264d6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47670.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-47670.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.438910448Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1f6e167d6753fe3ea493cdc7f7de8d03147a4d39",
        "https://git.kernel.org/stable/c/34759b7e4493d7337cbc414c132cef378c492a2c",
        "https://git.kernel.org/stable/c/5bbe51eaf01a5dd6fb3f0dea81791e5dbc6dc6dd",
        "https://git.kernel.org/stable/c/60c0d36189bad58b1a8e69af8781d90009559ea1",
        "https://git.kernel.org/stable/c/8e7bef408261746c160853fc27df3139659f5f77",
        "https://git.kernel.org/stable/c/9b32539590a8e6400ac2f6e7cf9cbb8e08711a2f",
        "https://git.kernel.org/stable/c/9e3041fecdc8f78a5900c3aa51d3d756e73264d6",
        "https://git.kernel.org/stable/c/b49a786beb11ff740cb9e0c20b999c2a0e1729c2",
        "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/47xxx/CVE-2024-47670.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47670",
        "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/47xxx/CVE-2024-47670.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47670",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505524,
  "published_at": "2024-10-09T14:49:11.938+00:00"
}