Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DE5942FBDFD for ; Fri, 24 Apr 2026 14:33:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041233; cv=none; b=fjQGYv3N3UppOKmd/pgeXligjtXdELm/cPoA4iUApjdTwQUotRtBtCbchsk/JJmUgIjCXcEFYd3JFpWh0MVkw28S3FSXMqsGuvWdGGBipv9HQfQ4We0cH1itXRw5bEIlHFS+jp4ciEMh3f05KuRxy6jN7yZVXXmAxac8I/jtpT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041233; c=relaxed/simple; bh=doA+CXrEr9NIJUq+Y+/0Rpg1RV4ur6jSA3DbKbiIL9Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jyXTB7/aDIvv1c1qygknBJOrFpZtaMF6vYzouD8m8eePp31CvTQfvI+4F/Fp/XY1GblORnRmnBq6S7U3pG+FIiPcw0nXPXTipjCixhiOXvebZrOu8P6zz24jGhW3qNYF7PlTC74mWO3lHAc1osejYP7iD0/ni3JhbPCxvTXPICc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IB4yNL11; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IB4yNL11" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 477C9C19425; Fri, 24 Apr 2026 14:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041233; bh=doA+CXrEr9NIJUq+Y+/0Rpg1RV4ur6jSA3DbKbiIL9Q=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IB4yNL119IExbXBwITQaRazaUI2bbjkL0kd5a2jexbwm48MdbS3gEgiUGCVFsARyO 6Ttkh6g8svWZ+38kve7DNWBMWEP3XrSZQR8GTeKGpxnpqNnneK1QddtyFAqRdQU4c/ Ai7os87Mim0dXuH/kVTQGq1FaYklw+aA1k8tLIXs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31549: i2c: cp2615: fix serial string NULL-deref at probe Date: Fri, 24 Apr 2026 16:33:32 +0200 Message-ID: <2026042426-CVE-2026-31549-81f8@gregkh> X-Mailer: git-send-email 2.53.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=3179; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LtunaLLUcTjjRmkpR+CIi9kUsKzH6LhaiC5AT35GOI8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv68127HnwseVggntW/AKWnjf1x1sqe8Vn6r0+POvyv 7XPHrju6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJcIowzI+MDTgW/435o3hJ gmzq+X9mf0WTVjLMd5Us+dK0clKxzrUGDeuAgh2piy8fAQA= 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: i2c: cp2615: fix serial string NULL-deref at probe The cp2615 driver uses the USB device serial string as the i2c adapter name but does not make sure that the string exists. Verify that the device has a serial number before accessing it to avoid triggering a NULL-pointer dereference (e.g. with malicious devices). The Linux kernel CVE team has assigned CVE-2026-31549 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 5.15.203 with commit e68c267787778bcdf3d91b06f794faaba7f0d1d1 Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 6.1.167 with commit 4a22af879172336370ae3e81e7f65fb2f69472ee Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 6.6.130 with commit 69aece634a7eebafd9a596e5494d52facf6f26ec Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 6.12.78 with commit 13ccf9b106bba121728f1625c4375a1bd8f5c5a3 Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 6.18.20 with commit a9778298f47036866ea15eeb17242e8a4612580f Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 6.19.10 with commit efe996bcfe50c2dcc6cf65c574285713b722ced7 Issue introduced in 5.13 with commit 4a7695429eade517b07ea72f9ec366130e81a076 and fixed in 7.0 with commit aa79f996eb41e95aed85a1bd7f56bcd6a3842008 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-31549 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/i2c/busses/i2c-cp2615.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/e68c267787778bcdf3d91b06f794faaba7f0d1d1 https://git.kernel.org/stable/c/4a22af879172336370ae3e81e7f65fb2f69472ee https://git.kernel.org/stable/c/69aece634a7eebafd9a596e5494d52facf6f26ec https://git.kernel.org/stable/c/13ccf9b106bba121728f1625c4375a1bd8f5c5a3 https://git.kernel.org/stable/c/a9778298f47036866ea15eeb17242e8a4612580f https://git.kernel.org/stable/c/efe996bcfe50c2dcc6cf65c574285713b722ced7 https://git.kernel.org/stable/c/aa79f996eb41e95aed85a1bd7f56bcd6a3842008