{"schema_version":"1.9.0","id":"PUB-A-217307370","published":"2022-04-01T00:00:00Z","modified":"2026-09-08T15:39:03.104189951Z","aliases":["A-217307370","CVE-2021-34866"],"details":"In check_map_func_compatibility of verifier.c, there is a possible way to escalate privileges due to type confusion. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.","affected":[{"package":{"name":":linux_kernel:","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":":0"},{"fixed":":2022-04-05"}]}],"versions":["Kernel"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de"],"severity":"Moderate","spl":"2022-04-05","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["15371768363011398948134392204682119057","268699932613652902180405491950515855539","228354794961783121942231163916749470200","248489427563718735253355314142042363286","212508327797180963645215052490574560327","65854336413834867826726423728848597359","75361136359227556588278444359324605212","130310085127283080999774999963555185597","48210965307352011666908275781782046531"],"threshold":0.9},"id":"PUB-A-217307370-1848d9ea","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de","target":{"file":"kernel/bpf/verifier.c"}},{"deprecated":false,"digest":{"function_hash":"293654774779956045482460113655615237214","length":5443},"id":"PUB-A-217307370-6df1b1e7","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de","target":{"file":"kernel/bpf/verifier.c","function":"check_map_func_compatibility"}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-217307370.json"}}],"references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-04-01"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de"}]}