CVE-2026-43056 net: mana: fix use-after-free in add_adev() error path
A use-after-free in the Linux kernel's mana network driver allows attackers to potentially execute code or escalate privileges via a specific error path.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-43056?
CVE-2026-43056 is a high-severity use after free vulnerability in Linux kernel, published on 1 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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().
Weakness: CWE-416
Which versions are affected by CVE-2026-43056?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-43056?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-43056 being exploited?
There is no known exploitation of CVE-2026-43056 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-43056, DEBIAN-CVE-2026-43056, GHSA-cj6q-34vm-g3x7, ROOT-OS-UBUNTU-2404-CVE-2026-43056, UBUNTU-CVE-2026-43056.