Skip to content
Heist/ feed
Back to feed
UnratedFix available

thermal: core: prevent potential string overflow

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: thermal: core: prevent potential string overflow The dev->id value comes from ida_alloc() so it's a number between zero and INT_MAX. If it's too high then these sprintf()s will overflow.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.330, 4.19.299, 5.10.201, 5.15.139, 5.4.261, 6.1.63, 6.5.12, 6.6.2
CVEs
CVE-2023-52868
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:10 UTC · Revision 1

Source evidence

thermal: core: prevent potential string overflow

core-osv · Original source

Published 21 May 2024, 15:31 UTC

In the Linux kernel, the following vulnerability has been resolved: thermal: core: prevent potential string overflow The dev->id value comes from ida_alloc() so it's a number between zero and INT_MAX. If it's too high then these sprintf()s will overflow.

osv:CVE-2023-52868

Kernel

Fixed versions: 4.14.330, 4.19.299, 5.4.261, 5.10.201, 5.15.139, 6.1.63, 6.5.12, 6.6.2

Complete source record
{
  "id": "808670d11c4ba6813a1edbc9cf634864fcae89e86cc05ff349c1cf56d2e66143",
  "url": "https://osv.dev/vulnerability/CVE-2023-52868",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "thermal: core: prevent potential string overflow",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: thermal: core: prevent potential string overflow The dev->id value comes from ida_alloc() so it's a number between zero and INT_MAX. If it's too high then these sprintf()s will overflow.",
    "evidence": "osv:CVE-2023-52868",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.330",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.299",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.261",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.201",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.139",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.63",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-52868",
      "aliases": [
        "CVE-2023-52868"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "203d3d4aa482339b4816f131f713e1b8ee37f6dd"
                },
                {
                  "fixed": "b55f0a9f865be75ca1019aad331f3225f7b50ce8"
                },
                {
                  "fixed": "6ad1bf47fbe5750c4d5d8e41337665e193e2c521"
                },
                {
                  "fixed": "3091ab943dfc7b2578599b0fe203350286fab5bb"
                },
                {
                  "fixed": "3f795fb35c2d8a637efe76b4518216c9319b998c"
                },
                {
                  "fixed": "3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c"
                },
                {
                  "fixed": "77ff34a56b695e228e6daf30ee30be747973d6e8"
                },
                {
                  "fixed": "0f6b3be28c4d62ef6498133959c72266629bea97"
                },
                {
                  "fixed": "edbd6bbe40ac524a8f2273ffacc53edf14f3c686"
                },
                {
                  "fixed": "c99626092efca3061b387043d4a7399bf75fbdd5"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52868.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.25"
                },
                {
                  "fixed": "4.14.330"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.299"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.261"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.201"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.139"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.63"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.5.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52868.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.403043242Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97",
        "https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb",
        "https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c",
        "https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c",
        "https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521",
        "https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8",
        "https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8",
        "https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5",
        "https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52868.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-52868",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52868.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-52868",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493660,
  "published_at": "2024-05-21T15:31:58.53+00:00"
}