Release Date: | 2024-05-01 |
In the Linux kernel, the following vulnerability has been resolved:\nwireguard: netlink: check for dangling peer via is_dead instead of empty list\nIf all peers are removed via wg_peer_remove_all(), rather than setting\npeer_list to empty, the peer is added to a temporary list with a head on\nthe stack of wg_peer_remove_all(). If a netlink dump is resumed and the\ncursored peer is one that has been removed via wg_peer_remove_all(), it\nwill iterate from that peer and then attempt to dump freed peers.\nFix this by instead checking peer->is_dead, which was explictly created\nfor this purpose. Also move up the device_update_lock lockdep assertion,\nsince reading is_dead relies on that.\nIt can be reproduced by a small script like:\necho 'Setting config...'\nip link add dev wg0 type wireguard\nwg setconf wg0 /big-config\n(\nwhile true; do\necho 'Showing config...'\nwg showconf wg0 > /dev/null\ndone\n) &\nsleep 4\nwg setconf wg0 <(printf '[Peer]\nPublicKey=\n')\nResulting in:\nBUG: KASAN: slab-use-after-free in __lock_acquire+0x182a/0x1b20\nRead of size 8 at addr ffff88811956ec70 by task wg/59\nCPU: 2 PID: 59 Comm: wg Not tainted 6.8.0-rc2-debug+ #5\nCall Trace:\n
See more information about CVE-2024-26951 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.
Base Score: | 5.5 | CVSS Vector: | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Attack Vector: | Local network | Attack Complexity: | Low |
Privileges Required: | Low | User Interaction: | None |
Scope: | Unchanged | Confidentiality Impact: | None |
Integrity Impact: | None | Availability Impact: | High |
Platform | Errata | Release Date |
Oracle Linux version 7 (kernel-uek) | ELSA-2024-12813 | 2024-11-12 |
Oracle Linux version 8 (kernel-uek) | ELSA-2024-12813 | 2024-11-12 |
Oracle Linux version 9 (kernel) | ELSA-2024-9315 | 2024-11-14 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: