CVE-2023-52979 (GCVE-0-2023-52979)
Vulnerability from cvelistv5
Published
2025-03-27 16:43
Modified
2025-05-04 12:49
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: squashfs: harden sanity check in squashfs_read_xattr_id_table While mounting a corrupted filesystem, a signed integer '*xattr_ids' can become less than zero. This leads to the incorrect computation of 'len' and 'indexes' values which can cause null-ptr-deref in copy_bio_to_actor() or out-of-bounds accesses in the next sanity checks inside squashfs_read_xattr_id_table(). Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Impacted products
Vendor Product Version
Linux Linux Version: ff49cace7b8cf00d27665f7536a863d406963d06
Version: a8717b34003f4f7353b23826617ad872f85d85d8
Version: 3654a0ed0bdc6d70502bfc7c9fec9f1e243dfcad
Version: bddcce15cd1fb9675ddd46a76d8fe2d0a571313b
Version: 506220d2ba21791314af569211ffd8870b8208fa
Version: 506220d2ba21791314af569211ffd8870b8208fa
Version: 506220d2ba21791314af569211ffd8870b8208fa
Version: 91d4f4d0d7bcd6abd9f9288ff40f4edc716f3d4b
Version: eca93bf20f70e0f78c8c28720951942f61a49117
Create a notification for this product.
   Linux Linux Version: 5.11
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/squashfs/xattr_id.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cf5d6612092408157db6bb500c70bf6d67c40fbc",
              "status": "affected",
              "version": "ff49cace7b8cf00d27665f7536a863d406963d06",
              "versionType": "git"
            },
            {
              "lessThan": "b30a74f83265c24d1d0842c6c3928cd2e775a3fb",
              "status": "affected",
              "version": "a8717b34003f4f7353b23826617ad872f85d85d8",
              "versionType": "git"
            },
            {
              "lessThan": "db76fc535fbdfbf29fd0b93e49627537ad794c8c",
              "status": "affected",
              "version": "3654a0ed0bdc6d70502bfc7c9fec9f1e243dfcad",
              "versionType": "git"
            },
            {
              "lessThan": "de2785aa3448d1ee7be3ab47fd4a873025f1b3d7",
              "status": "affected",
              "version": "bddcce15cd1fb9675ddd46a76d8fe2d0a571313b",
              "versionType": "git"
            },
            {
              "lessThan": "b7398efe24a965cf3937b716c0b1011c201c5d6e",
              "status": "affected",
              "version": "506220d2ba21791314af569211ffd8870b8208fa",
              "versionType": "git"
            },
            {
              "lessThan": "29e774dcb27116c06b9c57b1f1f14a1623738989",
              "status": "affected",
              "version": "506220d2ba21791314af569211ffd8870b8208fa",
              "versionType": "git"
            },
            {
              "lessThan": "72e544b1b28325fe78a4687b980871a7e4101f76",
              "status": "affected",
              "version": "506220d2ba21791314af569211ffd8870b8208fa",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "91d4f4d0d7bcd6abd9f9288ff40f4edc716f3d4b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "eca93bf20f70e0f78c8c28720951942f61a49117",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/squashfs/xattr_id.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.306",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.232",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.306",
                  "versionStartIncluding": "4.14.222",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.273",
                  "versionStartIncluding": "4.19.176",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.232",
                  "versionStartIncluding": "5.4.98",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.168",
                  "versionStartIncluding": "5.10.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.93",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.11",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.258",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.258",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsquashfs: harden sanity check in squashfs_read_xattr_id_table\n\nWhile mounting a corrupted filesystem, a signed integer \u0027*xattr_ids\u0027 can\nbecome less than zero.  This leads to the incorrect computation of \u0027len\u0027\nand \u0027indexes\u0027 values which can cause null-ptr-deref in copy_bio_to_actor()\nor out-of-bounds accesses in the next sanity checks inside\nsquashfs_read_xattr_id_table().\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T12:49:59.583Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cf5d6612092408157db6bb500c70bf6d67c40fbc"
        },
        {
          "url": "https://git.kernel.org/stable/c/b30a74f83265c24d1d0842c6c3928cd2e775a3fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/db76fc535fbdfbf29fd0b93e49627537ad794c8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/de2785aa3448d1ee7be3ab47fd4a873025f1b3d7"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7398efe24a965cf3937b716c0b1011c201c5d6e"
        },
        {
          "url": "https://git.kernel.org/stable/c/29e774dcb27116c06b9c57b1f1f14a1623738989"
        },
        {
          "url": "https://git.kernel.org/stable/c/72e544b1b28325fe78a4687b980871a7e4101f76"
        }
      ],
      "title": "squashfs: harden sanity check in squashfs_read_xattr_id_table",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52979",
    "datePublished": "2025-03-27T16:43:18.882Z",
    "dateReserved": "2025-03-27T16:40:15.739Z",
    "dateUpdated": "2025-05-04T12:49:59.583Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52979\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-03-27T17:15:45.057\",\"lastModified\":\"2025-06-25T20:59:20.347\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsquashfs: harden sanity check in squashfs_read_xattr_id_table\\n\\nWhile mounting a corrupted filesystem, a signed integer \u0027*xattr_ids\u0027 can\\nbecome less than zero.  This leads to the incorrect computation of \u0027len\u0027\\nand \u0027indexes\u0027 values which can cause null-ptr-deref in copy_bio_to_actor()\\nor out-of-bounds accesses in the next sanity checks inside\\nsquashfs_read_xattr_id_table().\\n\\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: squashfs: endurecimiento de la comprobaci\u00f3n de seguridad en squashfs_read_xattr_id_table. Al montar un sistema de archivos da\u00f1ado, un entero con signo \u0027*xattr_ids\u0027 puede ser menor que cero. Esto provoca el c\u00e1lculo incorrecto de los valores de \u0027len\u0027 e \u0027indexes\u0027, lo que puede causar un valor nulo de referencia de referencia (ptr) en copy_bio_to_actor() o accesos fuera de l\u00edmites en las siguientes comprobaciones de seguridad dentro de squashfs_read_xattr_id_table(). Encontrado por el Centro de Verificaci\u00f3n de Linux (linuxtesting.org) con Syzkaller.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.4.258\",\"versionEndExcluding\":\"4.5\",\"matchCriteriaId\":\"B79FCC64-B2F0-49FD-B8C2-E483F4A4D46F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.258\",\"versionEndExcluding\":\"4.10\",\"matchCriteriaId\":\"50052936-5C7B-4DBA-8984-C9108A4373F3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14.222\",\"versionEndExcluding\":\"4.15\",\"matchCriteriaId\":\"50B2E68E-B183-4ACE-8EAD-C951C420435F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.19.176\",\"versionEndExcluding\":\"4.20\",\"matchCriteriaId\":\"431F7799-C3BC-460E-9A3F-7C2DA6D37216\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.98\",\"versionEndExcluding\":\"5.5\",\"matchCriteriaId\":\"61592AB5-E211-43FF-8AC4-BF2F575C8CC5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.16\",\"matchCriteriaId\":\"B8C1506D-C051-4A23-9460-CAAE39475EDF\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/29e774dcb27116c06b9c57b1f1f14a1623738989\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/72e544b1b28325fe78a4687b980871a7e4101f76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/b30a74f83265c24d1d0842c6c3928cd2e775a3fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/b7398efe24a965cf3937b716c0b1011c201c5d6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/cf5d6612092408157db6bb500c70bf6d67c40fbc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/db76fc535fbdfbf29fd0b93e49627537ad794c8c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]},{\"url\":\"https://git.kernel.org/stable/c/de2785aa3448d1ee7be3ab47fd4a873025f1b3d7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Not Applicable\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…