CVE-2024-36959

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36959
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36959.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-36959
Downstream
Related
Published
2024-05-30T15:35:51.624Z
Modified
2025-11-27T19:35:42.466216Z
Summary
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Details

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: devicetree: fix refcount leak in pinctrldtto_map()

If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrldtfree_maps() includes the droping operation, here we call it directly.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2024/36xxx/CVE-2024-36959.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a988dcd3dd9e691c5ccc3324b209688f3b5453e9
Fixed
06780473cb8a858d1d6cab2673e021b072a852d1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
040f726fecd88121f3b95e70369785ad452dddf9
Fixed
47d253c485491caaf70d8cd8c0248ae26e42581f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
777430aa4ddccaa5accec6db90ffc1d47f00d471
Fixed
35ab679e8bb5a81a4f922d3efbd43e32bce69274
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
97e5b508e96176f1a73888ed89df396d7041bfcb
Fixed
76aa2440deb9a35507590f2c981a69a57ecd305d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91d5c5060ee24fe8da88cd585bb43b843d2f0dce
Fixed
518d5ddafeb084d6d9b1773ed85164300037d0e6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91d5c5060ee24fe8da88cd585bb43b843d2f0dce
Fixed
026e24cf31733dbd97f41cc9bc5273ace428eeec
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91d5c5060ee24fe8da88cd585bb43b843d2f0dce
Fixed
c7e02ccc9fdc496fe51e440e3e66ac36509ca049
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
91d5c5060ee24fe8da88cd585bb43b843d2f0dce
Fixed
a0cedbcc8852d6c77b00634b81e41f17f29d9404
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
aaf552c5d53abe4659176e099575fe870d2e4768
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
b4d9f55cd38435358bc16d580612bc0d798d7b4c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
5834a3a98cd266ad35a229923c0adbd0addc8d68

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.314
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.276
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.217
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.159
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.91
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.6.31
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.8.10