cve-2024-36959
Vulnerability from cvelistv5
Published
2024-05-30 15:35
Modified
2024-12-19 09:03
Severity ?
Summary
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.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 6.1
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:43:50.512Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-36959",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:15:35.448800Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:59.187Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/devicetree.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "06780473cb8a858d1d6cab2673e021b072a852d1",
              "status": "affected",
              "version": "a988dcd3dd9e691c5ccc3324b209688f3b5453e9",
              "versionType": "git"
            },
            {
              "lessThan": "47d253c485491caaf70d8cd8c0248ae26e42581f",
              "status": "affected",
              "version": "040f726fecd88121f3b95e70369785ad452dddf9",
              "versionType": "git"
            },
            {
              "lessThan": "35ab679e8bb5a81a4f922d3efbd43e32bce69274",
              "status": "affected",
              "version": "777430aa4ddccaa5accec6db90ffc1d47f00d471",
              "versionType": "git"
            },
            {
              "lessThan": "76aa2440deb9a35507590f2c981a69a57ecd305d",
              "status": "affected",
              "version": "97e5b508e96176f1a73888ed89df396d7041bfcb",
              "versionType": "git"
            },
            {
              "lessThan": "518d5ddafeb084d6d9b1773ed85164300037d0e6",
              "status": "affected",
              "version": "91d5c5060ee24fe8da88cd585bb43b843d2f0dce",
              "versionType": "git"
            },
            {
              "lessThan": "026e24cf31733dbd97f41cc9bc5273ace428eeec",
              "status": "affected",
              "version": "91d5c5060ee24fe8da88cd585bb43b843d2f0dce",
              "versionType": "git"
            },
            {
              "lessThan": "c7e02ccc9fdc496fe51e440e3e66ac36509ca049",
              "status": "affected",
              "version": "91d5c5060ee24fe8da88cd585bb43b843d2f0dce",
              "versionType": "git"
            },
            {
              "lessThan": "a0cedbcc8852d6c77b00634b81e41f17f29d9404",
              "status": "affected",
              "version": "91d5c5060ee24fe8da88cd585bb43b843d2f0dce",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/devicetree.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.314",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()\n\nIf we fail to allocate propname buffer, we need to drop the reference\ncount we just took. Because the pinctrl_dt_free_maps() includes the\ndroping operation, here we call it directly."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T09:03:20.294Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f"
        },
        {
          "url": "https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274"
        },
        {
          "url": "https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d"
        },
        {
          "url": "https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec"
        },
        {
          "url": "https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049"
        },
        {
          "url": "https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404"
        }
      ],
      "title": "pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-36959",
    "datePublished": "2024-05-30T15:35:51.624Z",
    "dateReserved": "2024-05-30T15:25:07.080Z",
    "dateUpdated": "2024-12-19T09:03:20.294Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-36959\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-30T16:15:18.747\",\"lastModified\":\"2024-11-21T09:22:54.713\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\npinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()\\n\\nIf we fail to allocate propname buffer, we need to drop the reference\\ncount we just took. Because the pinctrl_dt_free_maps() includes the\\ndroping operation, here we call it directly.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: pinctrl: devicetree: corrige la fuga de recuento de referencia en pinctrl_dt_to_map() Si no asignamos el b\u00fafer de nombre de propiedad, debemos eliminar el recuento de referencias que acabamos de tomar. Debido a que pinctrl_dt_free_maps() incluye la operaci\u00f3n de eliminaci\u00f3n, aqu\u00ed la llamamos directamente.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.