Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2023-53454

HID: multitouch: Correct devm device reference for hidinput input_dev name

Description

In the Linux kernel, the following vulnerability has been resolved: HID: multitouch: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c08d46aa805ba46d501f610c2448d07bea979780 to < ac0d389402a6ff9ad92cea02c2d8c711483b91abaffected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < 39c70c19456e50dcb3abfe53539220dff0490f1daffected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < df7ca43fe090e1a56c216c8ebc106ef5fd49afc6affected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < 15ec7cb55e7d88755aa01d44a7a1015a42bfce86affected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < dde88ab4e45beb60b217026207aa9c14c88d71abaffected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < 2763732ec1e68910719c75b6b896e11b6d3d622baffected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < 1d7833db9fd118415dace2ca157bfa603dec9c8caffected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < b70ac7849248ec8128fa12f86e3655ba38838f29affected
  • c08d46aa805ba46d501f610c2448d07bea979780 to < 4794394635293a3e74591351fff469cea7ad15a2affected

Linux Linux

Default version status: affected

  • 3.12affected
  • 0 to < 3.12unaffected
  • 4.14.326 to ≤ 4.14.*unaffected
  • 4.19.295 to ≤ 4.19.*unaffected
  • 5.4.257 to ≤ 5.4.*unaffected
  • 5.10.195 to ≤ 5.10.*unaffected
  • 5.15.132 to ≤ 5.15.*unaffected
  • 6.1.53 to ≤ 6.1.*unaffected
  • 6.4.16 to ≤ 6.4.*unaffected
  • 6.5.3 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References