In the Linux kernel, the following vulnerability has been resolved: net: usb: aqc111: Do not perform PM inside suspend callback syzbot reports "task hung in rpm_resume" This is caused by aqc111_suspend calling the PM variant of its write_cmd routine. The simplified call trace looks like this: rpm_suspend() usb_suspend_both() - here udev->dev.power.runtime_status == RPM_SUSPENDING aqc111_suspend() - called for the usb device interface aqc111_write32_cmd() usb_autopm_get_interface() pm_runtime_resume_and_get() rpm_resume() - here we call rpm_resume() on our parent rpm_resume() - Here we wait for a status change that will never happen. At this point we block another task which holds rtnl_lock and locks up the whole networking stack. Fix this by replacing the write_cmd calls with their _nopm variants
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: usb: aqc111: No realizar PM dentro de la función de devolución de llamada de suspensión syzbot informa 'tarea colgada en rpm_resume' Esto es causado por aqc111_suspend llamando a la variante PM de su rutina write_cmd. El rastro de llamada simplificado se ve así: rpm_suspend() usb_suspend_both() - aquí udev -> dev.power.runtime_status == RPM_SUSPENDING aqc111_suspend() - llamado para la interfaz del dispositivo usb aqc111_write32_cmd() usb_autopm_get_interface() pm_runtime_resume_and_get() rpm_resume() - aquí llamamos a rpm_resume() en nuestro padre rpm_resume() - Aquí esperamos un cambio de estado que nunca ocurrirá. En este punto bloqueamos otra tarea que mantiene rtnl_lock y bloquea todo el stack de red. Solucione esto reemplazando las llamadas a write_cmd con sus variantes _nopm
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24245bb280> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2424653100> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a52f7a00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24243dd800> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb86300> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23beb86380> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364416940> | Operating System |
| linux | linux_kernel | 5.0 | <built-in method update of dict object at 0x7d236440da80> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424653cc0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23beb85d00> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364d6afc0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d236440cbc0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d23a52f4140> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d236440c600> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424651240> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:5.0:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |