HID: core: do not bypass hid_hw_raw_request
In the Linux kernel, the following vulnerability has been resolved: HID: core: do not bypass hid_hw_raw_request hid_hw_raw_request() is actually useful to ensure the provided buffer and length are valid. Directly calling in the low level transport driver function bypassed those checks and allowed invalid paramto be used.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.241, 5.15.190, 5.4.297, 6.1.147, 6.12.40, 6.15.8, 6.6.100
- CVEs
- CVE-2025-38494
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:46 UTC · Revision 1
Source evidence
HID: core: do not bypass hid_hw_raw_request
core-osv · Original sourcePublished 28 Jul 2025, 11:22 UTC
In the Linux kernel, the following vulnerability has been resolved: HID: core: do not bypass hid_hw_raw_request hid_hw_raw_request() is actually useful to ensure the provided buffer and length are valid. Directly calling in the low level transport driver function bypassed those checks and allowed invalid paramto be used.
osv:CVE-2025-38494
Kernel
Fixed versions: 5.4.297, 5.10.241, 5.15.190, 6.1.147, 6.6.100, 6.12.40, 6.15.8
Complete source record
{
"id": "d7d3ca6684e0ea48fd5907f1d0a97e1130fe5876ccc27cd7e5eacf1b120dad0f",
"url": "https://osv.dev/vulnerability/CVE-2025-38494",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HID: core: do not bypass hid_hw_raw_request",
"summary": "In the Linux kernel, the following vulnerability has been resolved: HID: core: do not bypass hid_hw_raw_request hid_hw_raw_request() is actually useful to ensure the provided buffer and length are valid. Directly calling in the low level transport driver function bypassed those checks and allowed invalid paramto be used.",
"evidence": "osv:CVE-2025-38494",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.297",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.241",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.190",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.147",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.100",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.40",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38494",
"aliases": [
"CVE-2025-38494"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/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": "4fa5a7f76cc7b6ac87f57741edd2b124851d119f"
},
{
"fixed": "dd8e8314f2ce225dade5248dcfb9e2ac0edda624"
},
{
"fixed": "40e25aa7e4e0f2440c73a683ee448e41c7c344ed"
},
{
"fixed": "f10923b8d32a473b229477b63f23bbd72b1e9910"
},
{
"fixed": "a62a895edb2bfebffa865b5129a66e3b4287f34f"
},
{
"fixed": "0e5017d84d650ca0eeaf4a3fe9264c5dbc886b81"
},
{
"fixed": "d18f63e848840100dbc351a82e7042eac5a28cf5"
},
{
"fixed": "19d1314d46c0d8a5c08ab53ddeb62280c77698c0"
},
{
"fixed": "c2ca42f190b6714d6c481dfd3d9b62ea091c946b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38494.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.15.0"
},
{
"fixed": "5.4.297"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.241"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.190"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.147"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.100"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38494.json"
}
}
],
"modified": "2026-10-28T02:30:23.273031452Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0e5017d84d650ca0eeaf4a3fe9264c5dbc886b81",
"https://git.kernel.org/stable/c/19d1314d46c0d8a5c08ab53ddeb62280c77698c0",
"https://git.kernel.org/stable/c/40e25aa7e4e0f2440c73a683ee448e41c7c344ed",
"https://git.kernel.org/stable/c/a62a895edb2bfebffa865b5129a66e3b4287f34f",
"https://git.kernel.org/stable/c/c2ca42f190b6714d6c481dfd3d9b62ea091c946b",
"https://git.kernel.org/stable/c/d18f63e848840100dbc351a82e7042eac5a28cf5",
"https://git.kernel.org/stable/c/dd8e8314f2ce225dade5248dcfb9e2ac0edda624",
"https://git.kernel.org/stable/c/f10923b8d32a473b229477b63f23bbd72b1e9910",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38494.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38494",
"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/2025/38xxx/CVE-2025-38494.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38494",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489372,
"published_at": "2025-07-28T11:22:03.18+00:00"
}