CVE-2024-36940Double Free in Linux

CWE-415Double Free48 documents6 sources
Severity
7.8HIGHNVD
OSV6.5OSV5.5
EPSS
0.0%
top 94.86%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 30
Latest updateSep 18

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages5 packages

NVDlinux/linux_kernel4.114.19.314+7
Debianlinux/linux_kernel< 5.10.218-1+3
Ubuntulinux/linux_kernel< 5.4.0-192.212+3
CVEListV5linux/linux6118714275f0a313ecc296a87ed1af32d9691bed735f4c6b6771eafe336404c157ca683ad72a040d+8
debiandebian/linux< linux 6.1.94-1 (bookworm)

Also affects: Debian Linux 10.0

Patches

🔴Vulnerability Details

23
OSV
linux-xilinx-zynqmp vulnerabilities2024-09-18
OSV
linux-oracle vulnerabilities2024-08-28
OSV
linux-azure, linux-azure-4.15 vulnerabilities2024-08-23
OSV
linux-raspi-5.4 vulnerabilities2024-08-22
OSV
linux-aws, linux-aws-hwe vulnerabilities2024-08-22

📋Vendor Advisories

23
Ubuntu
Linux kernel vulnerabilities2024-09-18
Ubuntu
Linux kernel (Oracle) vulnerabilities2024-08-28
Ubuntu
Linux kernel (Azure) vulnerabilities2024-08-23
Ubuntu
Linux kernel (Raspberry Pi) vulnerabilities2024-08-22
Ubuntu
Linux kernel (AWS) vulnerabilities2024-08-22

💬Community

1
Bugzilla
CVE-2024-36940 kernel: pinctrl: core: delete incorrect free in pinctrl_enable()2024-06-03