CVE-2022-50518 (GCVE-0-2022-50518)

Vulnerability from cvelistv5 – Published: 2025-10-07 15:19 – Updated: 2025-12-23 13:29
VLAI?
Title
parisc: Fix locking in pdc_iodc_print() firmware call
Summary
In the Linux kernel, the following vulnerability has been resolved: parisc: Fix locking in pdc_iodc_print() firmware call Utilize pdc_lock spinlock to protect parallel modifications of the iodc_dbuf[] buffer, check length to prevent buffer overflow of iodc_dbuf[], drop the iodc_retbuf[] buffer and fix some wrong indentings.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 , < 04a603058e70b8b881bb7860b8bd649f931f2591 (git)
Affected: ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 , < 553bc5890ed96a8d006224c3a4673c47fee0d12a (git)
Affected: ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 , < 7236aae5f81f3efbd93d0601e74fc05994bc2580 (git)
Affected: 24319896af06b84f965bcefa0f2d926b726ed05b (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.25
Unaffected: 0 , < 2.6.25 (semver)
Unaffected: 6.0.18 , ≤ 6.0.* (semver)
Unaffected: 6.1.4 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/parisc/kernel/firmware.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "04a603058e70b8b881bb7860b8bd649f931f2591",
              "status": "affected",
              "version": "ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2",
              "versionType": "git"
            },
            {
              "lessThan": "553bc5890ed96a8d006224c3a4673c47fee0d12a",
              "status": "affected",
              "version": "ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2",
              "versionType": "git"
            },
            {
              "lessThan": "7236aae5f81f3efbd93d0601e74fc05994bc2580",
              "status": "affected",
              "version": "ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "24319896af06b84f965bcefa0f2d926b726ed05b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/parisc/kernel/firmware.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.25"
            },
            {
              "lessThan": "2.6.25",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.4",
              "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": "6.0.18",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.4",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "2.6.24.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nparisc: Fix locking in pdc_iodc_print() firmware call\n\nUtilize pdc_lock spinlock to protect parallel modifications of the\niodc_dbuf[] buffer, check length to prevent buffer overflow of\niodc_dbuf[], drop the iodc_retbuf[] buffer and fix some wrong\nindentings."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:29:46.724Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/04a603058e70b8b881bb7860b8bd649f931f2591"
        },
        {
          "url": "https://git.kernel.org/stable/c/553bc5890ed96a8d006224c3a4673c47fee0d12a"
        },
        {
          "url": "https://git.kernel.org/stable/c/7236aae5f81f3efbd93d0601e74fc05994bc2580"
        }
      ],
      "title": "parisc: Fix locking in pdc_iodc_print() firmware call",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50518",
    "datePublished": "2025-10-07T15:19:13.040Z",
    "dateReserved": "2025-10-07T15:15:38.662Z",
    "dateUpdated": "2025-12-23T13:29:46.724Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50518\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-07T16:15:35.490\",\"lastModified\":\"2026-02-04T17:05:48.510\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nparisc: Fix locking in pdc_iodc_print() firmware call\\n\\nUtilize pdc_lock spinlock to protect parallel modifications of the\\niodc_dbuf[] buffer, check length to prevent buffer overflow of\\niodc_dbuf[], drop the iodc_retbuf[] buffer and fix some wrong\\nindentings.\"}],\"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:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-667\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.24.5\",\"versionEndExcluding\":\"2.6.25\",\"matchCriteriaId\":\"C0B10599-742F-4EF6-AEFE-B18D086B8D98\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.25.1\",\"versionEndExcluding\":\"6.0.18\",\"matchCriteriaId\":\"0EDD14E2-11C7-45F3-BCB5-77CFF5314663\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1\",\"versionEndExcluding\":\"6.1.4\",\"matchCriteriaId\":\"BC4189D9-5478-4E88-A78D-9C1DE29B217C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:2.6.25:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"F650D09A-41EA-4EB5-925B-F2146E8DDF2A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:2.6.25:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"00763CAF-AEF8-4EF1-9393-DEFF9697D382\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:2.6.25:rc7:*:*:*:*:*:*\",\"matchCriteriaId\":\"2D5310FC-8432-4BBF-8174-60F7B8A608B0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:2.6.25:rc8:*:*:*:*:*:*\",\"matchCriteriaId\":\"4254F56E-6BA0-45DD-95D1-61A7C8AF7BA8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:2.6.25:rc9:*:*:*:*:*:*\",\"matchCriteriaId\":\"8957EE27-E19A-4DE6-B46D-FE413E88BD93\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/04a603058e70b8b881bb7860b8bd649f931f2591\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/553bc5890ed96a8d006224c3a4673c47fee0d12a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7236aae5f81f3efbd93d0601e74fc05994bc2580\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…