Mark Johnston 35fd0fc409 Use a sleepable lock for midistat functions.
Otherwise the mutex needs to be dropped when copying out the midistat
sbuf, leading to a race which allows one to read kernel memory beyond
the end of the sbuf buffer.

Reported and tested by:	pho
Security:	CVE-2019-5612
2019-08-20 17:52:12 +00:00
..
2019-08-19 14:33:22 +00:00
2019-08-18 09:19:33 +00:00
2019-08-19 22:53:05 +00:00
2019-08-15 17:43:36 +00:00
2019-08-19 23:01:59 +00:00
2019-08-19 22:53:05 +00:00
2019-08-19 18:15:17 +00:00
2019-08-19 22:53:05 +00:00
2019-06-08 16:26:56 +00:00