{"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-03-11T06:36:40.827718Z","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":{"spl":"2022-06-05","vanir_signatures":[{"id":"PUB-A-213172369-44cea301","target":{"file":"fs/fs_context.c"},"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","signature_type":"Line","digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9}},{"id":"PUB-A-213172369-4d2f18b1","target":{"file":"fs/fs_context.c","function":"legacy_parse_param"},"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/a32e89883a535","signature_type":"Function","digest":{"length":1796,"function_hash":"67543043462929298139978757926468672210"}},{"id":"PUB-A-213172369-a492c0a0","target":{"file":"fs/fs_context.c"},"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","signature_type":"Line","digest":{"line_hashes":["332611879140404434690152632347982780701","193005555054335394959908412522152239921","308843018842959193664841224512432202885","251322244919373171567936309461685841974"],"threshold":0.9}},{"id":"PUB-A-213172369-aad49fbf","target":{"file":"fs/fs_context.c","function":"legacy_parse_param"},"deprecated":false,"signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/eadde287a62e6","signature_type":"Function","digest":{"length":1796,"function_hash":"67543043462929298139978757926468672210"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/kernel/common/+/a32e89883a535","https://android.googlesource.com/kernel/common/+/eadde287a62e6"],"severity":"Moderate"},"database_specific":{"source":"https://storage.googleapis.com/android-osv-test/PUB-A-213172369.json"}}],"schema_version":"1.7.5"}