CVE-2022-50786 (GCVE-0-2022-50786)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:03 – Updated: 2025-12-30 12:03
VLAI?
Title
media: s5p-mfc: Clear workbit to handle error condition
Summary
In the Linux kernel, the following vulnerability has been resolved:
media: s5p-mfc: Clear workbit to handle error condition
During error on CLOSE_INSTANCE command, ctx_work_bits was not getting
cleared. During consequent mfc execution NULL pointer dereferencing of
this context led to kernel panic. This patch fixes this issue by making
sure to clear ctx_work_bits always.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
818cd91ab8c6e42c2658c8e61f8462637c6f586b , < 12242bd13ce68acd571b2cce6ab302e154e8a4ee
(git)
Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < 640075400c7c577b0f5369b935e22a588773fafa (git) Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < 8ff64edf9d16e8c277dcc8189794763624e6b4b8 (git) Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < ff27800c0a6d81571671b33f696109804d015409 (git) Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < 09c1fbbe532758e4046c20829f4c0c50b99332dc (git) Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < bd1b72f0c39a0d791a087b4e643701a48328ba8e (git) Affected: 818cd91ab8c6e42c2658c8e61f8462637c6f586b , < d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "12242bd13ce68acd571b2cce6ab302e154e8a4ee",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "640075400c7c577b0f5369b935e22a588773fafa",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "8ff64edf9d16e8c277dcc8189794763624e6b4b8",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "ff27800c0a6d81571671b33f696109804d015409",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "09c1fbbe532758e4046c20829f4c0c50b99332dc",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "bd1b72f0c39a0d791a087b4e643701a48328ba8e",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
},
{
"lessThan": "d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b",
"status": "affected",
"version": "818cd91ab8c6e42c2658c8e61f8462637c6f586b",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.16"
},
{
"lessThan": "3.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.87",
"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": "4.19.270",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.87",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.18",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.4",
"versionStartIncluding": "3.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "3.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: s5p-mfc: Clear workbit to handle error condition\n\nDuring error on CLOSE_INSTANCE command, ctx_work_bits was not getting\ncleared. During consequent mfc execution NULL pointer dereferencing of\nthis context led to kernel panic. This patch fixes this issue by making\nsure to clear ctx_work_bits always."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:03:22.909Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee"
},
{
"url": "https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa"
},
{
"url": "https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8"
},
{
"url": "https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409"
},
{
"url": "https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc"
},
{
"url": "https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e"
},
{
"url": "https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b"
}
],
"title": "media: s5p-mfc: Clear workbit to handle error condition",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50786",
"datePublished": "2025-12-30T12:03:22.909Z",
"dateReserved": "2025-12-24T13:02:21.548Z",
"dateUpdated": "2025-12-30T12:03:22.909Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50786\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T12:15:44.250\",\"lastModified\":\"2025-12-30T12:15:44.250\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: s5p-mfc: Clear workbit to handle error condition\\n\\nDuring error on CLOSE_INSTANCE command, ctx_work_bits was not getting\\ncleared. During consequent mfc execution NULL pointer dereferencing of\\nthis context led to kernel panic. This patch fixes this issue by making\\nsure to clear ctx_work_bits always.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409\",\"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…