CVE-2025-39701: ACPI: pfr_update: Fix the driver update version check
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ACPI: pfr_update: Fix the driver update version check
The security-version-number check should be used rather than the runtime version check for driver updates.
Otherwise, the firmware update would fail when the update binary had a lower runtime version number than the current one.
[ rjw: Changelog edits ]
The Linux kernel CVE team has assigned CVE-2025-39701 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.17 with commit 0db89fa243e5edc5de38c88b369e4c3755c5fb74 and fixed in 6.1.149 with commit 79300ff532bccbbf654992c7c0863b49a6c3973c Issue introduced in 5.17 with commit 0db89fa243e5edc5de38c88b369e4c3755c5fb74 and fixed in 6.6.103 with commit cf0a88124e357bffda487cbf3cb612bb97eb97e4 Issue introduced in 5.17 with commit 0db89fa243e5edc5de38c88b369e4c3755c5fb74 and fixed in 6.12.44 with commit b00219888c11519ef75d988fa8a780da68ff568e Issue introduced in 5.17 with commit 0db89fa243e5edc5de38c88b369e4c3755c5fb74 and fixed in 6.16.4 with commit 908094681f645d3a78e18ef90561a97029e2df7b Issue introduced in 5.17 with commit 0db89fa243e5edc5de38c88b369e4c3755c5fb74 and fixed in 6.17-rc3 with commit 8151320c747efb22d30b035af989fed0d502176e
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-39701
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/acpi/pfr_update.c
include/uapi/linux/pfrut.h
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/79300ff532bccbbf654992c7c0863b49a6c3973c https://git.kernel.org/stable/c/cf0a88124e357bffda487cbf3cb612bb97eb97e4 https://git.kernel.org/stable/c/b00219888c11519ef75d988fa8a780da68ff568e https://git.kernel.org/stable/c/908094681f645d3a78e18ef90561a97029e2df7b https://git.kernel.org/stable/c/8151320c747efb22d30b035af989fed0d502176e