HID: sony: clean up device list on probe failure
In the Linux kernel, the following vulnerability has been resolved: HID: sony: clean up device list on probe failure sony_input_configured() adds some controllers to sony_device_list before HID core registers their input devices. input_register_device() can fail after the callback returns successfully. sony_probe() then observes that HID_CLAIMED_INPUT is clear and unwinds, but only stops the HID hardware. The devres-managed sony_sc is freed while its list node remains linked, so the next matching controller traverses freed memory. Initialize the list node and device ID to inactive states. Make list removal idempotent and run the driver-private cleanup on every probe failure path. This also makes a second cleanup safe when sony_input_configured() already unwound a partial initialization before sony_probe() handles the missing input claim. Found by 0sec (https://0sec.ai) using automated source analysis; verified against the HID input registration and probe unwind paths.
CVE-2026-90041
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-90041
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": "4f967f6d73746f66514528cc1191025f0b5d69b3",
"lessThan": "7ee50d42a6d5c8cf3d8afb3285273bcc58452214",
"versionType": "git"
},
{
"status": "affected",
"version": "4f967f6d73746f66514528cc1191025f0b5d69b3",
"lessThan": "b84544ef00a27e8081498d33af7dac33b6cb8418",
"versionType": "git"
},
{
"status": "affected",
"version": "4f967f6d73746f66514528cc1191025f0b5d69b3",
"lessThan": "3b4709e4864908bb06c48c500cc8db8d3d55d139",
"versionType": "git"
},
{
"status": "affected",
"version": "4f967f6d73746f66514528cc1191025f0b5d69b3",
"lessThan": "d044d796e2a369c6051c7e83dce88c7baa2494d4",
"versionType": "git"
},
{
"status": "affected",
"version": "4f967f6d73746f66514528cc1191025f0b5d69b3",
"lessThan": "7c65699a3a311198a07659a614fe64d45924839e",
"versionType": "git"
}
],
"programFiles": [
"drivers/hid/hid-sony.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hid/hid-sony.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90041
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #48587 · Revision 1
- Added to Heist Feed
- Publisher date