{"id":"CVE-2023-53454","state":"PUBLISHED","title":"HID: multitouch: Correct devm device reference for hidinput input_dev name","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: multitouch: Correct devm device reference for hidinput input_dev name\n\nReference the HID device rather than the input device for the devm\nallocation of the input_dev name. Referencing the input_dev would lead to a\nuse-after-free when the input_dev was unregistered and subsequently fires a\nuevent that depends on the name. At the point of firing the uevent, the\nname would be freed by devres management.\n\nUse devm_kasprintf to simplify the logic for allocating memory and\nformatting the input_dev name string.","publishedAt":"2025-10-01T11:42:25.760Z","updatedAt":"2026-10-15T21:41:28.079Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"ac0d389402a6ff9ad92cea02c2d8c711483b91ab","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"39c70c19456e50dcb3abfe53539220dff0490f1d","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"df7ca43fe090e1a56c216c8ebc106ef5fd49afc6","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"15ec7cb55e7d88755aa01d44a7a1015a42bfce86","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"dde88ab4e45beb60b217026207aa9c14c88d71ab","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"2763732ec1e68910719c75b6b896e11b6d3d622b","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"1d7833db9fd118415dace2ca157bfa603dec9c8c","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"b70ac7849248ec8128fa12f86e3655ba38838f29","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"4794394635293a3e74591351fff469cea7ad15a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-multitouch.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"4.14.326","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.295","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.257","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.195","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.132","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.53","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.16","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5.3","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-multitouch.c"]}],"references":["https://git.kernel.org/stable/c/ac0d389402a6ff9ad92cea02c2d8c711483b91ab","https://git.kernel.org/stable/c/39c70c19456e50dcb3abfe53539220dff0490f1d","https://git.kernel.org/stable/c/df7ca43fe090e1a56c216c8ebc106ef5fd49afc6","https://git.kernel.org/stable/c/15ec7cb55e7d88755aa01d44a7a1015a42bfce86","https://git.kernel.org/stable/c/dde88ab4e45beb60b217026207aa9c14c88d71ab","https://git.kernel.org/stable/c/2763732ec1e68910719c75b6b896e11b6d3d622b","https://git.kernel.org/stable/c/1d7833db9fd118415dace2ca157bfa603dec9c8c","https://git.kernel.org/stable/c/b70ac7849248ec8128fa12f86e3655ba38838f29","https://git.kernel.org/stable/c/4794394635293a3e74591351fff469cea7ad15a2"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53454.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53454","state":"PUBLISHED","datePublished":"2025-10-01T11:42:25.760Z","dateUpdated":"2026-10-15T21:41:28.079Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-09-17T14:54:09.754Z"},"containers":{"cna":{"title":"HID: multitouch: Correct devm device reference for hidinput input_dev name","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: multitouch: Correct devm device reference for hidinput input_dev name\n\nReference the HID device rather than the input device for the devm\nallocation of the input_dev name. Referencing the input_dev would lead to a\nuse-after-free when the input_dev was unregistered and subsequently fires a\nuevent that depends on the name. At the point of firing the uevent, the\nname would be freed by devres management.\n\nUse devm_kasprintf to simplify the logic for allocating memory and\nformatting the input_dev name string."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"ac0d389402a6ff9ad92cea02c2d8c711483b91ab","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"39c70c19456e50dcb3abfe53539220dff0490f1d","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"df7ca43fe090e1a56c216c8ebc106ef5fd49afc6","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"15ec7cb55e7d88755aa01d44a7a1015a42bfce86","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"dde88ab4e45beb60b217026207aa9c14c88d71ab","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"2763732ec1e68910719c75b6b896e11b6d3d622b","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"1d7833db9fd118415dace2ca157bfa603dec9c8c","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"b70ac7849248ec8128fa12f86e3655ba38838f29","versionType":"git"},{"version":"c08d46aa805ba46d501f610c2448d07bea979780","status":"affected","lessThan":"4794394635293a3e74591351fff469cea7ad15a2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-multitouch.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"4.14.326","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.295","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.257","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.195","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.132","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.53","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.16","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5.3","status":"unaffected","lessThanOrEqual":"6.5.*","versionType":"semver"},{"version":"6.6","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-multitouch.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ac0d389402a6ff9ad92cea02c2d8c711483b91ab"},{"url":"https://git.kernel.org/stable/c/39c70c19456e50dcb3abfe53539220dff0490f1d"},{"url":"https://git.kernel.org/stable/c/df7ca43fe090e1a56c216c8ebc106ef5fd49afc6"},{"url":"https://git.kernel.org/stable/c/15ec7cb55e7d88755aa01d44a7a1015a42bfce86"},{"url":"https://git.kernel.org/stable/c/dde88ab4e45beb60b217026207aa9c14c88d71ab"},{"url":"https://git.kernel.org/stable/c/2763732ec1e68910719c75b6b896e11b6d3d622b"},{"url":"https://git.kernel.org/stable/c/1d7833db9fd118415dace2ca157bfa603dec9c8c"},{"url":"https://git.kernel.org/stable/c/b70ac7849248ec8128fa12f86e3655ba38838f29"},{"url":"https://git.kernel.org/stable/c/4794394635293a3e74591351fff469cea7ad15a2"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - hid-multitouch explicitly binds Bluetooth HID multitouch devices (MT_BT_DEVICE, BUS_BLUETOOTH, and HID_BUS_ANY catch-alls), so an in-range attacker can connect a crafted Bluetooth HID multitouch device and disconnect it to trigger the UAF; Adjacent is higher severity than the USB-only Physical path.\nAC:L - An attacker-controlled HID report descriptor with ContactID (to select HID_GROUP_MULTITOUCH) plus an unrecognized application collection forces the \"UNKNOWN\" suffix allocation, and disconnect reliably hits device_del's free-then-uevent ordering with no race beyond the attacker's control.\nPR:N - Bluetooth HID enumeration and driver bind/unbind run from kernel hotplug with no account, capability, or authentication on the target; the attacker needs no local privileges on the victim system.\nUI:N - The attacker performs connect and disconnect themselves (or via Just Works / auto-reconnect HID pairing), and the kernel probe/teardown path fires the uevent without requiring the victim to open a file or otherwise interact.\nS:U - The use-after-free corrupts kernel heap state within the same OS security authority; it does not cross a VM, IOMMU, or sandbox boundary.\nC:H - The freed input_dev name string is read via %s into the KOBJ_REMOVE uevent, so a groomed reallocation of the kmalloc object yields disclosure of attacker-chosen heap contents; kernel UAF is scored High confidentiality.\nI:H - The UAF is a sprayable kmalloc object whose dangling pointer is consumed during teardown; heap grooming enables overlapping objects and control-flow/write primitives, so integrity impact is High per UAF guidance.\nA:H - Use of the freed name during uevent generation reliably produces a kernel oops/panic (or KASAN slab-use-after-free), and the attacker can repeat connect/disconnect at will."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:14:10.366Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"4.14.326"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"4.19.295"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.4.257"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.10.195"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.15.132"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.1.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.4.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.5.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-53454","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-15T21:34:30.307284Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T21:41:28.079Z"}}]}}}