{"id":"CVE-2024-56715","state":"PUBLISHED","title":"ionic: Fix netdev notifier unregister on failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: Fix netdev notifier unregister on failure\n\nIf register_netdev() fails, then the driver leaks the netdev notifier.\nFix this by calling ionic_lif_unregister() on register_netdev()\nfailure. This will also call ionic_lif_unregister_phc() if it has\nalready been registered.","publishedAt":"2024-12-29T08:48:48.433Z","updatedAt":"2026-08-05T11:46:13.550Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"87847938f5708b2509b279369c96572254bcf2ba","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"da93a12876f8b969df7316dc93aac7e725f88252","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"da5736f516a664a9e1ff74902663c64c423045d2","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"9590d32e090ea2751e131ae5273859ca22f5ac14","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_lif.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.15.176","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.122","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.68","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.7","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_lif.c"]}],"references":["https://git.kernel.org/stable/c/87847938f5708b2509b279369c96572254bcf2ba","https://git.kernel.org/stable/c/da93a12876f8b969df7316dc93aac7e725f88252","https://git.kernel.org/stable/c/da5736f516a664a9e1ff74902663c64c423045d2","https://git.kernel.org/stable/c/ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6","https://git.kernel.org/stable/c/9590d32e090ea2751e131ae5273859ca22f5ac14","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":["CWE-401"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/56xxx/CVE-2024-56715.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-56715","state":"PUBLISHED","datePublished":"2024-12-29T08:48:48.433Z","dateUpdated":"2026-08-05T11:46:13.550Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-27T15:00:39.857Z"},"containers":{"cna":{"title":"ionic: Fix netdev notifier unregister on failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: Fix netdev notifier unregister on failure\n\nIf register_netdev() fails, then the driver leaks the netdev notifier.\nFix this by calling ionic_lif_unregister() on register_netdev()\nfailure. This will also call ionic_lif_unregister_phc() if it has\nalready been registered."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"87847938f5708b2509b279369c96572254bcf2ba","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"da93a12876f8b969df7316dc93aac7e725f88252","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"da5736f516a664a9e1ff74902663c64c423045d2","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6","versionType":"git"},{"version":"30b87ab4c0b30e0f681cb7dfaab6c642dd17e454","status":"affected","lessThan":"9590d32e090ea2751e131ae5273859ca22f5ac14","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_lif.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.15.176","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.122","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.68","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.7","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_lif.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/87847938f5708b2509b279369c96572254bcf2ba"},{"url":"https://git.kernel.org/stable/c/da93a12876f8b969df7316dc93aac7e725f88252"},{"url":"https://git.kernel.org/stable/c/da5736f516a664a9e1ff74902663c64c423045d2"},{"url":"https://git.kernel.org/stable/c/ee2e931b2b46de9af7f681258e8ec8e2cd81cfc6"},{"url":"https://git.kernel.org/stable/c/9590d32e090ea2751e131ae5273859ca22f5ac14"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Both the creation of the dangling notifier (a local PCI driver probe of a Pensando/AMD ionic NIC) and the dereference (a local netdev event such as network-namespace creation) occur entirely on the local system; no network packet or remote peer data reaches this path.\nAC:L - Once probe has failed and left `ionic->nb` on `netdev_chain`, the freed-memory dereference is deterministic and infinitely repeatable — every `unshare -Urn`, container start, or `ip link` event walks the chain, with no race to win and no unpredictable memory layout required.\nPR:L - Reaching the dangling notifier requires no privilege beyond an ordinary local user: creating a network namespace via an unprivileged user namespace registers `lo` and fires `call_netdevice_notifiers(NETDEV_REGISTER)`, and the same user can groom the freed `struct ionic` region (kernel-stack/vmalloc and slab reclaim) to control the values read back.\nUI:N - No action by any victim user or administrator is needed at exploitation time; the attacker triggers the notifier chain walk himself through ordinary namespace or interface operations.\nS:U - The use-after-free corrupts kernel memory and hijacks control flow within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - `notifier_call_chain()` reads `nb->next` and `nb->notifier_call` from the freed `struct ionic`, and the surviving `ionic_lif_notify()` callback further dereferences the stale `ionic`/`lif` pointers, so a reclaimed and attacker-shaped allocation yields an arbitrary kernel-read primitive.\nI:H - The chain walk performs `nb->notifier_call(nb, val, v)` on a function pointer loaded from freed memory — a direct indirect-call/control-flow-hijack primitive — and the corrupted `nb->next` linkage additionally lets a later `raw_notifier_chain_unregister()` write through attacker-influenced pointers.\nA:H - After a failed ionic probe the machine is left one netdev event away from an oops or panic in `notifier_call_chain()`, and any unprivileged user can force that crash on demand and repeatedly."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:46:13.550Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.15.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.6.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.12.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-56715","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:58:37.829177Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","lang":"en","type":"CWE","description":"CWE-401 Missing Release of Memory after Effective Lifetime"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:07:06.875Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:53:03.632Z"}}]}}}