GHSA-c7q7-84hv-cp34unknown
In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: take a...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
media: microchip-isc: take a reference on the parsed endpoints
for_each_endpoint_of_node() drops the reference on the current node as it advances. xisc_parse_dt() and isc_parse_dt() store the node in subdev_entity->epn and release it later with of_node_put(), 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 of_node_get() when storing the node, and drop it in microchip_isc_subdev_cleanup() so the entities the bind loop never reaches on an early exit do not leak it.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99465
- https://git.kernel.org/stable/c/1711d758ede7ad6dc9f9b96366a6eea5c8c867df
- https://git.kernel.org/stable/c/e89700269a8158781cb0053589a0d7f206bdf7cb
- https://git.kernel.org/stable/c/f2eb2fd388bf3f1959556a326e797cacca341c86
- https://git.kernel.org/stable/c/f402682026d589474209816ef37dbeb945ebdb62
- https://github.com/advisories/GHSA-c7q7-84hv-cp34