{"id":"CVE-2024-45001","state":"PUBLISHED","title":"net: mana: Fix RX buf alloc_size alignment and atomic op panic","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Fix RX buf alloc_size alignment and atomic op panic\n\nThe MANA driver's RX buffer alloc_size is passed into napi_build_skb() to\ncreate SKB. skb_shinfo(skb) is located at the end of skb, and its alignment\nis affected by the alloc_size passed into napi_build_skb(). The size needs\nto be aligned properly for better performance and atomic operations.\nOtherwise, on ARM64 CPU, for certain MTU settings like 4000, atomic\noperations may panic on the skb_shinfo(skb)->dataref due to alignment fault.\n\nTo fix this bug, add proper alignment to the alloc_size calculation.\n\nSample panic info:\n[  253.298819] Unable to handle kernel paging request at virtual address ffff000129ba5cce\n[  253.300900] Mem abort info:\n[  253.301760]   ESR = 0x0000000096000021\n[  253.302825]   EC = 0x25: DABT (current EL), IL = 32 bits\n[  253.304268]   SET = 0, FnV = 0\n[  253.305172]   EA = 0, S1PTW = 0\n[  253.306103]   FSC = 0x21: alignment fault\nCall trace:\n __skb_clone+0xfc/0x198\n skb_clone+0x78/0xe0\n raw6_local_deliver+0xfc/0x228\n ip6_protocol_deliver_rcu+0x80/0x500\n ip6_input_finish+0x48/0x80\n ip6_input+0x48/0xc0\n ip6_sublist_rcv_finish+0x50/0x78\n ip6_sublist_rcv+0x1cc/0x2b8\n ipv6_list_rcv+0x100/0x150\n __netif_receive_skb_list_core+0x180/0x220\n netif_receive_skb_list_internal+0x198/0x2a8\n __napi_poll+0x138/0x250\n net_rx_action+0x148/0x330\n handle_softirqs+0x12c/0x3a0","publishedAt":"2024-09-04T19:54:44.961Z","updatedAt":"2026-08-05T11:37:38.436Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"65f20b174ec0172f2d6bcfd8533ab9c9e7e347fa","versionType":"git"},{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"e6bea6a45f8a401f3d5a430bc81814f0cc8848cf","versionType":"git"},{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"32316f676b4ee87c0404d333d248ccf777f739bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microsoft/mana/mana_en.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.48","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","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/microsoft/mana/mana_en.c"]}],"references":["https://git.kernel.org/stable/c/65f20b174ec0172f2d6bcfd8533ab9c9e7e347fa","https://git.kernel.org/stable/c/e6bea6a45f8a401f3d5a430bc81814f0cc8848cf","https://git.kernel.org/stable/c/32316f676b4ee87c0404d333d248ccf777f739bc","https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45001.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-45001","state":"PUBLISHED","datePublished":"2024-09-04T19:54:44.961Z","dateUpdated":"2026-08-05T11:37:38.436Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T05:34:56.678Z"},"containers":{"cna":{"title":"net: mana: Fix RX buf alloc_size alignment and atomic op panic","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Fix RX buf alloc_size alignment and atomic op panic\n\nThe MANA driver's RX buffer alloc_size is passed into napi_build_skb() to\ncreate SKB. skb_shinfo(skb) is located at the end of skb, and its alignment\nis affected by the alloc_size passed into napi_build_skb(). The size needs\nto be aligned properly for better performance and atomic operations.\nOtherwise, on ARM64 CPU, for certain MTU settings like 4000, atomic\noperations may panic on the skb_shinfo(skb)->dataref due to alignment fault.\n\nTo fix this bug, add proper alignment to the alloc_size calculation.\n\nSample panic info:\n[  253.298819] Unable to handle kernel paging request at virtual address ffff000129ba5cce\n[  253.300900] Mem abort info:\n[  253.301760]   ESR = 0x0000000096000021\n[  253.302825]   EC = 0x25: DABT (current EL), IL = 32 bits\n[  253.304268]   SET = 0, FnV = 0\n[  253.305172]   EA = 0, S1PTW = 0\n[  253.306103]   FSC = 0x21: alignment fault\nCall trace:\n __skb_clone+0xfc/0x198\n skb_clone+0x78/0xe0\n raw6_local_deliver+0xfc/0x228\n ip6_protocol_deliver_rcu+0x80/0x500\n ip6_input_finish+0x48/0x80\n ip6_input+0x48/0xc0\n ip6_sublist_rcv_finish+0x50/0x78\n ip6_sublist_rcv+0x1cc/0x2b8\n ipv6_list_rcv+0x100/0x150\n __netif_receive_skb_list_core+0x180/0x220\n netif_receive_skb_list_internal+0x198/0x2a8\n __napi_poll+0x138/0x250\n net_rx_action+0x148/0x330\n handle_softirqs+0x12c/0x3a0"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"65f20b174ec0172f2d6bcfd8533ab9c9e7e347fa","versionType":"git"},{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"e6bea6a45f8a401f3d5a430bc81814f0cc8848cf","versionType":"git"},{"version":"80f6215b450eb8e92d8b1f117abf5ecf867f963e","status":"affected","lessThan":"32316f676b4ee87c0404d333d248ccf777f739bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/microsoft/mana/mana_en.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.48","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","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/microsoft/mana/mana_en.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/65f20b174ec0172f2d6bcfd8533ab9c9e7e347fa"},{"url":"https://git.kernel.org/stable/c/e6bea6a45f8a401f3d5a430bc81814f0cc8848cf"},{"url":"https://git.kernel.org/stable/c/32316f676b4ee87c0404d333d248ccf777f739bc"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The fault is triggered entirely by receiving a packet on the MANA NIC's RX path, which is the internet/VNet-facing interface of an Azure VM; a remote attacker's packet reaching any of the ubiquitous `skb_clone()` consumers (AF_PACKET tap, bridge flooding, multicast/raw socket delivery) panics the machine.\nAC:L - The misalignment is present with the default MTU of 1500 as well as jumbo settings (shinfo offset ≡ mtu+2 mod 4 for all standard MTUs), requires no special configuration, and the attacker simply sends ordinary traffic — no race, no memory-layout grooming, and the crash is deterministic on the first cloned skb.\nPR:N - No authentication or credentials of any kind are needed; the panic occurs in the NAPI/softirq receive path before any socket-level authorization, so any unauthenticated host that can send packets to the VM can trigger it.\nUI:N - No victim action is required; the packet is processed automatically by the driver's NAPI poll and the network stack's clone paths.\nS:U - The alignment fault crashes the kernel that owns the vulnerable driver, with no crossing of a security authority boundary such as a VM or IOMMU escape.\nC:N - The misaligned `skb_shinfo`/`dataref` is entirely inside the allocated RX buffer, so nothing out of bounds is read and no kernel data is disclosed — the CPU faults before any access completes.\nI:N - There is no out-of-bounds or use-after-free write; the defect only mislocates an in-bounds structure whose atomic access aborts, so no kernel memory is modified and no control-flow primitive is obtained.\nA:H - The unaligned atomic on `skb_shinfo(skb)->dataref` raises an unhandled ARM64 alignment fault in softirq context, producing a fatal exception in interrupt and a full kernel panic that can be re-triggered by any subsequent received packet."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:37:38.436Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.48"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.10.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-04T20:18:42.711602Z","id":"CVE-2024-45001","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-04T20:19:02.550Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:30:48.703Z"}}]}}}