CVE-2025-71106
JSON

5.5medium

fs: PM: Fix reverse check in filesystems_freeze_callback()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: fs: PM: Fix reverse check in filesystems_freeze_callback() The freeze_all_ptr check in filesystems_freeze_callback() introduced by commit a3f8f8662771 ("power: always freeze efivarfs") is reverse which quite confusingly causes all file systems to be frozen when filesystem_freeze_enabled is false. On my systems it causes the WARN_ON_ONCE() in __set_task_frozen() to trigger, most likely due to an attempt to freeze a file system that is not ready for that. Add a logical negation to the check in question to reverse it as appropriate.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a3f8f8662771285511ae26c4c8d3ba1cd22159b9 before b107196729ff6b9d6cde0a71f49c1243def43328, from a3f8f8662771285511ae26c4c8d3ba1cd22159b9 before 222047f68e8565c558728f792f6fef152a1d4d51, 6.18
Not affected: before 6.18, from 6.18.3 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 6.18.1 before 6.18.3, 6.18, 6.19NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: fs: PM: Fix reverse check in filesystems_freeze_callback() The freeze_all_ptr check in filesystems_freeze_callback() introduced by commit a3f8f8662771 ("power: always freeze efivarfs") is reverse which quite confusingly causes all file systems to be frozen when filesystem_freeze_enabled is false. On my systems it causes the WARN_ON_ONCE() in __set_task_frozen() to trigger, most likely due to an attempt to freeze a file system that is not ready for that. Add a logical negation to the check in question to reverse it as appropriate.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: fs: PM: Corrige la comprobación inversa en filesystems_freeze_callback() La comprobación freeze_all_ptr en filesystems_freeze_callback() introducida por el commit a3f8f8662771 ('power: always freeze efivarfs') es inversa, lo que de forma bastante confusa provoca que todos los sistemas de archivos se congelen cuando filesystem_freeze_enabled es falso. En mis sistemas, provoca que el WARN_ON_ONCE() en __set_task_frozen() se active, muy probablemente debido a un intento de congelar un sistema de archivos que no está listo para ello. Añade una negación lógica a la comprobación en cuestión para invertirla según corresponda.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71106 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-71106 changed 2026-06-17Public domain