CVE-2024-36959

pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

State
Published
Severity
Not scored
Published
May 30, 2024
Updated
Oct 15, 2026
Reserved
May 30, 2024

Read the record on cve.org

Description

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

pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a988dcd3dd9e691c5ccc3324b209688f3b5453e9 to before 06780473cb8a858d1d6cab2673e021b072a852d1Affected
  • 040f726fecd88121f3b95e70369785ad452dddf9 to before 47d253c485491caaf70d8cd8c0248ae26e42581fAffected
  • 777430aa4ddccaa5accec6db90ffc1d47f00d471 to before 35ab679e8bb5a81a4f922d3efbd43e32bce69274Affected
  • 97e5b508e96176f1a73888ed89df396d7041bfcb to before 76aa2440deb9a35507590f2c981a69a57ecd305dAffected
  • 91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before 518d5ddafeb084d6d9b1773ed85164300037d0e6Affected
  • 91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before 026e24cf31733dbd97f41cc9bc5273ace428eeecAffected
  • 91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before c7e02ccc9fdc496fe51e440e3e66ac36509ca049Affected
  • 91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before a0cedbcc8852d6c77b00634b81e41f17f29d9404Affected
  • aaf552c5d53abe4659176e099575fe870d2e4768Affected
  • b4d9f55cd38435358bc16d580612bc0d798d7b4cAffected
  • 5834a3a98cd266ad35a229923c0adbd0addc8d68Affected
  • 4.19.267 to before 4.19.314Affected
  • 5.4.225 to before 5.4.276Affected
  • 5.10.156 to before 5.10.217Affected
  • 5.15.80 to before 5.15.159Affected
  • 4.9.334 to before 4.10Affected
  • 4.14.300 to before 4.15Affected
  • 6.0.10 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 4.19.314 through 4.19.*Not affected
  • 5.4.276 through 5.4.*Not affected
  • 5.10.217 through 5.10.*Not affected
  • 5.15.159 through 5.15.*Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.