summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorAnkit Sharma <ansharma@codeaurora.org>2017-10-28 14:29:02 +0530
committerAnirudh Ghayal <aghayal@codeaurora.org>2017-10-28 14:29:50 +0530
commitd851b06217392b0d56133aca2df010e9703c1b3f (patch)
treec43ecab0eec2c487e748d42a58236adf3a97c916 /lib/mpi/mpi-bit.c
parent31c9729a258a6495a344e2ec692e43fab9a0db87 (diff)
leds: qpnp-flash: Fix Use-after-free(UAF) for debugfs
Fix UAF where two threads can open and close the same file. Second open will cause the private data for the first file to be overwritten. When the first file is closed and the private data is freed, this makes the now-shared private data OOB for the second thread. CRs-Fixed: 1109763 Change-Id: I1c4618d5be99e140abf0f3ea0d7f485897db5ab2 Signed-off-by: Ankit Sharma <ansharma@codeaurora.org> Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions