media: i2c/tw9903: Fix potential memory leak in tw9903_probe()
In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9903: Fix potential memory leak in tw9903_probe() In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.252, 5.15.202, 6.1.165, 6.12.75, 6.18.16, 6.19.6, 6.6.128
- CVEs
- CVE-2026-43218
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 11:28 UTC · Revision 1
Source evidence
media: i2c/tw9903: Fix potential memory leak in tw9903_probe()
core-osv · Original sourcePublished 6 May 2026, 11:28 UTC
In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9903: Fix potential memory leak in tw9903_probe() In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.
osv:CVE-2026-43218
Kernel
Fixed versions: 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6
Complete source record
{
"id": "5dbd986f49fd4103870a74cbe02bd1dbffdd92843bcb8a555b7a8a73616c07ff",
"url": "https://osv.dev/vulnerability/CVE-2026-43218",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "media: i2c/tw9903: Fix potential memory leak in tw9903_probe()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9903: Fix potential memory leak in tw9903_probe() In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.",
"evidence": "osv:CVE-2026-43218",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.252",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.202",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.165",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.128",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-43218",
"aliases": [
"CVE-2026-43218"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0890ec19c65def8c8e445931b026e0fa8d809a34"
},
{
"fixed": "e54aa17c968c4de2c5f7b7ea390c63d33c07513b"
},
{
"fixed": "32f0493506313775d3bd448de34762b6538da6bd"
},
{
"fixed": "92537a15780b6d0281fd8286f93fbc3652e35f48"
},
{
"fixed": "9cb9eca33d20316ed3c7a938793b8735ac3e128b"
},
{
"fixed": "a114918270f0d95c607d69b03a244e6afe54813f"
},
{
"fixed": "cc7aeed33e4f55c76f35f0fca73e4dfe12a63a3a"
},
{
"fixed": "add02a3fb1fd71b004f0ed824cbac00f850de558"
},
{
"fixed": "9cea16fea47e5553f51d10957677ff735b1eff03"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43218.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.10.0"
},
{
"fixed": "5.10.252"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.202"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.165"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.128"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43218.json"
}
}
],
"modified": "2026-10-28T02:30:50.935971232Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/32f0493506313775d3bd448de34762b6538da6bd",
"https://git.kernel.org/stable/c/92537a15780b6d0281fd8286f93fbc3652e35f48",
"https://git.kernel.org/stable/c/9cb9eca33d20316ed3c7a938793b8735ac3e128b",
"https://git.kernel.org/stable/c/9cea16fea47e5553f51d10957677ff735b1eff03",
"https://git.kernel.org/stable/c/a114918270f0d95c607d69b03a244e6afe54813f",
"https://git.kernel.org/stable/c/add02a3fb1fd71b004f0ed824cbac00f850de558",
"https://git.kernel.org/stable/c/cc7aeed33e4f55c76f35f0fca73e4dfe12a63a3a",
"https://git.kernel.org/stable/c/e54aa17c968c4de2c5f7b7ea390c63d33c07513b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43218.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-43218",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43218.json"
}
},
"related_cves": [
{
"value": "CVE-2026-43218",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519132,
"published_at": "2026-05-06T11:28:19.57+00:00"
}