Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-36940
HistoryMay 30, 2024 - 12:00 a.m.

CVE-2024-36940

2024-05-3000:00:00
ubuntu.com
ubuntu.com
7
cve-2024-36940
pinctrl
devm_pinctrl_dev_release
mutex
double free
pindescs

AI Score

8.5

Confidence

High

EPSS

0

Percentile

13.0%

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.