In the Linux kernel, the following vulnerability has been resolved:
drm/bridge: samsung-dsim: Fix memory leak in error path
In samsungdsimhostattach(), drmbridgeadd() is called to add the bridge. However, if samsungdsimregisterteirq() or pdata->hostops->attach() fails afterwards, the function returns without removing the bridge, causing a memory leak.
Fix this by adding proper error handling with goto labels to ensure drmbridgeremove() is called in all error paths. Also ensure that samsungdsimunregisterteirq() is called if the attach operation fails after the TE IRQ has been registered.
samsungdsimunregisterteirq() function is moved without changes to be before samsungdsimhost_attach() to avoid forward declaration.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43397.json",
"cna_assigner": "Linux"
}