Skip to content

Commit 60cf85b

Browse files
authored
Add eBPF ALU32 bounds tracking for bitwise ops (CVE-2021-3490) (#91)
1 parent 61c1942 commit 60cf85b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

linux-exploit-suggester.sh

+12
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,18 @@ author: GRIMM
904904
EOF
905905
)
906906

907+
EXPLOITS[((n++))]=$(cat <<EOF
908+
Name: ${txtgrn}[CVE-2021-3490]${txtrst} eBPF ALU32 bounds tracking for bitwise ops
909+
Reqs: pkg=linux-kernel,ver>=5.7,ver<5.12,CONFIG_BPF_SYSCALL=y,sysctl:kernel.unprivileged_bpf_disabled!=1
910+
Tags: ubuntu=20.04{kernel:5.8.0-(25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52)-*},ubuntu=21.04{kernel:5.11.0-16-*}
911+
Rank: 5
912+
analysis-url: https://www.graplsecurity.com/post/kernel-pwning-with-ebpf-a-love-story
913+
src-url: https://codeload.github.com/chompie1337/Linux_LPE_eBPF_CVE-2021-3490/zip/main
914+
Comments: CONFIG_BPF_SYSCALL needs to be set && kernel.unprivileged_bpf_disabled != 1
915+
author: chompie1337
916+
EOF
917+
)
918+
907919
EXPLOITS[((n++))]=$(cat <<EOF
908920
Name: ${txtgrn}[CVE-2021-22555]${txtrst} Netfilter heap out-of-bounds write
909921
Reqs: pkg=linux-kernel,ver>=2.6.19,ver<=5.12-rc6

0 commit comments

Comments
 (0)