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-42096

published

x86: stop playing stack games in profile_pc()

Published
29 Jul 2024, 17:39:31 UTC
Updated
15 Oct 2026, 00:47:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 65ebdde16e7f5da99dbf8a548fb635837d78384e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 27c3be840911b15a3f24ed623f86153c825b6b29 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 49c09ca35a5f521d7fa18caf62fdf378f15e8aa4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2d07fea561d64357fb7b3f3751e653bf20306d77 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 161cef818545ecf980f0e2ebaf8ba7326ce53c2b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16222beb9f8e5ceb0beeb5cbe54bef16df501a92 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a3b65c8cbc139bfce9541bc81c1bb766e5ba3f68 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 093d9603b60093a9aaae942db56107f6432a5dca · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.19.317 through 4.19.* (unaffected · semver) · 5.4.279 through 5.4.* (unaffected · semver) · 5.10.221 through 5.10.* (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.97 through 6.1.* (unaffected · semver) · 6.6.37 through 6.6.* (unaffected · semver) · 6.9.8 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Show 108 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-046 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-053 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-081 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-084 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-665 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-714 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 9 bpftool Advisory build 7.3.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 libperf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rtla Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rv Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567

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

Description

In the Linux kernel, the following vulnerability has been resolved: x86: stop playing stack games in profile_pc() The 'profile_pc()' function is used for timer-based profiling, which isn't really all that relevant any more to begin with, but it also ends up making assumptions based on the stack layout that aren't necessarily valid. Basically, the code tries to account the time spent in spinlocks to the caller rather than the spinlock, and while I support that as a concept, it's not worth the code complexity or the KASAN warnings when no serious profiling is done using timers anyway these days. And the code really does depend on stack layout that is only true in the simplest of cases. We've lost the comment at some point (I think when the 32-bit and 64-bit code was unified), but it used to say: Assume the lock function has either no stack frame or a copy of eflags from PUSHF. which explains why it just blindly loads a word or two straight off the stack pointer and then takes a minimal look at the values to just check if they might be eflags or the return pc: Eflags always has bits 22 and up cleared unlike kernel addresses but that basic stack layout assumption assumes that there isn't any lock debugging etc going on that would complicate the code and cause a stack frame. It causes KASAN unhappiness reported for years by syzkaller [1] and others [2]. With no real practical reason for this any more, just remove the code. Just for historical interest, here's some background commits relating to this code from 2006: 0cb91a229364 ("i386: Account spinlocks to the caller during profiling for !FP kernels") 31679f38d886 ("Simplify profile_pc on x86-64") and a code unification from 2009: ef4512882dbe ("x86: time_32/64.c unify profile_pc") but the basics of this thing actually goes back to before the git tree.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

74

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 65ebdde16e7f5da99dbf8a548fb635837d78384e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 27c3be840911b15a3f24ed623f86153c825b6b29 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 49c09ca35a5f521d7fa18caf62fdf378f15e8aa4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2d07fea561d64357fb7b3f3751e653bf20306d77 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 161cef818545ecf980f0e2ebaf8ba7326ce53c2b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16222beb9f8e5ceb0beeb5cbe54bef16df501a92 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a3b65c8cbc139bfce9541bc81c1bb766e5ba3f68 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 093d9603b60093a9aaae942db56107f6432a5dca (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.19.317 through 4.19.* (unaffected · semver)5.4.279 through 5.4.* (unaffected · semver)5.10.221 through 5.10.* (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.97 through 6.1.* (unaffected · semver)6.6.37 through 6.6.* (unaffected · semver)6.9.8 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 to < V3.1.5 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 to < V3.1.5 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 to < V3.1.5 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 to < V3.1.5 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 to < V3.1.5 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

4

Linux · cna

x86: stop playing stack games in profile_pc()

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
824dd4a7db0ba94290a084c565f605c0261526135d0d871872cf3e051a5d6466
Ingested
15 Oct 2026, 13:09:23 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