Skip to content

More hardening for ALSA sequencer write/ioctl races

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: seq: Don't allow resizing pool in usesound/core/seq/seq_clientmgr.c+3 -02 replies
2/2ALSA: seq: More protection for concurrent write and ioctl racessound/core/seq/seq_clientmgr.c sound/core/seq/seq_fifo.c sound/core/seq/seq_memory.c +1 more+24 -131 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchNicolai Stange
1/2
2/2Reviewed-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] More hardening for ALSA sequencer write/ioctl races

Hi,

here is two patches to paper over the still remaining races in ALSA sequencer write and ioctl that have been leaked in the previous fix for CVE-2018-1000004.

The reports came up totally individually, so both people are put as Reported-by tag here.

thanks,

Takashi

===

Takashi Iwai (2):
ALSA: seq: Don't allow resizing pool in use
ALSA: seq: More protection for concurrent write and ioctl races

 sound/core/seq/seq_clientmgr.c | 21 ++++++++++++++-------
 sound/core/seq/seq_fifo.c      |  2 +-
 sound/core/seq/seq_memory.c    | 14 ++++++++++----
 sound/core/seq/seq_memory.h    |  3 ++-
 4 files changed, 27 insertions(+), 13 deletions(-)
Signature · 1 line
2.16.2