GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50830 (GCVE-0-2022-50830)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:10 – Updated: 2026-05-11 19:25
VLAI
Title
auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()
Summary
In the Linux kernel, the following vulnerability has been resolved: auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() hd44780_probe() allocates a memory chunk for hd with kzalloc() and makes "lcd->drvdata->hd44780" point to it. When we call hd44780_remove(), we should release all relevant memory and resource. But "lcd->drvdata ->hd44780" is not released, which will lead to a memory leak. We should release the "lcd->drvdata->hd44780" in hd44780_remove() to fix the memory leak bug.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 8311961a1724bfc64390c539dedc31e067a80315 (git)
Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 6cd37f8232f5e169a723e1d5fbe3b2139c2ef763 (git)
Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 5d407911e605702ffcc0e97a6db546592ab27dd0 (git)
Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.11
Unaffected: 0 , < 5.11 (semver)
Unaffected: 5.15.100 , ≤ 5.15.* (semver)
Unaffected: 6.1.18 , ≤ 6.1.* (semver)
Unaffected: 6.2.5 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/auxdisplay/hd44780.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8311961a1724bfc64390c539dedc31e067a80315",
              "status": "affected",
              "version": "718e05ed92ecac0d9d3954bcc8064527c3ce7565",
              "versionType": "git"
            },
            {
              "lessThan": "6cd37f8232f5e169a723e1d5fbe3b2139c2ef763",
              "status": "affected",
              "version": "718e05ed92ecac0d9d3954bcc8064527c3ce7565",
              "versionType": "git"
            },
            {
              "lessThan": "5d407911e605702ffcc0e97a6db546592ab27dd0",
              "status": "affected",
              "version": "718e05ed92ecac0d9d3954bcc8064527c3ce7565",
              "versionType": "git"
            },
            {
              "lessThan": "ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7",
              "status": "affected",
              "version": "718e05ed92ecac0d9d3954bcc8064527c3ce7565",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/auxdisplay/hd44780.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": "5.15.*",
              "status": "unaffected",
              "version": "5.15.100",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.100",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.18",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.5",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nauxdisplay: hd44780: Fix potential memory leak in hd44780_remove()\n\nhd44780_probe() allocates a memory chunk for hd with kzalloc() and\nmakes \"lcd-\u003edrvdata-\u003ehd44780\" point to it. When we call hd44780_remove(),\nwe should release all relevant memory and resource. But \"lcd-\u003edrvdata\n-\u003ehd44780\" is not released, which will lead to a memory leak.\n\nWe should release the \"lcd-\u003edrvdata-\u003ehd44780\" in hd44780_remove() to fix\nthe memory leak bug."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:25:56.572Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8311961a1724bfc64390c539dedc31e067a80315"
        },
        {
          "url": "https://git.kernel.org/stable/c/6cd37f8232f5e169a723e1d5fbe3b2139c2ef763"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d407911e605702ffcc0e97a6db546592ab27dd0"
        },
        {
          "url": "https://git.kernel.org/stable/c/ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7"
        }
      ],
      "title": "auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50830",
    "datePublished": "2025-12-30T12:10:52.099Z",
    "dateReserved": "2025-12-30T12:06:07.132Z",
    "dateUpdated": "2026-05-11T19:25:56.572Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50830",
      "date": "2026-09-16",
      "epss": "0.00241",
      "percentile": "0.15383"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50830\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:15:57.490\",\"lastModified\":\"2026-06-17T05:24:15.743\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nauxdisplay: hd44780: Fix potential memory leak in hd44780_remove()\\n\\nhd44780_probe() allocates a memory chunk for hd with kzalloc() and\\nmakes \\\"lcd-\u003edrvdata-\u003ehd44780\\\" point to it. When we call hd44780_remove(),\\nwe should release all relevant memory and resource. But \\\"lcd-\u003edrvdata\\n-\u003ehd44780\\\" is not released, which will lead to a memory leak.\\n\\nWe should release the \\\"lcd-\u003edrvdata-\u003ehd44780\\\" in hd44780_remove() to fix\\nthe memory leak bug.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/auxdisplay/hd44780.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"718e05ed92ecac0d9d3954bcc8064527c3ce7565\",\"lessThan\":\"8311961a1724bfc64390c539dedc31e067a80315\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"718e05ed92ecac0d9d3954bcc8064527c3ce7565\",\"lessThan\":\"6cd37f8232f5e169a723e1d5fbe3b2139c2ef763\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"718e05ed92ecac0d9d3954bcc8064527c3ce7565\",\"lessThan\":\"5d407911e605702ffcc0e97a6db546592ab27dd0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"718e05ed92ecac0d9d3954bcc8064527c3ce7565\",\"lessThan\":\"ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/auxdisplay/hd44780.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.100\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.18\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2.5\",\"lessThanOrEqual\":\"6.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.3\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/5d407911e605702ffcc0e97a6db546592ab27dd0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6cd37f8232f5e169a723e1d5fbe3b2139c2ef763\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8311961a1724bfc64390c539dedc31e067a80315\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:17:56+00:00",
      "cve": "CVE-2022-50830",
      "id": "CVE-2022-50830",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50830.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-02T01:59:24Z",
      "cve": "CVE-2022-50830",
      "id": "CVE-2022-50830",
      "initial_release_date": "2025-12-31T00:31:46Z",
      "product_status:known_affected": "354",
      "product_status:known_not_affected": "427",
      "product_status:recommended": "196",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50830",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50830.json",
      "version": "28"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…