{"schema_version":"1.9.0","id":"PUB-A-197154898","published":"2022-06-01T00:00:00Z","modified":"2026-09-10T15:43:18.983809180Z","aliases":["A-197154898","CVE-2021-38160"],"details":"In get_inbuf and control_work_handler of virtio_console.c, there is a possible out of bounds read due to an incorrect bounds check. This could lead to local information disclosure 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/+/f6ec306b93dc6"],"severity":"Moderate","spl":"2022-06-05","types":["ID"],"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"202670989844150806004207007092522554445","length":593},"id":"PUB-A-197154898-2e300d51","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/f6ec306b93dc6","target":{"file":"drivers/char/virtio_console.c","function":"control_work_handler"}},{"deprecated":false,"digest":{"line_hashes":["195362040112664097425367568813381090287","294500444727360624086595694464301006061","332693137376405820545055837063369286972","233484141920254455615093510129482763400","277125330095538739833328335747187820081","191470994714094816288619667126136557038","31383372575001076755560809231582600185","55476586781357655623533534113610196149"],"threshold":0.9},"id":"PUB-A-197154898-308c2cee","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/f6ec306b93dc6","target":{"file":"drivers/char/virtio_console.c"}},{"deprecated":false,"digest":{"function_hash":"75161918258965457135294462775099465414","length":278},"id":"PUB-A-197154898-62a43f1b","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/kernel/common/+/f6ec306b93dc6","target":{"file":"drivers/char/virtio_console.c","function":"get_inbuf"}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/PUB-A-197154898.json"}}],"references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-06-01"},{"type":"FIX","url":"https://android.googlesource.com/kernel/common/+/f6ec306b93dc6"}]}