CVE-2026-90197
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: haptic: don't write an uninitialized value to unhandled usages fill_effect_buf() initializes value only for the four haptic usages handled by its switch, but writes it to field->value[] for every usage. An unhandled usage can therefore receive either an uninitialized value or one left over from the previous usage. hid_output_report() then serializes that value into the effect's report buffer. Skip unhandled usages instead. This also matches switch_mode(), which only updates fields it recognizes. Found with Clang's -Wconditional-uninitialized.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:14.530000
Last modified
2026-10-19 09:19:09.703000
View original CVE JSON
{
"id": "CVE-2026-90197",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-17T17:17:14.530",
"lastModified": "2026-10-19T09:19:09.703",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: haptic: don't write an uninitialized value to unhandled usages\n\nfill_effect_buf() initializes value only for the four haptic usages\nhandled by its switch, but writes it to field->value[] for every usage.\nAn unhandled usage can therefore receive either an uninitialized value\nor one left over from the previous usage. hid_output_report() then\nserializes that value into the effect's report buffer.\n\nSkip unhandled usages instead. This also matches switch_mode(), which\nonly updates fields it recognizes.\n\nFound with Clang's -Wconditional-uninitialized."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/hid/hid-haptic.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "344ff358495706abc7aac1e0c59a5bb16b350307",
"lessThan": "324cc98b71f0d3dee7367ef3c669fd80747e71b6",
"versionType": "git",
"status": "affected"
},
{
"version": "344ff358495706abc7aac1e0c59a5bb16b350307",
"lessThan": "2d92c250815cba6bffd64f0125fac7afe4fa6ce0",
"versionType": "git",
"status": "affected"
},
{
"version": "344ff358495706abc7aac1e0c59a5bb16b350307",
"lessThan": "3efb7f6491526f5012f9ec94769e9ed832feeef8",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/hid/hid-haptic.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.18",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.6",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/2d92c250815cba6bffd64f0125fac7afe4fa6ce0",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/324cc98b71f0d3dee7367ef3c669fd80747e71b6",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3efb7f6491526f5012f9ec94769e9ed832feeef8",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}