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-2026-139619

published

powerpc/ftrace: Don't restore r13 during ftrace_regs_caller

Published
30 Nov 2026, 13:36:25 UTC
Updated
30 Nov 2026, 13:36:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 366922b28c204239e152c2f93ddcc78ef6427c33 · 153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 6ea49e208b40bececc246dbe3f9e804b07a5eb78 · 153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < d4c2840ee6b10543a03a3e5c7259df6cbdd4509c · 153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 7880dfae923cdf3176e3b5e071c5ca5b1a5f3693 · 153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < af5f0870883ae4aea7f668d06cbb7ad0e12824c8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 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

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/ftrace: Don't restore r13 during ftrace_regs_caller Michal reported a stack-protector failure and subsequent panic when running kernel builds. This was observed with full/lazy preemption. Initially it was suspected as KVM, but later turned out to be due to a bcc tool running in parallel. Issue was recreated using a bcc tool. For example, running below in parallel leads to crash. ./funccount sched* -d 100 and make -j 64 The same crash was observed when running kprobe for schedule() function, while simpler function tracer for schedule() didn't cause the crash. This helped to narrow it down to ftrace backed kprobes area. The crash occurs as follows: ftrace_regs_caller entry on CPU A | +-> save r13 = CPU A PACA into pt_regs | +-> call kprobe_ftrace_handler() | +-> ftrace_test_recursion_unlock() | +-> preempt_enable +-> task can schedule and migrate to CPU B +-> task resumes with live r13 = CPU B PACA | +-> REST_GPRS(2, 31) | +-> restore saved r13 = CPU A PACA | |-> The task then continues running on CPU B with r13 pointing | to CPU A's PACA. The stack-protector canary is accessed through the PACA. After the task migrates, CPU A may run a different task and update its PACA with that task's canary. Restoring the saved r13 then causes the migrated task's saved stack canary to be compared against the canary in CPU A's PACA, resulting in a stack-protector failure. Similarly, current is resolved through the PACA. With a stale r13, preempt_count() can access the state of the task referenced by CPU A's PACA instead of the task running on CPU B. This results in corrupted preempt-count warnings and scheduling-while-atomic failures. This path for example is called when using kprobes and parallel kernel builds can cause preemptions during ftrace_test_recursion_unlock. Do not restore r13 from the saved register frame. If the task did not migrate, the live r13 already has the saved value. If it migrated, the live r13 contains the correct PACA pointer for the CPU on which the task resumed. On PPC32, r13 is regular register. So do this fix only for PPC64

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 366922b28c204239e152c2f93ddcc78ef6427c33 (affected · git)153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 6ea49e208b40bececc246dbe3f9e804b07a5eb78 (affected · git)153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < d4c2840ee6b10543a03a3e5c7259df6cbdd4509c (affected · git)153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < 7880dfae923cdf3176e3b5e071c5ca5b1a5f3693 (affected · git)153086644fd1fb07fb3af84d9f11542a19b1e8b6 to < af5f0870883ae4aea7f668d06cbb7ad0e12824c8 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.6 (affected)0 to < 4.6 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

powerpc/ftrace: Don't restore r13 during ftrace_regs_caller

Provenance

Schema
5.2
Searchable
yes
Content hash
46b1eb2aa731ca065e354e96a9369f26f9c4a64e8c6d959fa0874eb6e1d571f5
Ingested
30 Nov 2026, 13:42:24 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