CVE-2026-23182
Description
In the Linux kernel, the following vulnerability has been resolved:
spi: tegra: Fix a memory leak in tegra_slink_probe()
In tegra_slink_probe(), when platform_get_irq() fails, it directly returns from the function with an error code, which causes a memory leak.
Replace it with a goto label to ensure proper cleanup.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A memory leak in the Linux kernel's SPI Tegra driver (tegra_slink_probe) occurs when platform_get_irq() fails, as cleanup is skipped.
Vulnerability
In the Linux kernel's SPI Tegra driver, the function tegra_slink_probe() allocates resources but fails to free them if platform_get_irq() returns an error. Instead of jumping to cleanup code, it returns immediately, causing a memory leak. This issue is addressed in the referenced kernel stable commits [1][2].
Exploitation
The vulnerability is triggered during driver probe when the platform_get_irq() call fails, which can happen if the IRQ resource is missing or invalid. An attacker with local access or the ability to trigger device probe (e.g., via hotplug or module loading) could cause repeated probe failures, leading to memory exhaustion. No authentication is needed beyond local access.
Impact
An attacker could cause a denial of service by exhausting kernel memory through repeated probe attempts. The leak is limited to the memory allocated before the failing call, but repeated exploitation could degrade system performance.
Mitigation
The fix has been applied in the Linux kernel stable branches as referenced in commits [1][2]. Users should update to the latest kernel version containing the patch. No workaround is mentioned.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- git.kernel.org/stable/c/075415ae18b5b3e4d0187962d538653154216fe7nvd
- git.kernel.org/stable/c/126a09f4fcd2b895a818ca43fde078d907c1ac9anvd
- git.kernel.org/stable/c/327b71326cc1834bc031e8f52a470a18dfd9caa6nvd
- git.kernel.org/stable/c/41d9a6795b95d6ea28439ac1e9ce8c95bbca20fcnvd
- git.kernel.org/stable/c/6a04dc650cef8d52a1ccb4ae245dbe318ffff32envd
- git.kernel.org/stable/c/b8eec12aa666c11f8a6ad1488c568f85c58875fanvd
News mentions
0No linked articles in our index yet.