{"id":"CVE-2024-26950","summary":"wireguard: netlink: access device through ctx instead of peer","details":"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-\u003edevice being\ndereferenced. It's actually easier and faster performance-wise to\ninstead get the device from ctx-\u003ewg. This semantically makes more sense\ntoo, since ctx-\u003ewg-\u003epeer_allowedips.seq is compared with\nctx-\u003eallowedips_seq, basing them both in ctx. This also acts as a\ndefence in depth provision against freed peers.","modified":"2026-04-02T10:06:30.239792Z","published":"2024-05-01T05:18:29.902Z","related":["SUSE-SU-2024:1644-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26950.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09c3fa70f65175861ca948cb2f0f791e666c90e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/493aa6bdcffd90a4f82aa614fe4f4db0641b4068"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4be453271a882c8ebc28df3dbf9e4d95e6ac42f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93bcc1752c69bb309f4d8cfaf960ef1faeb34996"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c991567e6c638079304cc15dff28748e4a3c4a37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d44bd323d8bb8031eef4bdc44547925998a11e47"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26950.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26950"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e7096c131e5161fa3b8e52a650d7719d2857adfd"},{"fixed":"493aa6bdcffd90a4f82aa614fe4f4db0641b4068"},{"fixed":"4be453271a882c8ebc28df3dbf9e4d95e6ac42f5"},{"fixed":"09c3fa70f65175861ca948cb2f0f791e666c90e5"},{"fixed":"c991567e6c638079304cc15dff28748e4a3c4a37"},{"fixed":"93bcc1752c69bb309f4d8cfaf960ef1faeb34996"},{"fixed":"d44bd323d8bb8031eef4bdc44547925998a11e47"},{"fixed":"71cbd32e3db82ea4a74e3ef9aeeaa6971969c86f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26950.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}