Linux
hung_task: fix warnings caused by unaligned lock pointers
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e711faaafbe54a884f33b53472434063d342f6d4, < c0e2dcbe54cb15ecdf9d8f4501c6720423243888
- >= e711faaafbe54a884f33b53472434063d342f6d4, < c97513cddcfc235f2522617980838e500af21d01
Fixed in c0e2dcbe54cb15ecdf9d8f4501c6720423243888, c97513cddcfc235f2522617980838e500af21d01
- 6.16
Fixed in 0, 6.17.6, 6.18
Mitigation
Upgrade Linux to c0e2dcbe54cb15ecdf9d8f4501c6720423243888 or c97513cddcfc235f2522617980838e500af21d01 or later.
Upgrade Linux to 0 or 6.17.6 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.