{"schema_version":"1.9.0","id":"PUB-A-213172369","published":"2022-06-01T00:00:00Z","modified":"2026-09-10T15:43:18.983809180Z","aliases":["A-213172369","CVE-2022-0185"],"details":"In legacy_parse_param of fs_context.c, there is a possible out of bounds write due to a missing bounds check. 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-06-05"}]}],"versions":["Kernel"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/kernel/common/+/a32e89883a535","https://android.googlesource.com/kernel/common/+/eadde287a62e6"],"severity":"Moderate","spl":"2022-06-05","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9},"id":"PUB-A-213172369-44cea301","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","target":{"file":"fs/fs_context.c"}},{"deprecated":false,"digest":{"function_hash":"67543043462929298139978757926468672210","length":1796},"id":"PUB-A-213172369-4d2f18b1","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","target":{"file":"fs/fs_context.c","function":"legacy_parse_param"}},{"deprecated":false,"digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9},"id":"PUB-A-213172369-a492c0a0","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","target":{"file":"fs/fs_context.c"}},{"deprecated":false,"digest":{"function_hash":"67543043462929298139978757926468672210","length":1796},"id":"PUB-A-213172369-aad49fbf","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","target":{"file":"fs/fs_context.c","function":"legacy_parse_param"}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-213172369.json"}}],"references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-06-01"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/a32e89883a535"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/eadde287a62e6"}]}