Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19C823D090E for ; Mon, 8 Jun 2026 15:42:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933342; cv=none; b=nGiMLDS0Pyxl0PGiSQV71QYSr0Swl2hLRY+6BWd+o7fIlEXpF5HwHFtRrzJgc3opLSk00Wo/Z7t2lIHUH+Up51ofoTY0pEK9L0R5QJXV9CVq16w+l4Yh5azGBtHd4it/U/oUppEHGVS+h1Hn8geP1lVRVB9FPsdQ0RF8zd5zHWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933342; c=relaxed/simple; bh=MbFJO3TLNPrkb2a7HhPbX39vdJBipYSF9B2RFLpEkfM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LJNJuRFKRoDv33bEjAKJorsD3XYHnmekY+Z5DZUZptZk92cqjhxTasBYEl4xcJm/qqzXGpJjipfq2QrJEpf7OMHeU19lMPMutCDDKprqO8E7nRp7v+HSTgos+uTFk9TRleYQsHVVyYnj12fUav5pTdBRokowXcWLrCf91rTSPsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QLPf0fO+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QLPf0fO+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BFE81F00893; Mon, 8 Jun 2026 15:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933340; bh=H1iV8uHCGKRKZTWWPMNICefquZZDDypI/hzqraH5i3c=; h=From:To:Cc:Subject:Date:Reply-To; b=QLPf0fO+BIHeW2H3P3JYi485H0/QOD0hT+aZ0qVfmwGJjWnhnde/asbZqB18frMlR bVHfX8iyJq03Ip+8C2IpQ55BKU++mZMj51V9Q69VRzMXDJ1lAJ9Dhwflm9kQVMpFhz 5r5CvGvBaO1Tj2X4WfaMK2nETz1Ja7NhS4n6lzOo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46282: iio: frequency: admv1013: fix NULL pointer dereference on str Date: Mon, 8 Jun 2026 17:40:46 +0200 Message-ID: <2026060842-CVE-2026-46282-f087@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2730; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VxAAGTiJnc3VpxQtadFoJZZs7uX9ZurNMBlXxG1Vsr8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj6qCHvc0mXYvt1nRxtrLmfzWzEyrQFzNVCXCme/h1 8ZDax07YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLLMhjm8LML3T68dQG75aLw KQd2cYgs1ps9l2GebpWu5O/dhuvOdvefiFn1P8Wg02s3AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: frequency: admv1013: fix NULL pointer dereference on str When device_property_read_string() fails, str is left uninitialized but the code falls through to strcmp(str, ...), dereferencing a garbage pointer. Replace manual read/strcmp with device_property_match_property_string() and consolidate the SE mode enums into a single sequential enum, mapping to hardware register values via a switch consistent with other bitfields in the driver. Several cleanup patches have been applied to this driver recently so this will need a manual backport. The Linux kernel CVE team has assigned CVE-2026-46282 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit da35a7b526d9b258a2cb8b7816f736a41b32176b and fixed in 6.12.86 with commit 3a9d8ec2051c2d80158ed7bded5e158c42870037 Issue introduced in 5.17 with commit da35a7b526d9b258a2cb8b7816f736a41b32176b and fixed in 6.18.27 with commit 5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac Issue introduced in 5.17 with commit da35a7b526d9b258a2cb8b7816f736a41b32176b and fixed in 7.0.4 with commit 2dc8d26690bf4e7226409563221c37bc095c94ff Issue introduced in 5.17 with commit da35a7b526d9b258a2cb8b7816f736a41b32176b and fixed in 7.1-rc1 with commit aac0a51b16700b403a55b67ba495de021db78763 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46282 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/iio/frequency/admv1013.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3a9d8ec2051c2d80158ed7bded5e158c42870037 https://git.kernel.org/stable/c/5e9f1bad26df3d3afb3cbbfa408b6d6e809708ac https://git.kernel.org/stable/c/2dc8d26690bf4e7226409563221c37bc095c94ff https://git.kernel.org/stable/c/aac0a51b16700b403a55b67ba495de021db78763