Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3246178lfo; Sun, 22 May 2022 23:47:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1j/QamHgUD1RP0afcAg+K9cK5jjKv2fqd8zyQ7BLf9NQ8+5Rowb/2lqxv6W3wfZOSERJk X-Received: by 2002:a17:903:d1:b0:15f:3277:fae with SMTP id x17-20020a17090300d100b0015f32770faemr21887477plc.69.1653288445236; Sun, 22 May 2022 23:47:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653288445; cv=none; d=google.com; s=arc-20160816; b=s71QoiSFb0hCe5ARi3XSJB0zZqDqKw8CvZLXXt/vTwckoMNtXxhpM7+fdkbA1SOYzt J60JvP8/hkQyqTgUU0zbgzqwYRwi8wpuLPFxf9xnsmCVMcHYJ74P9Q2VhksIBfKzXcic 1LcqWcSOK6pLuZNBWctCZsS4SU7H5MWDUcjEQv0re5uiEXuEIE6KsN8SKq6Ma1oLWDe3 +v644wefM6ZAttPXUBNIqNHRVzuvoFjJYrDsU2A6NiR7qGZ6c4PtTgHNOBXqyflyE15+ tOL9nTh+MhxHOhj7Nbyp3pdheWmzvEiG3zvWoxd4H56iFeJcDQ5QAne6HKNnoECTHSgO eivw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=Hpstek4ipL4BGtqUZMxVvlnAhOvS8jkwVCmctVMNoM8=; b=ZDFr8qdzu1KCmznYqeZh1B3qSXdbJ1lJuuZmcrz9n1+kCRG3Pjvxpqm9Xg/M6yjAAI Kn+cyCQL2MdaWyK7KD7dtoesGB+6IyJ/szApjHBjsvzujMw18EvIoPwMvqKH9q38HNPG BpkSZzaIVZmBSCyv0HFZBnSrfGPgQ9uANihUoYFL0Jr2JTSa6WHEjJf5XZjw4BWhE7Jg 1nCifLBXVTUWURTHGmMgwM8s69A4EfG8Q6D6yUKDnGgGbvEmnXFTpM9tkxaIP+Zw+jkZ 2tH0ynKa0ZadgAKk0UK+4tK7A6/3ON2G+WAx92CjB6pwLNFfZmc4LsFKAKVMhv8LyseQ QOFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUPFO+qt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k4-20020a170902d58400b001608b341d2csi8342284plh.124.2022.05.22.23.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:47:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUPFO+qt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAD8351586; Sun, 22 May 2022 23:17:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351987AbiETQ7E (ORCPT + 99 others); Fri, 20 May 2022 12:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351998AbiETQ7A (ORCPT ); Fri, 20 May 2022 12:59:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EB951862B0 for ; Fri, 20 May 2022 09:58:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 340DBB82CC9 for ; Fri, 20 May 2022 16:58:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85D16C34100; Fri, 20 May 2022 16:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653065930; bh=3azuETAmGZlEwX/wPLs4EOiDGdGEXJV56CdJtxT8nI4=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=XUPFO+qtP/NLt3gMki4chQI1J4qFlh9mUpktQbMvpfuLd4VkyhdV90Z+NKIvQ1nn3 COTGJObBu6HwIh4z1UM3WxRKsLxnYyvYqtigLgixZgEvfTVunwrs5wYxghMbOrF10Y fK+pnsP1hEGrKm+GICIxLu2S+LBZlkASF5xd+VX6fYBOf4WFD8wDulrgHI4GPuZMvo Pzd5xbKwi8CBaS73oJYKow+H/AjyjZ7+Khc/bBK767qmX88EuvqsaXVwi8iiMjss4W pfc2EZx6ZnfkJ+slzGnhg1N7tYaTY/akWKWsph29YcAt8Pwq17kUwpg+UNJsNryLjC p4FlZ7AhwVFZQ== From: Mark Brown To: Liam Girdwood , khoroshilov@ispras.ru Cc: perex@perex.cz, ldv-project@linuxtesting.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, tiwai@suse.com In-Reply-To: <1652999486-29653-1-git-send-email-khoroshilov@ispras.ru> References: <1652999486-29653-1-git-send-email-khoroshilov@ispras.ru> Subject: Re: [PATCH] ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv() Message-Id: <165306592925.462688.10342904304525051880.b4-ty@kernel.org> Date: Fri, 20 May 2022 17:58:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, 20 May 2022 01:31:26 +0300, Alexey Khoroshilov wrote: > Validation of signed input should be done before casting to unsigned int. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv() commit: f7a344468105ef8c54086dfdc800e6f5a8417d3e All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark