{"id":"CVE-2026-43056","summary":"net: mana: fix use-after-free in add_adev() error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: fix use-after-free in add_adev() error path\n\nIf auxiliary_device_add() fails, add_adev() jumps to add_fail and calls\nauxiliary_device_uninit(adev).\n\nThe auxiliary device has its release callback set to adev_release(),\nwhich frees the containing struct mana_adev. Since adev is embedded in\nstruct mana_adev, the subsequent fall-through to init_fail and access\nto adev-\u003eid may result in a use-after-free.\n\nFix this by saving the allocated auxiliary device id in a local\nvariable before calling auxiliary_device_add(), and use that saved id\nin the cleanup path after auxiliary_device_uninit().","modified":"2026-07-08T08:02:14.741455532Z","published":"2026-05-01T14:15:48.837Z","related":["ALSA-2026:25217","ALSA-2026:27288","ALSA-2026:27353","ALSA-2026:27354"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43056.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/43f5b19fd190fea20d052bc84741b28031d5baa9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f4061f8225d18695e5afe9bbf1cb7bd673d7872"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d88541ffd56d62a61e77209080001eddd4d69815"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5a75bf026c686b91a7dc6f9c5caf5016745d1fe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43056.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43056"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}