aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-08-04 20:58:15 +0200
committerTakashi Iwai <[email protected]>2020-08-05 08:27:39 +0200
commit80982c7e834e5d4e325b6ce33757012ecafdf0bb (patch)
treeba9fb7af0995bfefbef4c4ad7cb23a3ad0a45546 /tools/perf/scripts/python/export-to-sqlite.py
parentcd72c317a0a11f64225b9a3f1fe503bb8c7327b5 (diff)
ALSA: seq: oss: Serialize ioctls
Some ioctls via OSS sequencer API may race and lead to UAF when the port create and delete are performed concurrently, as spotted by a couple of syzkaller cases. This patch is an attempt to address it by serializing the ioctls with the existing register_mutex. Basically OSS sequencer API is an obsoleted interface and was designed without much consideration of the concurrency. There are very few applications with it, and the concurrent performance isn't asked, hence this "big hammer" approach should be good enough. Reported-by: [email protected] Reported-by: [email protected] Suggested-by: Hillf Danton <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions