Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.216, 6.1.183, 6.12.104, 6.18.45, 6.6.152, 7.1.9
- CVEs
- CVE-2026-74604
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:07 UTC · Revision 1
Source evidence
Revert "thermal/drivers/hwmon: Cleanup coding style a bit"
core-osv · Original sourcePublished 22 Aug 2026, 15:31 UTC
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.
osv:CVE-2026-74604
Kernel
Fixed versions: 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9
Complete source record
{
"id": "a40307b425e645771d26bbe6a4b1dfd3803ad948141d8c015e4dc95d7e146656",
"url": "https://osv.dev/vulnerability/CVE-2026-74604",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2026-74604",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.216",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.152",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.104",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.45",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-74604",
"aliases": [
"CVE-2026-74604"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "030a48b0f6ce393d78b8d33debb1e2043b8cc156"
},
{
"fixed": "2434f4765da8ccd7ef31be88b86f1bfa2e95be11"
},
{
"fixed": "b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366"
},
{
"fixed": "999e573212d5f1debf073c68be35e55bbfad12fc"
},
{
"fixed": "6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a"
},
{
"fixed": "8d34019d1413629a434a7e8d9f91c76d256196a0"
},
{
"fixed": "6b446d335ba16e93a266dd77adf1ba51abc82df4"
},
{
"fixed": "ff8da20b6f47c48d46e47f93f7a59e2d56ee9107"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74604.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.216"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.152"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.104"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.45"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74604.json"
}
}
],
"modified": "2026-10-28T02:30:24.180504871Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2434f4765da8ccd7ef31be88b86f1bfa2e95be11",
"https://git.kernel.org/stable/c/6a48ee9a5bda0f8ee501f9bef159fb9f39ff519a",
"https://git.kernel.org/stable/c/6b446d335ba16e93a266dd77adf1ba51abc82df4",
"https://git.kernel.org/stable/c/8d34019d1413629a434a7e8d9f91c76d256196a0",
"https://git.kernel.org/stable/c/999e573212d5f1debf073c68be35e55bbfad12fc",
"https://git.kernel.org/stable/c/b4c01ae6dd56d9dfd96bd1b29c28afa8fa06b366",
"https://git.kernel.org/stable/c/ff8da20b6f47c48d46e47f93f7a59e2d56ee9107",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74604.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74604",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74604.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74604",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490744,
"published_at": "2026-08-22T15:31:52.295+00:00"
}