From mboxrd@z Thu Jan 1 00:00:00 1970 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 6CE64582B97 for ; Fri, 11 Sep 2026 19:55:59 +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=1789156566; cv=none; b=htvQWzaOv8Rss0GhdkRdOaSy177bhmT/YJthOtH4xk5CPAJ1YEo5g3gG34MfikrEFAF0eFZc4jdUHwlbL9L1Jdej4eKKnpI4xgAIbck5FfArhf2AG3xuLSBTQSgz6dxKxqTO/ziCKFLf10d9lpQC2UPEZYBQbv2PMD7IgJEP430= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156566; c=relaxed/simple; bh=ID677no/8sMopfMaEzlXFYnkOQ4ezXjh74hV/gqwdGk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jPzUp1RgIZF1b2DUZg93cupv0c2uAUbIP+13+m0vazIFjd1Lvsh43pYv0TplBAuGku2X7eVmuXPQtihnbn1Qno0Nq/A1sk4oeKc73RClAftpl0NzBO7cLfTzpkmU0kxYvPA95Wnbmtp0Y8BhHG0uK0+6xo1S6N1qwvbzwNz4Hcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=g8jPaHM2; 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="g8jPaHM2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DD501F0089C; Fri, 11 Sep 2026 19:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156556; bh=lZzShmD/qrOdbEtzAWConpioPrEGPcxLuSn/CGWLfj4=; h=From:To:Cc:Subject:Date:Reply-To; b=g8jPaHM2Uh+HAw4JY/Z9gnp22rjU6UmUT1kHe6E0icxPW0fSLVfJcJu6ifLcAuH8D 0rIqzR23cvlJFdIt/zaz5xzKOLhy91iArAr9A2NTbvxpBTTh5/Pp7J2HrfXyW1b0T4 cA09Tufm/ebKXfatbPuPfgJbVS0q5X0vUCDCd9ro= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89522: media: staging/ipu7: fix async notifier UAF on probe error path Date: Fri, 11 Sep 2026 21:43:31 +0200 Message-ID: <2026091114-CVE-2026-89522-de58@gregkh> X-Mailer: git-send-email 2.55.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=2838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DtvpNibkculiZjbtFONksmkcuntm9wlKk6L7ID/y/sE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIqOlLacf0pGuPc63hu/12y8FrK6KFzs3L/61nyWL5 3N4MBdDRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEcy3Dgqmle/eacO9buyvh X0lIgEdkxdJZ7Qzzc4IEJi699dJ1ugvDR0XJ2cZV82y7AA== 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: media: staging/ipu7: fix async notifier UAF on probe error path isys_register_devices() registers the V4L2 async notifier via isys_notifier_init(). If a subsequent probe step such as isys_fw_log_init() fails, isys_probe() jumps to the out_cleanup label which only calls isys_unregister_devices(). That helper tears down the video devices, subdevices, V4L2 device and media device, but never unregisters or cleans up the async notifier. As a result the notifier stays chained in the global notifier_list while the enclosing struct ipu7_isys is freed by devres, leading to list corruption and a use-after-free the next time the list is walked. The remove path already does the right thing by calling isys_notifier_cleanup() before isys_unregister_devices(). Mirror that on the probe error path so the notifier is unregistered and cleaned up before the device is torn down. The Linux kernel CVE team has assigned CVE-2026-89522 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit a516d36bdc3d8373f904af57c95e76d6f921cf1c and fixed in 6.18.50 with commit 2a8dd9fd12f3f6b21207cec8f50c92cd428e6b81 Issue introduced in 6.17 with commit a516d36bdc3d8373f904af57c95e76d6f921cf1c and fixed in 7.2.4 with commit 323c411fb63122e8cef5b833032d69d59a838559 Issue introduced in 6.17 with commit a516d36bdc3d8373f904af57c95e76d6f921cf1c and fixed in 7.3-rc1 with commit d7f48aa7d60c65d3e6d5312c27f17d5525a245fb 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-89522 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/staging/media/ipu7/ipu7-isys.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/2a8dd9fd12f3f6b21207cec8f50c92cd428e6b81 https://git.kernel.org/stable/c/323c411fb63122e8cef5b833032d69d59a838559 https://git.kernel.org/stable/c/d7f48aa7d60c65d3e6d5312c27f17d5525a245fb