PT-2026-162611
CVE-2026-100029
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (sht4x) Fix jiffies wraparound in heater-ready check
sht4x stores in ->heating complete the jiffies deadline at which the
current heater pulse finishes. It is set once at probe (to jiffies) and
only updated when the heater is explicitly enabled via sysfs, so in the
common case where the heater is never used it stays frozen at its probe
value.
->heating complete is an unsigned long compared with time before(),
whose signed difference is only meaningful while the two values are
within LONG MAX jiffies of each other. Because the deadline is frozen,
jiffies keeps advancing away from it, and after 2^31 jiffies the
difference flips sign. On a 32-bit HZ=100 kernel that happens ~248.5
days after boot. time before() in sht4x read values() then wrongly
reports that heating is still in progress and the read path executes
msleep(jiffies to msecs(data->heating complete - curr jiffies));with a bogus, huge delta, blocking the temperature read for a very long
time instead of returning data. The heater enable sysfs attributes are
affected the same way (spurious -EBUSY and "1" readback).
Store the deadline as a 64-bit jiffies value and compare it with
get jiffies 64()/time before64(), which does not wrap in any practical
uptime.
[groeck: Squashed 'Fix torn read' patch into this one]
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾