CVE-2025-68250
JSON

8.2high

hung_task: fix warnings caused by unaligned lock pointers

Severity
8.2high CVSS:3.1 by Linux
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: hung_task: fix warnings caused by unaligned lock pointers The blocker tracking mechanism assumes that lock pointers are at least 4-byte aligned to use their lower bits for type encoding. However, as reported by Eero Tamminen, some architectures like m68k only guarantee 2-byte alignment of 32-bit values. This breaks the assumption and causes two related WARN_ON_ONCE checks to trigger. To fix this, the runtime checks are adjusted to silently ignore any lock that is not 4-byte aligned, effectively disabling the feature in such cases and avoiding the related warnings. Thanks to Geert Uytterhoeven for bisecting!

Affected

Product or packageVersionsReported by
Linux Linuxfrom e711faaafbe54a884f33b53472434063d342f6d4 before c0e2dcbe54cb15ecdf9d8f4501c6720423243888, from e711faaafbe54a884f33b53472434063d342f6d4 before c97513cddcfc235f2522617980838e500af21d01, 6.16
Not affected: before 6.16, from 6.17.6 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: hung_task: fix warnings caused by unaligned lock pointers The blocker tracking mechanism assumes that lock pointers are at least 4-byte aligned to use their lower bits for type encoding. However, as reported by Eero Tamminen, some architectures like m68k only guarantee 2-byte alignment of 32-bit values. This breaks the assumption and causes two related WARN_ON_ONCE checks to trigger. To fix this, the runtime checks are adjusted to silently ignore any lock that is not 4-byte aligned, effectively disabling the feature in such cases and avoiding the related warnings. Thanks to Geert Uytterhoeven for bisecting!

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hung_task: corrige advertencias causadas por punteros de bloqueo no alineados El mecanismo de seguimiento de bloqueadores asume que los punteros de bloqueo están alineados a al menos 4 bytes para usar sus bits inferiores para la codificación de tipos. Sin embargo, como informó Eero Tamminen, algunas arquitecturas como m68k solo garantizan una alineación de 2 bytes de valores de 32 bits. Esto rompe la suposición y causa que se activen dos comprobaciones WARN_ON_ONCE relacionadas. Para solucionar esto, las comprobaciones en tiempo de ejecución se ajustan para ignorar silenciosamente cualquier bloqueo que no esté alineado a 4 bytes, deshabilitando efectivamente la característica en tales casos y evitando las advertencias relacionadas. ¡Gracias a Geert Uytterhoeven por el bisect!

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68250 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-68250 changed 2026-10-14Public domain