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 C8A00194C86 for ; Thu, 27 Feb 2025 02:18:50 +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=1740622730; cv=none; b=tA3VA0sWVINwcIn/Ccx9kk6espmQkZCOGJ4X1q9E7KIyEEPJ2M8EFq/NssqSmLR3AdTmaH9640o7Jvg+FawG/ANf3TdKnp+32gKntCbunHSsq2SSeNBsMaai5cYAg9MOmhMoHUvvv9rCloTiiO2vJ43YI41AVhVQTaZy8dD4GOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622730; c=relaxed/simple; bh=vQLceYEZnwJJFjU9C+zsIFxabAfV/rJU5fno3le1wTs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j0Xb0IoAkTv4Zr9KfDmP05y0mKcNISbAzraGuM0oHxr1YzyWh3VyotPXxVxBIkc+uVGUKyI/lgpL2PA/IJoXTU7nD2LucFxaa6KETMiKGlJ86zjPwfZNMgiz0682pCl+9145BpiTk86mBi9BBDDAV00T8rV7gfiLZvNmP9ioHH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zcaQOzgc; 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="zcaQOzgc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C75FC4CED6; Thu, 27 Feb 2025 02:18:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622730; bh=vQLceYEZnwJJFjU9C+zsIFxabAfV/rJU5fno3le1wTs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zcaQOzgcKVKcyvbCfIq76UEqVN6CY6MLIGVdv33YKpRydbJ5Nd+flnluq76glxejN OSI1fGW1bb4r687lQt7VevV7XS27yiGWsrwMSuuAVXpC1A5xYLeCptr8A8+cCNIU1r 4UFdlmoWQJAg94IlvYiScyq2RnRY20j7lJjNmqBo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21769: ptp: vmclock: Add .owner to vmclock_miscdev_fops Date: Wed, 26 Feb 2025 18:17:25 -0800 Message-ID: <2025022605-CVE-2025-21769-c349@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1863; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vQLceYEZnwJJFjU9C+zsIFxabAfV/rJU5fno3le1wTs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7TytKTOSJ7wgtc1t9kCt49tqDvx694eYMuzv9/2Krq lf8c8NudsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEShoZ5kc/ezjrzY/WM1ME lgffkg7/JjQtopdhwRHDam71I5mzJNr/Zxq83Phy3TozbQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ptp: vmclock: Add .owner to vmclock_miscdev_fops Without the .owner field, the module can be unloaded while /dev/vmclock0 is open, leading to an oops. The Linux kernel CVE team has assigned CVE-2025-21769 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 20503272422693d793b84f88bf23fe4e955d3a33 and fixed in 6.13.4 with commit 3b5709225b43ee33e1026dd1fc0949a7f19b5289 Issue introduced in 6.13 with commit 20503272422693d793b84f88bf23fe4e955d3a33 and fixed in 6.14-rc3 with commit 7b07b040257c1b658ef3eca86e4b6ae02d65069c 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-2025-21769 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/ptp/ptp_vmclock.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/3b5709225b43ee33e1026dd1fc0949a7f19b5289 https://git.kernel.org/stable/c/7b07b040257c1b658ef3eca86e4b6ae02d65069c