HID: mcp2221: stop device IO before hid_hw_stop
In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: stop device IO before hid_hw_stop Quiesce device IO at the start of the devm cleanup callback mcp2221_hid_unregister() so that incoming HID reports cannot race with hardware teardown during probe failure or device removal, addressing a potential use-after-free. Guard the call to hid_device_io_stop() with io_started. On normal removal hid_device_remove() has already cleared io_started before the devres group is released, so an unconditional call would otherwise hit the !io_started path and emit a spurious "io already stopped" warning on every removal. The guard preserves the probe-failure balancing, where io_started is still set after hid_device_io_start(), while staying silent on the normal removal path.
CVE-2026-89623
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89623
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "d4b50ac06ea6e47bdd2b04e97d1090c673c80645",
"lessThan": "85d963499f1feeea287c0a37c3eac3fc1898eca9",
"versionType": "git"
},
{
"status": "affected",
"version": "73ce9f1f2741a38f5d27393e627702ae2c46e6f2",
"lessThan": "0ae90a19e6b5a8557d25d95facb7e01c9c07af38",
"versionType": "git"
},
{
"status": "affected",
"version": "73ce9f1f2741a38f5d27393e627702ae2c46e6f2",
"lessThan": "c99ba6c234d4d537c317336376b78c088174034a",
"versionType": "git"
},
{
"status": "affected",
"version": "73ce9f1f2741a38f5d27393e627702ae2c46e6f2",
"lessThan": "2eda1513f573945c1e3a0090341f3d28740463b1",
"versionType": "git"
},
{
"status": "affected",
"version": "73ce9f1f2741a38f5d27393e627702ae2c46e6f2",
"lessThan": "dca151633c0fde90935311c60e7cfc064aa56134",
"versionType": "git"
},
{
"status": "affected",
"version": "6.6.8",
"lessThan": "6.6.157",
"versionType": "semver"
}
],
"programFiles": [
"drivers/hid/hid-mcp2221.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hid/hid-mcp2221.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89623
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #55582 · Revision 1
- Added to Heist Feed
- Publisher date