Skip to main content

In the Linux kernel, the following vulnerability has been resolved: perf/core: Fill branch entries with a single assignment… (CVE-2026-98551)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:54 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's perf subsystem related to branch entry handling has been resolved. The issue involved improper clearing of bitfields in the perf_branch_entry struct, leading to uninitialized data being exposed in certain ARM64 configurations. The fix assigns the entire entry at once to ensure all fields are properly initialized. This vulnerability affects the ARM64 architecture and does not impact x86. No CVSS score is available for this issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:03:49 UTC

Technical Analysis

The vulnerability in the Linux kernel perf subsystem was due to perf_clear_branch_entry_bitfields() clearing bitfields of struct perf_branch_entry individually but leaving some fields (new_type and priv) uninitialized. These fields were added later and not properly cleared, causing uninitialized memory data to be exposed in userspace on ARM64 systems when perf branch stack records were processed. The patch replaces per-field clearing with a single assignment of the entire struct, ensuring all fields are zeroed and consistent. The function perf_clear_branch_entry_bitfields() was removed as it had no callers left. This issue does not affect x86 architectures and is specific to ARM64 due to how the per-CPU branch stack is allocated and handled.

Potential Impact

Uninitialized memory data from the perf branch stack could be exposed to userspace on ARM64 Linux systems, potentially leaking sensitive kernel memory contents. The vulnerability does not affect x86 architectures and is limited to the perf subsystem's branch stack handling. There is no indication of active exploitation in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel that assigns the entire perf_branch_entry struct at once, ensuring all fields are properly initialized. Users should update to the kernel version containing this fix. Since this is a kernel-level issue, applying the official kernel update is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-r5w5-qjwh-6pq3
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98551"]

Threat ID: 6ad520af2cdf04f656993aa4

Added to database: 10/18/2026, 19:40:31 UTC

Last enriched: 10/18/2026, 21:03:49 UTC

Last updated: 10/18/2026, 22:48:14 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses