{"id":"CVE-2024-42247","published":"2024-08-07T15:14:32Z","modified":"2026-08-05T11:36:02Z","title":"wireguard: allowedips: avoid unaligned 64-bit memory accesses","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwireguard: allowedips: avoid unaligned 64-bit memory accesses\n\nOn the parisc platform, the kernel issues kernel warnings because\nswap_endian() tries to load a 128-bit IPv6 address from an unaligned\nmemory location:\n\n Kernel: unaligned access to 0x55f4688c in wg_allowedips_insert_v6+0x2c/0x80 [wireguard] (iir 0xf3010df)\n Kernel: unaligned access to 0x55f46884 in wg_allowedips_insert_v6+0x38/0x80 [wireguard] (iir 0xf2010dc)\n\nAvoid such unaligned memory accesses by instead using the\nget_unaligned_be64() helper macro.\n\n[Jason: replace src[8] in original patch with src+8]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00724,"percentile":0.54972,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ae630de24efb123d7199a43256396d7758f4cb75","tags":[]},{"url":"https://git.kernel.org/stable/c/b4764f0ad3d68de8a0b847c05f427afb86dd54e6","tags":[]},{"url":"https://git.kernel.org/stable/c/217978a29c6ceca76d3c640bf94bdf50c268d801","tags":[]},{"url":"https://git.kernel.org/stable/c/6638a203abad35fa636d59ac47bdbc4bc100fd74","tags":[]},{"url":"https://git.kernel.org/stable/c/2fb34bf76431e831f9863cd59adc0bd1f67b0fbf","tags":[]},{"url":"https://git.kernel.org/stable/c/948f991c62a4018fb81d85804eeab3029c6209f8","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < ae630de24efb123d7199a43256396d7758f4cb75",">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < b4764f0ad3d68de8a0b847c05f427afb86dd54e6",">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 217978a29c6ceca76d3c640bf94bdf50c268d801",">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 6638a203abad35fa636d59ac47bdbc4bc100fd74",">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 2fb34bf76431e831f9863cd59adc0bd1f67b0fbf",">= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 948f991c62a4018fb81d85804eeab3029c6209f8"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:13:28.429050Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39470","exploited":false,"provenance":"source"}}