CVE-2026-43056 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: mana: fix use-after-free in add_adev() error path If auxiliary_device_add() fails, add_adev() jumps to add_fail and calls auxiliary_device_uninit(adev). The auxiliary device has its release callback set to adev_release(), which frees the containing struct mana_adev. Since adev is embedded in struct mana_adev, the subsequent fall-through to init_fail and access to adev->id may result in a use-after-free. Fix this by saving the allocated auxiliary device id in a local variable before calling auxiliary_device_add(), and use that saved id in the cleanup path after auxiliary_device_uninit().
A use-after-free vulnerability has been identified in the Linux kernel's Microsoft Mana network driver. This issue arises in the 'add_adev()' function when the 'auxiliary_device_add()' call fails. The function then calls 'auxiliary_device_uninit(adev)', which triggers the release callback, freeing the associated 'mana_adev' structure. Since 'adev' is embedded within 'mana_adev', this can lead to a use-after-free condition when the function subsequently accesses 'adev->id'. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/43f5b19fd190fea20d052bc84741b28031d5baa9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5f4061f8225d18695e5afe9bbf1cb7bd673d7872 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f | kernel.org | Patch |
| https://git.kernel.org/stable/c/d88541ffd56d62a61e77209080001eddd4d69815 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e5a75bf026c686b91a7dc6f9c5caf5016745d1fe | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.2, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 7, 2026 | Initial Analysis | [email protected] |
| May 3, 2026 | CVE Modified | kernel.org |
| May 1, 2026 | New CVE Received | kernel.org |