CVE-2022-50830 (GCVE-0-2022-50830)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:10 – Updated: 2025-12-30 12:10
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.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 8311961a1724bfc64390c539dedc31e067a80315
(git)
Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 6cd37f8232f5e169a723e1d5fbe3b2139c2ef763 (git) Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < 5d407911e605702ffcc0e97a6db546592ab27dd0 (git) Affected: 718e05ed92ecac0d9d3954bcc8064527c3ce7565 , < ddf75a86aba2cfb7ec4497e8692b60c8c8fe0ee7 (git) |
||
{
"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": "2025-12-30T12:10:52.099Z",
"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": "2025-12-30T12:10:52.099Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50830\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:15:57.490\",\"lastModified\":\"2025-12-31T20:43:05.160\",\"vulnStatus\":\"Awaiting Analysis\",\"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.\"}],\"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\"}]}}"
}
}
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…
Loading…