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 790F8218ADD for ; Fri, 4 Sep 2026 15:16:02 +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=1788534965; cv=none; b=M+vZ5nmHqpjF/yM/L4FPGQifANXVnmY3OdSWoFMPqjNjkZZlDK+Z7KNEpO7+Iz/HIX4KVmWcdnPt1kdhM+n1y54PFvHEliptZJ7nMxMGSe5ASCgp1feV/ef/V92hazRMWZWRG/LBBaEc6WdUMusjfuOfQEj7xxO1G/updC9y1FM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788534965; c=relaxed/simple; bh=tJhO6if1Aob2n9XMSxqLbVXiE5aLybfkP+yz1dHknY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lySUhnJ10oyDxMlaRgKcBVBVYhveMd+ZdOfxYxgFVzRsPxGAHJU40XlE4DRWppr/GqiNEUhEYW+sn8vH9DzwIISf1Y+doMCYcTe+Tm1/+mWmRXIb+YI2kL1ZBHoN2uLlLna+vBz4Ir85OPumWOjHz97p6eKDLwsuY0rTfyMCOZQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XzuCpKTA; 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="XzuCpKTA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75A381F00A3E; Fri, 4 Sep 2026 15:16:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788534962; bh=ESW9puiBshYZYJUQ/f0+dIwCVNGcAK4O8pLz0ipESck=; h=From:To:Cc:Subject:Date:Reply-To; b=XzuCpKTADQIcHlT9iT/hg26/WGyDQaBruVxWF3cP34aLGbn2Ybw/Wc1rGJUODS3ir v/dmibhY+0IIpWhDyvLN5CpHCRWb6h/cGACab1UKkwjMqr1wPkBAFl4mf+2Y20rXM/ 32T7xPhNFXVWlYuwgVehC0iR4AUkPF4MYmyG3FrI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80785: fbdev: serialize mode sysfs access with lock_fb_info() Date: Fri, 4 Sep 2026 17:11:24 +0200 Message-ID: <2026090405-CVE-2026-80785-8738@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=2384; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HSv7CGbLZlVLLhyMferEXAMS4SbHrm3idhLg0IzUt1k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz7nfu9ji8oH/NgV+v9u6+uDty4d5jzzVumb68cNhv+ qn3EW4ZzR2xLAyCTAyyYoosX7bxHN1fcUjRy9D2NMwcViaQIQxcnAIwEdEKhgX9je1KTuG99jrK MzeYtMyeXH5m92KG+WFft6+fmdxoZbBGUEaV5cBUwcjGYwA= 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: fbdev: serialize mode sysfs access with lock_fb_info() show_mode(), show_modes(), and store_mode() access fb_info->modelist and fb_info->mode without holding lock_fb_info(). store_modes() takes lock_fb_info() while replacing the modelist and freeing the old one. A concurrent reader or writer can load a pointer to an old modelist entry before store_modes() frees it, then dereference freed memory or store a stale freed pointer in fb_info->mode. Take lock_fb_info() in show_mode(), show_modes(), and store_mode() to serialize with store_modes(). In show_mode(), copy the mode to the stack and format after dropping the lock. In store_mode(), split activate() into a _locked variant to avoid double-locking, and hold the locks for the modelist walk, mode conversion, activation, and fb_info->mode assignment together. The Linux kernel CVE team has assigned CVE-2026-80785 to this issue. Affected and fixed versions =========================== Fixed in 7.1.11 with commit 26135631ed8e487bc6aef70cc41934e258d09bbe Fixed in 7.2 with commit 061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2 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-80785 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/video/fbdev/core/fbsysfs.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/26135631ed8e487bc6aef70cc41934e258d09bbe https://git.kernel.org/stable/c/061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2