{"api_version":"1","generated_at":"2026-05-01T19:27:27+00:00","cve":"CVE-2026-43056","urls":{"html":"https://cve.report/CVE-2026-43056","api":"https://cve.report/api/cve/CVE-2026-43056.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-43056","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-43056"},"summary":{"title":"net: mana: fix use-after-free in add_adev() error path","description":"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->id 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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-01 15:16:52","updated_at":"2026-05-01 15:24:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/43f5b19fd190fea20d052bc84741b28031d5baa9","name":"https://git.kernel.org/stable/c/43f5b19fd190fea20d052bc84741b28031d5baa9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d88541ffd56d62a61e77209080001eddd4d69815","name":"https://git.kernel.org/stable/c/d88541ffd56d62a61e77209080001eddd4d69815","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f","name":"https://git.kernel.org/stable/c/c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e5a75bf026c686b91a7dc6f9c5caf5016745d1fe","name":"https://git.kernel.org/stable/c/e5a75bf026c686b91a7dc6f9c5caf5016745d1fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5f4061f8225d18695e5afe9bbf1cb7bd673d7872","name":"https://git.kernel.org/stable/c/5f4061f8225d18695e5afe9bbf1cb7bd673d7872","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-43056","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43056","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f d88541ffd56d62a61e77209080001eddd4d69815 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f 43f5b19fd190fea20d052bc84741b28031d5baa9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f 5f4061f8225d18695e5afe9bbf1cb7bd673d7872 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f e5a75bf026c686b91a7dc6f9c5caf5016745d1fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.134 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.81 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.22 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.12 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/microsoft/mana/mana_en.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d88541ffd56d62a61e77209080001eddd4d69815","status":"affected","version":"a69839d4327d053b18d8e1b0e7ddeee78db78f4f","versionType":"git"},{"lessThan":"43f5b19fd190fea20d052bc84741b28031d5baa9","status":"affected","version":"a69839d4327d053b18d8e1b0e7ddeee78db78f4f","versionType":"git"},{"lessThan":"5f4061f8225d18695e5afe9bbf1cb7bd673d7872","status":"affected","version":"a69839d4327d053b18d8e1b0e7ddeee78db78f4f","versionType":"git"},{"lessThan":"e5a75bf026c686b91a7dc6f9c5caf5016745d1fe","status":"affected","version":"a69839d4327d053b18d8e1b0e7ddeee78db78f4f","versionType":"git"},{"lessThan":"c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f","status":"affected","version":"a69839d4327d053b18d8e1b0e7ddeee78db78f4f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/microsoft/mana/mana_en.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.134","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.81","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.22","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.12","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.134","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.81","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.22","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.12","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"6.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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->id 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()."}],"providerMetadata":{"dateUpdated":"2026-05-01T14:15:48.837Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d88541ffd56d62a61e77209080001eddd4d69815"},{"url":"https://git.kernel.org/stable/c/43f5b19fd190fea20d052bc84741b28031d5baa9"},{"url":"https://git.kernel.org/stable/c/5f4061f8225d18695e5afe9bbf1cb7bd673d7872"},{"url":"https://git.kernel.org/stable/c/e5a75bf026c686b91a7dc6f9c5caf5016745d1fe"},{"url":"https://git.kernel.org/stable/c/c4ea7d8907cf72b259bf70bd8c2e791e1c4ff70f"}],"title":"net: mana: fix use-after-free in add_adev() error path","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-43056","datePublished":"2026-05-01T14:15:48.837Z","dateReserved":"2026-05-01T14:12:55.980Z","dateUpdated":"2026-05-01T14:15:48.837Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-01 15:16:52","lastModifiedDate":"2026-05-01 15:24:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"43056","Ordinal":"1","Title":"net: mana: fix use-after-free in add_adev() error path","CVE":"CVE-2026-43056","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"43056","Ordinal":"1","NoteData":"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->id 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().","Type":"Description","Title":"net: mana: fix use-after-free in add_adev() error path"}]}}}