Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5462750rwd; Mon, 5 Jun 2023 04:11:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6K5ex82p2X8pgVNEG8UQ2GHavRxC5BKc+S7+AhBMIbSd/2pJ2mmJQ9xqgukaGIW3JP74dL X-Received: by 2002:a92:280a:0:b0:33d:6536:46e1 with SMTP id l10-20020a92280a000000b0033d653646e1mr8947386ilf.23.1685963497940; Mon, 05 Jun 2023 04:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685963497; cv=none; d=google.com; s=arc-20160816; b=nh6YAv13RKiKgvWuWoIHLuG9DXl2ErskWuzqP/vXVACCuFCXfIbWtx/ASaL8iEpIdk tw70vZgsx0eR0aNHL21VjSKWpji9RrImzU1N8DUdFm7Zw9b4onxHcOOLEEZXLvF1PyNl HaK43t6HPqPlGCNUh7aCeHWNl5u/HqNvtrw9X43dey6ZQzJMoU8IeUpYrLHKZQ2f5mJ/ VxQBmLmMCU7gQo3HWSyN19VAtkZ33cx2SUqHkFoxh1+kXCQV20VVy/+sQfIAUmYowuJC Z9+yha2t1ysIXgVsPhVm3a5F+6hlsuHefpPkJmMMoycseZ81PFkC1MA8cr0Lqv/qJcm0 d/fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=BIzskmSeA9fj8J3vUNkxtU7djR4fv2SppyQVP+IcWbg=; b=Xkf/uyedNZxHkPPvRNY1MEXr2tB+PTI2+SdRCc62M/VOdj5dnF6tu66XddS6wKiwjW zK/0sZrdOsZ1OoZlNqoFAGjgTEl0xysArjIvlqYPUf3pS/0oL8OgPYOu06xmsHZUCqLN 4tRbCcGgW8sugNsRsFATvOzagqet/rM80+3l3nH1+YyyrPk0NkxYZ/G+OVLERwoJOr36 Oyv/oghBm9G5O03vU2icfP05vRLxHczL6UU7hfiejjzI+6EEIHN3sIQEDgstMsZodMH0 Chy0Ryp6PLW2lXHmtlunzL8TqvFmFgqHvwSkZFQLeWy/e7p/SQ+exR7Acdx0tGn+HsFX t54g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a63d615000000b0053ef31be221si5345703pgg.841.2023.06.05.04.11.21; Mon, 05 Jun 2023 04:11:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231495AbjFEKoy (ORCPT + 99 others); Mon, 5 Jun 2023 06:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232053AbjFEKor (ORCPT ); Mon, 5 Jun 2023 06:44:47 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56DCFDB; Mon, 5 Jun 2023 03:44:45 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1q67hb-0007rj-Rz; Mon, 05 Jun 2023 12:44:43 +0200 Message-ID: <88d8a7c3-0018-cc9a-13aa-e3262e20e4aa@leemhuis.info> Date: Mon, 5 Jun 2023 12:44:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Sometimes DVB broken with commit 6769a0b7ee0c3b Content-Language: en-US, de-DE To: Mauro Carvalho Chehab Cc: Linux regressions mailing list , Hyunwoo Kim , Linux Media Mailing List , Thomas Voegtle , linux-kernel@vger.kernel.org References: <439d143b-1de7-6365-cf64-f1b44fd6d1cf@leemhuis.info> <20230605113727.69e7f309@sal.lan> From: Thorsten Leemhuis In-Reply-To: <20230605113727.69e7f309@sal.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1685961885;4d5ba9fc; X-HE-SMSGID: 1q67hb-0007rj-Rz X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05.06.23 12:37, Mauro Carvalho Chehab wrote: > Em Mon, 5 Jun 2023 11:38:49 +0200 > "Linux regression tracking (Thorsten Leemhuis)" escreveu: > >> Hi, Thorsten here, the Linux kernel's regression tracker. >> >> On 30.05.23 13:12, Thomas Voegtle wrote: >>> >>> I have the problem that sometimes my DVB card does not initialize >>> properly booting Linux 6.4-rc4. >>> This is not always, maybe in 3 out of 4 attempts. >>> When this happens somehow you don't see anything special in dmesg, but >>> the card just doesn't work. >>> >>> Reverting this helps: >>> commit 6769a0b7ee0c3b31e1b22c3fadff2bfb642de23f >>> Author: Hyunwoo Kim >>> Date:   Thu Nov 17 04:59:22 2022 +0000 >>> >>>     media: dvb-core: Fix use-after-free on race condition at dvb_frontend >>> >>> >>> I have: >>> 03:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. >>> CX23887/8 >>> PCIe Broadcast Audio and Video Decoder with 3D Comb [14f1:8880] (rev 04) >>>         Subsystem: Hauppauge computer works Inc. Device [0070:c138] >>>         Kernel driver in use: cx23885 >> >> Hmmm, that was posted last Tuesday and received not a single reply. :-/ >> >> Hyunwoo Kim: could you please look at it, as it's a regression caused by >> a commit of yours (one that would be good to solve before 6.4 is >> finalized!)? And in case you are unable to do so let us know? >> >> But FWIW: >> >> Mauro: I wonder if this is something you or someone else has to look >> into, as Hyunwoo Kim posted a few times per months to Linux lists, but >> according to a quick search on lore hasn't posted anything since ~two >> months now. :-/ > > Yeah, I was slow applying this one, as I was afraid of it to cause > troubles. The DVB frontend state machine is complex, and uses a > semaphore to update its state. There was some past attempts of > addressing some lifetime issues there that we ended needing to revert > or not being applied, as the fix caused more harm than good. > [...] Thx for the update. That's unfortunate, but how it is sometimes. Which leads to a follow-up question: is reverting the culprit temporarily an option? Or did those old use-after-free problems became known to be a problem we can't live with anymore for another few months? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.