CVE-2026-99465: media: microchip-isc: take a reference on the parsed endpoints
In the Linux kernel, the following vulnerability has been resolved:
media: microchip-isc: take a reference on the parsed endpoints
foreachendpointofnode() drops the reference on the current node as it advances. xiscparsedt() and iscparsedt() store the node in subdeventity->epn and release it later with ofnodeput(), but never took their own reference, so the stored pointer refers to an already-released node. This underflows the refcount and can use-after-free, reachable through the camera device tree overlay.
Take a reference with ofnodeget() when storing the node, and drop it in microchipiscsubdevcleanup() so the entities the bind loop never reaches on an early exit do not leak it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
In xisc_parse_dt() and isc_parse_dt(), take a reference with of_node_get() when storing parsed endpoints in subdev_entity->epn, then release it later with of_node_put().