commit | a178f5da043b375bb1fd340524baca8d04cf0fb0 | [log] [tgz] |
---|---|---|
author | Nick Chung <nickchung@google.com> | Tue Mar 28 06:11:38 2023 +0000 |
committer | Nick Chung <nickchung@google.com> | Mon Dec 11 09:21:49 2023 +0000 |
tree | c794d3d4fa5ddcbe52630195c7710c0a82e0b575 | |
parent | a380ea075e5de14d697ab5af8a6f5ddb94582c8e [diff] |
Top: Fix lwis_top_event_subscribe() UAF The event_subscriber_list is used to subscribe and unsubscribe from events. The list may be removed before it is unsubscribed from, so it must be protected by a Spinlock to prevent data corruption. Bug: 239867994 Test: Fuzzing test. GCA Change-Id: Ibc8c2b218e16e5300bc68a3e4281fc0ba53adf62 Signed-off-by: Nick Chung <nickchung@google.com> (cherry picked from commit 676c16df8585f0b8178dc5c22fee18033ea03ec8)