Описание
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: initialize policy rwsem before sysfs publication
cpufreq_policy_alloc() initializes policy->rwsem after
kobject_init_and_add() has created the policy sysfs directory and its
default attributes. A sysfs access can therefore reach a policy callback
before the semaphore has been initialized.
Initialize policy->rwsem before publishing the policy kobject so sysfs
callbacks always see an initialized semaphore.
A flaw was found in the Linux kernel's CPU frequency scaling (cpufreq) subsystem. A race condition occurs because an internal synchronization lock is initialized only after its system filesystem (sysfs) entries are made accessible. A local user accessing these sysfs attributes during policy allocation could interact with the uninitialized lock, leading to a kernel crash and a Denial of Service (DoS).
Отчет
A low impact race condition flaw was found in the Linux kernel's CPU frequency scaling (cpufreq) subsystem. In cpufreq_policy_alloc(), the policy rwsem is initialized only after kobject_init_and_add() has created the policy's sysfs directory and its default attributes. A local user with standard privileges who accesses these sysfs attributes during cpufreq policy allocation can reach a policy callback before the semaphore has been initialized, causing the kernel to crash and resulting in a denial of service. Confidentiality and integrity are not affected. Although the Red Hat CVSS:3.1 base score for this flaw is 5.5 (Moderate) (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), Red Hat rates the overall impact as Low because successful exploitation requires winning a narrow race window during cpufreq policy creation, limiting the practical consequence to availability. This issue affects the kernel and kernel-rt packages in Red Hat Enterprise Linux 7, 8, 9, and 10, the kernel packages in Red Hat In-Vehicle OS, and the RHEL CoreOS 8 and RHEL CoreOS 9 layers used by OpenShift Container Platform 4. For these affected products, fixes are currently deferred to a future update; the residual risk is that a local user could trigger a kernel crash (denial of service) during cpufreq policy allocation. Red Hat Enterprise Linux 6 Extended Lifecycle Support is out of support scope for this issue.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | ||
| Red Hat Enterprise Linux 7 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Fix deferred | ||
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: cpufreq: initialize policy rwsem before sysfs publication cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized. Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.
In the Linux kernel, the following vulnerability has been resolved: cpufreq: initialize policy rwsem before sysfs publication cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized. Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.
cpufreq: initialize policy rwsem before sysfs publication
In the Linux kernel, the following vulnerability has been resolved: c ...
In the Linux kernel, the following vulnerability has been resolved: cpufreq: initialize policy rwsem before sysfs publication cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized. Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.
EPSS
5.5 Medium
CVSS3