{"id":"PUB-A-213172369","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.","aliases":["A-213172369","CVE-2022-0185"],"modified":"2026-05-19T16:54:37.272608834Z","published":"2022-06-01T00:00:00Z","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"}],"affected":[{"package":{"name":":linux_kernel:","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":":0"},{"fixed":":2022-06-05"}]}],"versions":["Kernel"],"ecosystem_specific":{"severity":"Moderate","vanir_signatures":[{"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9},"id":"PUB-A-213172369-44cea301","signature_type":"Line","target":{"file":"fs/fs_context.c"}},{"signature_version":"v1","deprecated":false,"digest":{"function_hash":"67543043462929298139978757926468672210","length":1796},"source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","id":"PUB-A-213172369-4d2f18b1","signature_type":"Function","target":{"function":"legacy_parse_param","file":"fs/fs_context.c"}},{"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9},"id":"PUB-A-213172369-a492c0a0","signature_type":"Line","target":{"file":"fs/fs_context.c"}},{"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","digest":{"function_hash":"67543043462929298139978757926468672210","length":1796},"id":"PUB-A-213172369-aad49fbf","signature_type":"Function","target":{"function":"legacy_parse_param","file":"fs/fs_context.c"}}],"types":["EoP"],"spl":"2022-06-05","fixes":["https://android.googlesource.com/kernel/common/+/a32e89883a535","https://android.googlesource.com/kernel/common/+/eadde287a62e6"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-213172369.json"}}],"schema_version":"1.7.5"}