{"id":"CVE-2024-26950","aliases":["CVE-2024-26950"],"related":[],"kind":"vulnerability","state":"published","title":"wireguard: netlink: access device through ctx instead of peer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwireguard: netlink: access device through ctx instead of peer\n\nThe previous commit fixed a bug that led to a NULL peer->device being\ndereferenced. It's actually easier and faster performance-wise to\ninstead get the device from ctx->wg. This semantically makes more sense\ntoo, since ctx->wg->peer_allowedips.seq is compared with\nctx->allowedips_seq, basing them both in ctx. This also acts as a\ndefence in depth provision against freed peers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwireguard: netlink: access device through ctx instead of peer\n\nThe previous commit fixed a bug that led to a NULL peer->device being\ndereferenced. It's actually easier and faster performance-wise to\ninstead get the device from ctx->wg. This semantically makes more sense\ntoo, since ctx->wg->peer_allowedips.seq is compared with\nctx->allowedips_seq, basing them both in ctx. This also acts as a\ndefence in depth provision against freed peers.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: wireguard: netlink: acceda al dispositivo a través de ctx en lugar de peer. el commit anterior solucionó un error que provocaba que se desreferenciara un dispositivo NULL peer-&gt;. En realidad, es más fácil y rápido en cuanto a rendimiento obtener el dispositivo desde ctx-&gt;wg. Esto también tiene más sentido semánticamente, ya que ctx-&gt;wg-&gt;peer_allowedips.seq se compara con ctx-&gt;allowedips_seq, basándose ambos en ctx. Esto también actúa como una defensa en profundidad contra los pares liberados.","source":"nvd"}],"published":"2024-05-01T05:18:29.902Z","modified":"2026-10-15T01:17:33.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"493aa6bdcffd90a4f82aa614fe4f4db0641b4068","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"4be453271a882c8ebc28df3dbf9e4d95e6ac42f5","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"09c3fa70f65175861ca948cb2f0f791e666c90e5","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"c991567e6c638079304cc15dff28748e4a3c4a37","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"93bcc1752c69bb309f4d8cfaf960ef1faeb34996","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"d44bd323d8bb8031eef4bdc44547925998a11e47","status":"affected"},{"type":"git","introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd","fixed":"71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.215","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.154","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.84","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.24","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.12","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.3","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.215"},{"status":"affected","introduced":"5.11","fixed":"5.15.154"},{"status":"affected","introduced":"5.16","fixed":"6.1.84"},{"status":"affected","introduced":"6.2","fixed":"6.6.24"},{"status":"affected","introduced":"6.7","fixed":"6.7.12"},{"status":"affected","introduced":"6.8","fixed":"6.8.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c991567e6c638079304cc15dff28748e4a3c4a37","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-06T18:55:56.220Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26950","url":"https://www.cve.org/CVERecord?id=CVE-2024-26950","licence":"CVE Terms of Use","modified":"2026-10-15T00:39:31.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26950","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26950","licence":"Public domain","modified":"2026-10-15T01:17:33.187Z"}],"updatedAt":"2026-11-25T22:58:39.732Z","epss":{"score":0.00244,"percentile":0.16738,"date":"2026-12-01T12:00:22.000Z"}}