CVE-2023-52992 Information
Description
In the Linux kernel the following vulnerability has been resolved:
bpf: Skip task with pid=1 in send_signal_common()
The following kernel panic can be triggered when a task with pid=1 attaches a prog that attempts to send killing signal to itself also see [1] for more details:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU: 3 PID: 1 Comm: systemd Not tainted 6.1.0-09652-g59fe41b5255f 148
Call Trace:
So skip task with pid=1 in bpf_send_signal_common() to avoid the panic.
[1] https://lore.kernel.org/bpf/20221222043507.33037-1-sunhao.th@gmail.com
Reference
https://git.kernel.org/stable/c/0dfef503133565fa0bcf3268d8eeb5b181191a65 https://git.kernel.org/stable/c/1283a01b6e19d05f7ed49584ea653947245cd41e https://git.kernel.org/stable/c/4923160393b06a34759a11b17930d71e06f396f2 https://git.kernel.org/stable/c/a1c0263f1eb4deee132e11e52ee6982435460d81 https://git.kernel.org/stable/c/a3d81bc1eaef48e34dd0b9b48eefed9e02a06451
Share on: