CVE-2026-74604 (GCVE-0-2026-74604)
Vulnerability from cvelistv5 – Published: 2026-08-22 15:31 – Updated: 2026-08-25 05:40
VLAI
EPSS
VEX
Title
Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
Summary
In the Linux kernel, the following vulnerability has been resolved:
Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
Revert commit 030a48b0f6ce ("thermal/drivers/hwmon: Cleanup coding style
a bit") that introduced a use-after-free into the error path of
thermal_add_hwmon_sysfs() by removing a valid check from it.
Severity
8.4 (High)
Assigner
References
7 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < 2434f4765da8ccd7ef31be88b86f1bfa2e95be11
(git)
Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366 (git) Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < 999e573212d5f1debf073c68be35e55bbfad12fc (git) Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < 6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a (git) Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < 8d34019d1413629a434a7e8d9f91c76d256196a0 (git) Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < 6b446d335ba16e93a266dd77adf1ba51abc82df4 (git) Affected: 030a48b0f6ce393d78b8d33debb1e2043b8cc156 , < ff8da20b6f47c48d46e47f93f7a59e2d56ee9107 (git) |
guessed | |
| Linux | Linux |
Affected:
5.11
Unaffected: 0 , < 5.11 (semver) Unaffected: 5.15.216 , ≤ 5.15.* (semver) Unaffected: 6.1.183 , ≤ 6.1.* (semver) Unaffected: 6.6.152 , ≤ 6.6.* (semver) Unaffected: 6.12.104 , ≤ 6.12.* (semver) Unaffected: 6.18.45 , ≤ 6.18.* (semver) Unaffected: 7.1.9 , ≤ 7.1.* (semver) Unaffected: 7.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/thermal/thermal_hwmon.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "2434f4765da8ccd7ef31be88b86f1bfa2e95be11",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "999e573212d5f1debf073c68be35e55bbfad12fc",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "8d34019d1413629a434a7e8d9f91c76d256196a0",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "6b446d335ba16e93a266dd77adf1ba51abc82df4",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
},
{
"lessThan": "ff8da20b6f47c48d46e47f93f7a59e2d56ee9107",
"status": "affected",
"version": "030a48b0f6ce393d78b8d33debb1e2043b8cc156",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/thermal/thermal_hwmon.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"lessThan": "5.11",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.216",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.183",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.152",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.104",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.45",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.216",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.183",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.152",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.104",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.45",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.9",
"versionStartIncluding": "5.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.11",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"thermal/drivers/hwmon: Cleanup coding style a bit\"\n\nRevert commit 030a48b0f6ce (\"thermal/drivers/hwmon: Cleanup coding style\na bit\") that introduced a use-after-free into the error path of\nthermal_add_hwmon_sysfs() by removing a valid check from it."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.4,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is in thermal_add_hwmon_sysfs() during thermal zone/hwmon driver registration; it is only reachable from kernel thermal driver probe/init paths, not from network protocols or physical buses.\nAC:L - When a second thermal zone shares an existing hwmon type and registration fails, the error path deterministically kfree()s a still-linked hwmon object, leaving a dangling entry that any later sysfs access can hit without winning a race.\nPR:N - No privileges are needed to exploit the resulting UAF: hwmon temp attributes are world-readable (0444) and unprivileged local processes routinely read /sys/class/hwmon on phones, servers, and embedded devices after latent corruption during multi-sensor thermal probe.\nUI:N - Exploitation requires no victim interaction beyond normal system operation; reading thermal sensors or subsequent kernel hwmon operations can trigger use of the freed object automatically.\nS:U - Impact is confined to kernel memory corruption and privilege escalation within the host kernel; it does not cross VM, container, or IOMMU security boundaries by itself.\nC:H - The use-after-free of struct thermal_hwmon_device leaves a dangling list entry and device pointer; subsequent sysfs reads or thermal hwmon operations can dereference attacker-influencable freed heap memory, enabling arbitrary kernel memory disclosure.\nI:H - Heap UAF on a long-lived thermal_hwmon_device structure adjacent to list pointers and device objects provides standard kernel heap corruption primitives that can be developed into arbitrary write and local privilege escalation.\nA:H - Use-after-free in kernel thermal/hwmon registration can cause immediate kernel oops/panic on access to the freed hwmon device, and repeated or concurrent sysfs access can reliably crash or hang the system."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-25T05:40:28.622Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11"
},
{
"url": "https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366"
},
{
"url": "https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc"
},
{
"url": "https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a"
},
{
"url": "https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0"
},
{
"url": "https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4"
},
{
"url": "https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107"
}
],
"title": "Revert \"thermal/drivers/hwmon: Cleanup coding style a bit\"",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74604",
"datePublished": "2026-08-22T15:31:52.295Z",
"dateReserved": "2026-08-15T05:44:03.919Z",
"dateUpdated": "2026-08-25T05:40:28.622Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-74604",
"date": "2026-08-29",
"epss": "0.00138",
"percentile": "0.03459"
},
"microsoft_vex": {
"current_release_date": "2026-08-24T14:44:14.000Z",
"cve": "CVE-2026-74604",
"id": "msrc_CVE-2026-74604",
"initial_release_date": "2026-08-24T01:10:47.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "Revert \"thermal/drivers/hwmon: Cleanup coding style a bit\"",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-74604.json",
"version": "2"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-74604\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-22T16:16:32.860\",\"lastModified\":\"2026-08-25T06:18:36.557\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nRevert \\\"thermal/drivers/hwmon: Cleanup coding style a bit\\\"\\n\\nRevert commit 030a48b0f6ce (\\\"thermal/drivers/hwmon: Cleanup coding style\\na bit\\\") that introduced a use-after-free into the error path of\\nthermal_add_hwmon_sysfs() by removing a valid check from it.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/thermal/thermal_hwmon.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"2434f4765da8ccd7ef31be88b86f1bfa2e95be11\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"999e573212d5f1debf073c68be35e55bbfad12fc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"8d34019d1413629a434a7e8d9f91c76d256196a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"6b446d335ba16e93a266dd77adf1ba51abc82df4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"030a48b0f6ce393d78b8d33debb1e2043b8cc156\",\"lessThan\":\"ff8da20b6f47c48d46e47f93f7a59e2d56ee9107\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/thermal/thermal_hwmon.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.216\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.152\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.104\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.45\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.9\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.4,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.5,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-25T08:50:25+00:00",
"cve": "CVE-2026-74604",
"id": "CVE-2026-74604",
"initial_release_date": "2026-08-22T00:00:00+00:00",
"product_status:known_affected": "232",
"product_status:known_not_affected": "42",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: Revert \"thermal/drivers/hwmon: Cleanup coding style a bit\"",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74604.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
Loading…