Details

[Home]

Issue of the Implementation # L0134

Brief

[media] dvb_demux: fix deadlock in dmx_section_feed_release_filter()

Detailed Description

dmx_section_feed_release_filter() locks dvbdmx->mutex and if the feed is still filtering, it calls feed->stop_filtering(feed). stop_filtering() is implemented by dmx_section_feed_stop_filtering() that first of all try to lock the same mutex: dvbdmx->mutex. That leads to a deadlock. It does not happen often in practice because all callers of release_filter() stop filtering by themselves. So the problem can happen in case of race condition only.

Component

linux-kernel 3.12

Accepted

http://lkml.org/lkml/2013/8/17/68
commit

Status

Fixed in kernel 3.13-rc4

[Home]