In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in pinctrl_enable() The "pctldev" struct is allocated in devm_pinctrl_register_and_init(). It's a devm_ managed pointer that is freed by devm_pinctrl_dev_release(), so freeing it in pinctrl_enable() will lead to a double free. The devm_pinctrl_dev_release() function frees the pindescs and destroys the mutex as well.
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: core: eliminar incorrecto gratis en pinctrl_enable() La estructura "pctldev" está asignada en devm_pinctrl_register_and_init(). Es un puntero administrado por devm_ que se libera mediante devm_pinctrl_dev_release(), por lo que liberarlo en pinctrl_enable() generará una doble liberación. La función devm_pinctrl_dev_release() libera los pindescs y también destruye el mutex.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-415
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36b4364c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd340af0600> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36bd095c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36be7b540> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36b436b80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd386774480> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd384647b40> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd36b8f6e00> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd348fdb4c0> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd36b4343c0> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd340ad7300> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd340227d40> | Operating System |
| linux | linux_kernel | 6.9 | <built-in method update of dict object at 0x7fd340ad4880> | Operating System |
| debian | debian_linux | 10.0 | <built-in method update of dict object at 0x7fd340af1680> | 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:6.9:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:* |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |