{"id":"PUB-A-217307370","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.","aliases":["A-217307370","CVE-2021-34866"],"modified":"2026-04-13T15:04:09.269232Z","published":"2022-04-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-04-01"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de"}],"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"],"spl":"2022-04-05","vanir_signatures":[{"source":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de","deprecated":false,"signature_type":"Line","id":"PUB-A-217307370-1848d9ea","digest":{"threshold":0.9,"line_hashes":["15371768363011398948134392204682119057","268699932613652902180405491950515855539","228354794961783121942231163916749470200","248489427563718735253355314142042363286","212508327797180963645215052490574560327","65854336413834867826726423728848597359","75361136359227556588278444359324605212","130310085127283080999774999963555185597","48210965307352011666908275781782046531"]},"signature_version":"v1","target":{"file":"kernel/bpf/verifier.c"}},{"source":"https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de","deprecated":false,"signature_type":"Function","id":"PUB-A-217307370-6df1b1e7","digest":{"function_hash":"293654774779956045482460113655615237214","length":5443},"signature_version":"v1","target":{"file":"kernel/bpf/verifier.c","function":"check_map_func_compatibility"}}],"types":["EoP"],"severity":"Moderate"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-217307370.json"}}],"schema_version":"1.7.5"}