Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-57998

published high CVSS 3.1 · 7.3

OPP: add index check to assert to avoid buffer overflow in _read_freq()

Published
27 Feb 2025, 02:07:17 UTC
Updated
05 Aug 2026, 11:47:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux92fcb46659d5dbfdad0422a503e289085990a5d0 to < 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd · 142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < eb6ffa0192ba83ece1a318b956265519c5c7dcec · 142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < 7d68c20638e50d5eb4576492a7958328ae445248 · 142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < da2a6acc73933b7812c94794726e438cde39e037 · 142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < d659bc68ed489022ea33342cfbda2911a81e7a0d · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.76 through 6.6.* (unaffected · semver) · 6.12.13 through 6.12.* (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 9 kernel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
Debian bullseye linux-6.1 Advisory build 6.1.129-1~deb11u1 DLA-4102-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 libperf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 perf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 rtla Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 rv Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-264.14.1.el10_3 ELSA-2026-98608

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: OPP: add index check to assert to avoid buffer overflow in _read_freq() Pass the freq index to the assert function to make sure we do not read a freq out of the opp->rates[] table when called from the indexed variants: dev_pm_opp_find_freq_exact_indexed() or dev_pm_opp_find_freq_ceil/floor_indexed(). Add a secondary parameter to the assert function, unused for assert_single_clk() then add assert_clk_index() which will check for the clock index when called from the _indexed() find functions.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

37

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Scenarios
en: AV:L - The OPP core is a kernel-internal DVFS framework reached only from the local system — driver probe, devfreq governor transitions driven by local workload, and the devfreq/UFS sysfs frequency attributes. No network, adjacent-network, or removable-device input reaches `_read_freq()`. AC:L - On an affected platform the missing bound check is on a straight-line path with no race, no timing window, and no memory-layout precondition — every OPP lookup through the `_indexed()` variants deterministically reads `opp->rates[index]` past the array. Repeating the read is as simple as generating I/O or GPU load to force a DVFS transition. PR:L - An ordinary unprivileged process can drive devfreq/UFS clock-scaling transitions simply by generating storage or GPU load, which sends the governor through `devfreq_recommended_opp()` and `ufshcd_opp_set_rate()` into the unchecked lookup — no capability, user namespace, or sysfs write privilege is needed to reach the code. UI:N - The overread happens autonomously in probe context and in governor-driven DVFS work, with no victim required to open a device node, mount a filesystem, or take any other action. S:U - The out-of-bounds access stays within the kernel's own slab allocations and the affected device's power-management state, under the same security authority. No hypervisor, IOMMU, container, or sandbox boundary is crossed. C:H - The out-of-bounds word read from beyond `opp->rates[]` is not merely compared — `_opp_table_find_key()` assigns it back through `*key`, so adjacent kernel heap contents (potentially slab metadata or pointers) escape into a caller-visible frequency value that is reported through devfreq/UFS frequency interfaces and tracepoints, and the read is freely repeatable as a heap-content oracle. I:L - The garbage key corrupts the ceil/floor/exact comparison, causing selection of the wrong operating point, so an out-of-spec clock rate and voltage are programmed into hardware and bogus `min_freq`/`max_freq` values are stored in the UFS clock descriptors. This is unintended but bounded modification of system state, not an attacker-directed arbitrary write. A:H - The slab out-of-bounds read is fatal on the KASAN/`panic_on_warn` configurations common in Android, automotive, and hardened embedded builds, and even on production builds a garbage frequency makes `ufshcd_parse_clock_min_max_freq()` fail probe or leaves the UFS controller and GPU clocked at an invalid rate, producing I/O timeouts, hangs, or a device left without working storage.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 92fcb46659d5dbfdad0422a503e289085990a5d0 to < 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd (affected · git)142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < eb6ffa0192ba83ece1a318b956265519c5c7dcec (affected · git)142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < 7d68c20638e50d5eb4576492a7958328ae445248 (affected · git)142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < da2a6acc73933b7812c94794726e438cde39e037 (affected · git)142e17c1c2b48e3fb4f024e62ab6dee18f268694 to < d659bc68ed489022ea33342cfbda2911a81e7a0d (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.76 through 6.6.* (unaffected · semver)6.12.13 through 6.12.* (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

2

Linux · cna

OPP: add index check to assert to avoid buffer overflow in _read_freq()

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4411300212d4e2656a4b50969e43b2ec2eaf57bfa17ff4d785d3909362e758d1
Ingested
23 Sep 2026, 08:32:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected