Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-80767

Опубликовано: 04 сент. 2026
Источник: redhat
CVSS3: 4.7
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix use-after-free in enable_sensor enable_sensor_store() can call set_power_report_state(), which dereferences sensor_inst->power_state and sensor_inst->report_state. These pointers refer to entries in sensor_inst->fields. Create the field attributes before exposing the enable_sensor sysfs attribute, so enable_sensor cannot be accessed before the state it depends on has been initialized. On remove, delete enable_sensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through power_state or report_state.

A flaw was found in the Linux kernel's Human Interface Device (HID) sensor custom driver. A use-after-free vulnerability exists where the enable_sensor sysfs attribute can be accessed either before its associated memory is properly initialized or after it has been freed during device removal. A local attacker could exploit this condition to cause a system crash (denial of service) or potentially achieve arbitrary code execution due to memory corruption.

Отчет

HID sensor custom exposes an enable_sensor sysfs attribute that can call set_power_report_state and dereference sensor_inst power_state and report_state. These pointers refer to entries in sensor_inst fields, so accessing enable_sensor before field state is initialized or while field attributes are being removed can lead to a use-after-free. A local attacker with access to the sysfs attribute could try to race probe or remove paths and trigger a kernel crash. For the CVSS the PR:L is used for the paranoid score because some deployments may delegate sensor sysfs access to non-root users or service accounts even though default sysfs writes are often administrator controlled. The issue is not network reachable. Impact is at least local denial of service and in worst case may allow confidentiality or integrity impact due to kernel UAF memory corruption, so it should be reviewed manually.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelFix deferred
Red Hat Enterprise Linux 7kernel-rtFix deferred
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2528600kernel: HID: sensor: custom: Fix use-after-free in enable_sensor

EPSS

Процентиль: 9%
0.00243
Низкий

4.7 Medium

CVSS3

Связанные уязвимости

ubuntu
3 месяца назад

In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix use-after-free in enable_sensor enable_sensor_store() can call set_power_report_state(), which dereferences sensor_inst->power_state and sensor_inst->report_state. These pointers refer to entries in sensor_inst->fields. Create the field attributes before exposing the enable_sensor sysfs attribute, so enable_sensor cannot be accessed before the state it depends on has been initialized. On remove, delete enable_sensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through power_state or report_state.

nvd
3 месяца назад

In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix use-after-free in enable_sensor enable_sensor_store() can call set_power_report_state(), which dereferences sensor_inst->power_state and sensor_inst->report_state. These pointers refer to entries in sensor_inst->fields. Create the field attributes before exposing the enable_sensor sysfs attribute, so enable_sensor cannot be accessed before the state it depends on has been initialized. On remove, delete enable_sensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through power_state or report_state.

CVSS3: 4.7
msrc
около 2 месяцев назад

HID: sensor: custom: Fix use-after-free in enable_sensor

debian
3 месяца назад

In the Linux kernel, the following vulnerability has been resolved: H ...

github
3 месяца назад

In the Linux kernel, the following vulnerability has been resolved: HID: sensor: custom: Fix use-after-free in enable_sensor enable_sensor_store() can call set_power_report_state(), which dereferences sensor_inst->power_state and sensor_inst->report_state. These pointers refer to entries in sensor_inst->fields. Create the field attributes before exposing the enable_sensor sysfs attribute, so enable_sensor cannot be accessed before the state it depends on has been initialized. On remove, delete enable_sensor before freeing the field attributes, so a concurrent sysfs write cannot dereference freed memory through power_state or report_state.

EPSS

Процентиль: 9%
0.00243
Низкий

4.7 Medium

CVSS3