CVE-2026-43056

Source
https://cve.org/CVERecord?id=CVE-2026-43056
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43056.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43056
Downstream
Related
Published
2026-05-01T14:15:48.837Z
Modified
2026-07-08T08:02:14.741455532Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: mana: fix use-after-free in add_adev() error path
Details

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

net: mana: fix use-after-free in add_adev() 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().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43056.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a69839d4327d053b18d8e1b0e7ddeee78db78f4f
Fixed
d88541ffd56d62a61e77209080001eddd4d69815
Fixed
43f5b19fd190fea20d052bc84741b28031d5baa9
Fixed
5f4061f8225d18695e5afe9bbf1cb7bd673d7872
Fixed
e5a75bf026c686b91a7dc6f9c5caf5016745d1fe
Fixed
c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43056.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.134
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.81
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.22
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43056.json"