{"schema_version":"1.9.0","id":"PUB-A-197155069","published":"2021-10-01T00:00:00Z","modified":"2026-09-10T15:43:18.983809180Z","aliases":["A-197155069","CVE-2021-38166"],"details":"In __htab_map_lookup_and_delete_batch of hashtab.c, there is a possible out of bounds write due to an integer overflow. 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":":2021-10-05"}]}],"versions":["Kernel"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6"],"severity":"Moderate","spl":"2021-10-05","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"127331074739203562560229732259510439617","length":3574},"id":"PUB-A-197155069-5385d91f","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6","target":{"file":"kernel/bpf/hashtab.c","function":"__htab_map_lookup_and_delete_batch"}},{"deprecated":false,"digest":{"line_hashes":["212658755389406059833830562300516653499","201381836538477114258617779280796146030","302285419246911275932144487388570272238","262131155964030128750198698395094825846","120523421720983727123488074848466022665"],"threshold":0.9},"id":"PUB-A-197155069-dd80b817","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6","target":{"file":"kernel/bpf/hashtab.c"}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-197155069.json"}}],"references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2021-10-01"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6"}]}