CVE-2026-43297 (GCVE-0-2026-43297)
Vulnerability from cvelistv5 – Published: 2026-05-08 13:11 – Updated: 2026-05-08 13:11
VLAI?
Title
media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()
Summary
In the Linux kernel, the following vulnerability has been resolved:
media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()
rga_get_frame() can return ERR_PTR(-EINVAL) when buffer type is
unsupported or invalid. rga_buf_init() does not check the return value
and unconditionally dereferences the pointer when accessing f->size.
Add proper ERR_PTR checking and return the error to prevent
dereferencing an invalid pointer.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
6040702ade234c8212dcfdef85e2f5549aa2f0f5 , < 5da29ade540b51763b950987bd410add7edaf3d1
(git)
Affected: 6040702ade234c8212dcfdef85e2f5549aa2f0f5 , < 1af2853b4e97fd95262fdef311b2334337069bc9 (git) Affected: 6040702ade234c8212dcfdef85e2f5549aa2f0f5 , < aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf (git) Affected: 6040702ade234c8212dcfdef85e2f5549aa2f0f5 , < 81f8e0e6a2e115df9274d0289779f8fca694479c (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/platform/rockchip/rga/rga-buf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "5da29ade540b51763b950987bd410add7edaf3d1",
"status": "affected",
"version": "6040702ade234c8212dcfdef85e2f5549aa2f0f5",
"versionType": "git"
},
{
"lessThan": "1af2853b4e97fd95262fdef311b2334337069bc9",
"status": "affected",
"version": "6040702ade234c8212dcfdef85e2f5549aa2f0f5",
"versionType": "git"
},
{
"lessThan": "aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf",
"status": "affected",
"version": "6040702ade234c8212dcfdef85e2f5549aa2f0f5",
"versionType": "git"
},
{
"lessThan": "81f8e0e6a2e115df9274d0289779f8fca694479c",
"status": "affected",
"version": "6040702ade234c8212dcfdef85e2f5549aa2f0f5",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/platform/rockchip/rga/rga-buf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.8"
},
{
"lessThan": "6.8",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.75",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.16",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.75",
"versionStartIncluding": "6.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.16",
"versionStartIncluding": "6.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.6",
"versionStartIncluding": "6.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "6.8",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()\n\nrga_get_frame() can return ERR_PTR(-EINVAL) when buffer type is\nunsupported or invalid. rga_buf_init() does not check the return value\nand unconditionally dereferences the pointer when accessing f-\u003esize.\n\nAdd proper ERR_PTR checking and return the error to prevent\ndereferencing an invalid pointer."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-08T13:11:19.530Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/5da29ade540b51763b950987bd410add7edaf3d1"
},
{
"url": "https://git.kernel.org/stable/c/1af2853b4e97fd95262fdef311b2334337069bc9"
},
{
"url": "https://git.kernel.org/stable/c/aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf"
},
{
"url": "https://git.kernel.org/stable/c/81f8e0e6a2e115df9274d0289779f8fca694479c"
}
],
"title": "media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-43297",
"datePublished": "2026-05-08T13:11:19.530Z",
"dateReserved": "2026-05-01T14:12:55.999Z",
"dateUpdated": "2026-05-08T13:11:19.530Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-43297\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T14:16:36.863\",\"lastModified\":\"2026-05-08T14:16:36.863\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()\\n\\nrga_get_frame() can return ERR_PTR(-EINVAL) when buffer type is\\nunsupported or invalid. rga_buf_init() does not check the return value\\nand unconditionally dereferences the pointer when accessing f-\u003esize.\\n\\nAdd proper ERR_PTR checking and return the error to prevent\\ndereferencing an invalid pointer.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1af2853b4e97fd95262fdef311b2334337069bc9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5da29ade540b51763b950987bd410add7edaf3d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/81f8e0e6a2e115df9274d0289779f8fca694479c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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…
Loading…