GHSA-HXQ5-9FVR-38R3
Vulnerability from github – Published: 2026-09-04 18:31 – Updated: 2026-09-04 18:31In 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.
{
"affected": [],
"aliases": [
"CVE-2026-80767"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-04T16:18:02Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: sensor: custom: Fix use-after-free in enable_sensor\n\nenable_sensor_store() can call set_power_report_state(), which\ndereferences sensor_inst-\u003epower_state and sensor_inst-\u003ereport_state.\nThese pointers refer to entries in sensor_inst-\u003efields.\n\nCreate the field attributes before exposing the enable_sensor sysfs\nattribute, so enable_sensor cannot be accessed before the state it\ndepends on has been initialized.\n\nOn remove, delete enable_sensor before freeing the field attributes,\nso a concurrent sysfs write cannot dereference freed memory through\npower_state or report_state.",
"id": "GHSA-hxq5-9fvr-38r3",
"modified": "2026-09-04T18:31:25Z",
"published": "2026-09-04T18:31:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80767"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/244a1cb638370490ed74a8adb5cc3f1212602e32"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2ce90cfc6646a32100feabd7110ae0352aa01167"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7bb79a3cf45e0805aef74457e19deb77e18cf196"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8406d4b69d48bc72fb6f8812a65a17a1f903440b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ad8fb82b04422f49530d2aa2753cc81d1c60102c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c0757f10610542d763bd0bf9bda455b78afeef0b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c2be74b0272b7f8f60739e7aaf0d36c0befe7136"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d37ff4e3635c18af907f25712596f8ccec323751"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d7cbea1d342a16ec96d9eb3d7bd0ba2d4b2f2855"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.