{"id":"CVE-2026-43397","published":"2026-05-08T14:21:40Z","modified":"2026-05-11T22:23:47Z","title":"drm/bridge: samsung-dsim: Fix memory leak in error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/bridge: samsung-dsim: Fix memory leak in error path\n\nIn samsung_dsim_host_attach(), drm_bridge_add() is called to add the\nbridge. However, if samsung_dsim_register_te_irq() or\npdata->host_ops->attach() fails afterwards, the function returns\nwithout removing the bridge, causing a memory leak.\n\nFix this by adding proper error handling with goto labels to ensure\ndrm_bridge_remove() is called in all error paths. Also ensure that\nsamsung_dsim_unregister_te_irq() is called if the attach operation\nfails after the TE IRQ has been registered.\n\nsamsung_dsim_unregister_te_irq() function is moved without changes\nto be before samsung_dsim_host_attach() to avoid forward declaration.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00122,"percentile":0.01955,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/98310fe3a2a79671b739a5344c1a11d74c503e25","tags":[]},{"url":"https://git.kernel.org/stable/c/0b07f7d2c5a4078c2f1c11bb36685084fe4e5c95","tags":[]},{"url":"https://git.kernel.org/stable/c/e6d779654cda63d632bd8dfcdcabd125057e30a5","tags":[]},{"url":"https://git.kernel.org/stable/c/a40b92fb4b26d4cb1b5e439e55a56db7e79a82d1","tags":[]},{"url":"https://git.kernel.org/stable/c/803ec1faf7c1823e6e3b1f2aaa81be18528c9436","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.39}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e7447128ca4a250374d6721ee98e3e3cf99551a6, < 98310fe3a2a79671b739a5344c1a11d74c503e25",">= e7447128ca4a250374d6721ee98e3e3cf99551a6, < 0b07f7d2c5a4078c2f1c11bb36685084fe4e5c95",">= e7447128ca4a250374d6721ee98e3e3cf99551a6, < e6d779654cda63d632bd8dfcdcabd125057e30a5",">= e7447128ca4a250374d6721ee98e3e3cf99551a6, < a40b92fb4b26d4cb1b5e439e55a56db7e79a82d1",">= e7447128ca4a250374d6721ee98e3e3cf99551a6, < 803ec1faf7c1823e6e3b1f2aaa81be18528c9436"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"euvd":{"id":"EUVD-2026-28703","exploited":false,"provenance":"source"}}