Android Wear 8.0.0 Release 0.21 (OWDE.180215.020,sawshark_sw)
ALSA: seq: Fix use-after-free at creating a port

CVE-2017-15265

There is a potential race window opened at creating and deleting a
port via ioctl, as spotted by fuzzing.  snd_seq_create_port() creates
a port object and returns its pointer, but it doesn't take the
refcount, thus it can be deleted immediately by another thread.
2 files changed