CVE-2023-52868
thermal: core: prevent potential string overflow
Check your servers for CVE-2023-52868
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52868 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 24 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before b55f0a9f865be75ca1019aad331f3225f7b50ce8 affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 6ad1bf47fbe5750c4d5d8e41337665e193e2c521 affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 3091ab943dfc7b2578599b0fe203350286fab5bb affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 3f795fb35c2d8a637efe76b4518216c9319b998c affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 77ff34a56b695e228e6daf30ee30be747973d6e8 affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before 0f6b3be28c4d62ef6498133959c72266629bea97 affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before edbd6bbe40ac524a8f2273ffacc53edf14f3c686 affected from 203d3d4aa482339b4816f131f713e1b8ee37f6dd, before c99626092efca3061b387043d4a7399bf75fbdd5
Other versions: unaffected
|
| Linux |
affected 2.6.25 unaffected before 2.6.25 unaffected from 4.14.330 up to and including 4.14.* unaffected from 4.19.299 up to and including 4.19.* unaffected from 5.4.261 up to and including 5.4.* unaffected from 5.10.201 up to and including 5.10.* unaffected from 5.15.139 up to and including 5.15.* unaffected from 6.1.63 up to and including 6.1.* unaffected from 6.5.12 up to and including 6.5.* unaffected from 6.6.2 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52868 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52868
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52868
trivy image --scanners vuln IMAGE | grep CVE-2023-52868
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b55f0a9f865be75ca1019aad331f3225f7b50ce8 git.kernel.org
- https://git.kernel.org/stable/c/6ad1bf47fbe5750c4d5d8e41337665e193e2c521 git.kernel.org
- https://git.kernel.org/stable/c/3091ab943dfc7b2578599b0fe203350286fab5bb git.kernel.org
- https://git.kernel.org/stable/c/3f795fb35c2d8a637efe76b4518216c9319b998c git.kernel.org
- https://git.kernel.org/stable/c/3a8f4e58e1ee707b4f46a1000b40b86ea3dd509c git.kernel.org
- https://git.kernel.org/stable/c/77ff34a56b695e228e6daf30ee30be747973d6e8 git.kernel.org
- https://git.kernel.org/stable/c/0f6b3be28c4d62ef6498133959c72266629bea97 git.kernel.org
- https://git.kernel.org/stable/c/edbd6bbe40ac524a8f2273ffacc53edf14f3c686 git.kernel.org
- https://git.kernel.org/stable/c/c99626092efca3061b387043d4a7399bf75fbdd5 git.kernel.org
Source: the record CVE-2023-52868 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse