CVE-2026-43056: net: mana: fix use-after-free in add_adev() error path

Published May 1, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: mana: fix use-after-free in addadev() error path

If auxiliarydeviceadd() fails, addadev() jumps to addfail and calls auxiliarydeviceuninit(adev).

The auxiliary device has its release callback set to adevrelease(), which frees the containing struct manaadev. Since adev is embedded in struct manaadev, the subsequent fall-through to initfail 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 auxiliarydeviceadd(), and use that saved id in the cleanup path after auxiliarydeviceuninit().

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=6.2<6.6.134
Linux Linux kernel>=6.7<6.12.81
Linux Linux kernel>=6.13<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5

Event History

May 1, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverity
Data Sourced
via Red Hat·03:07 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43056?

CVE-2026-43056 has been classified with a significant severity due to the potential for a use-after-free vulnerability in the Linux kernel.

2

How do I fix CVE-2026-43056?

To fix CVE-2026-43056, you should update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

Which systems are affected by CVE-2026-43056?

CVE-2026-43056 affects various versions of the Linux kernel that utilize the mana driver.

4

What types of exploits are possible with CVE-2026-43056?

Exploiting CVE-2026-43056 could lead to system crashes or remote code execution due to the use-after-free condition.

5

Is CVE-2026-43056 actively being exploited?

As of now, there are no public reports indicating that CVE-2026-43056 is actively being exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203