CVE-2022-49954

In the Linux kernel, the following vulnerability has been resolved: Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag syzbot is reporting hung task at __input_unregister_device() [1], for iforce_close() waiting at wait_event_interruptible() with dev->mutex held is blocking input_disconnect_device() from __input_unregister_device(). It seems that the cause is simply that commit c2b27ef672992a20 ("Input: iforce - wait for command completion when closing the device") forgot to call wake_up() after clear_bit(). Fix this problem by introducing a helper that calls clear_bit() followed by wake_up_all().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc8:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:*

History

14 Nov 2025, 18:59

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc8:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.33:rc7:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: iforce - reactivar tras borrar el indicador IFORCE_XMIT_RUNNING. syzbot informa que la tarea está bloqueada en __input_unregister_device() [1], ya que iforce_close() espera en wait_event_interruptible() con dev->mutex retenido, lo que bloquea input_disconnect_device() desde __input_unregister_device(). Parece que la causa es simplemente que el commit c2b27ef672992a20 ("Entrada: iforce - esperar a que se complete el comando al cerrar el dispositivo") olvidó llamar a wake_up() después de clear_bit(). Se soluciona este problema mediante un asistente que llame a clear_bit() seguido de wake_up_all().
References () https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a - () https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a - Patch
References () https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03 - () https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03 - Patch
References () https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c - () https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c - Patch
References () https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b - () https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b - Patch
References () https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8 - () https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8 - Patch
CWE NVD-CWE-noinfo
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-14 18:59


NVD link : CVE-2022-49954

Mitre link : CVE-2022-49954

CVE.ORG link : CVE-2022-49954


JSON object : View

Products Affected

linux

  • linux_kernel