CVE-2026-98551
Last modified
CVE-2026-98551 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: perf/core: Fill branch entries with a single assignment perf_clear_branch_entry_bitfields() clears the bitfields of struct perf_branch_entry one by one and leaves from/to alone, since callers overwrite those straight away. The list has to be kept in sync with the struct by hand and has already fallen behind: new_type and priv were added to perf_branch_entry and never added here. Only BRBE writes those two, and neither for every record. brbe_set_perf_entry_type() leaves new_type alone for a branch type it does not recognise, and priv is not set for source-only records. arm_pmuv3.c allocates the per-CPU branch stack with kmalloc(), so such a record reaches userspace with whatever the slot held: uninitialised kmalloc() data on the first pass over the buffer, the previous record's values after that.
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fill branch entries with a single assignment perf_clear_branch_entry_bitfields() clears the bitfields of struct perf_branch_entry one by one and leaves from/to alone, since callers overwrite those straight away. The list has to be kept in sync with the struct by hand and has already fallen behind: new_type and priv were added to perf_branch_entry and never added here. Only BRBE writes those two, and neither for every record. brbe_set_perf_entry_type() leaves new_type alone for a branch type it does not recognise, and priv is not set for source-only records. arm_pmuv3.c allocates the per-CPU branch stack with kmalloc(), so such a record reaches userspace with whatever the slot held: uninitialised kmalloc() data on the first pass over the buffer, the previous record's values after that. Nothing under arch/x86/events/ writes either field, so only arm64 is affected. Assign the whole entry at each site instead. Everything not named is then zero, and there is no list to keep in sync. The bitfields add up to exactly 64 bits, so the struct has no padding to leave undefined. perf_clear_branch_entry_bitfields() has no callers left, so remove it. perf_entry_from_brbe_regset() assigns an empty literal instead, since it fills from/to conditionally. PERF_BR_SPEC_NA is 0, so dropping the explicit spec assignment changes nothing.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b190bc4ac9e6d9763b61654c5a0c085ff77d7a09, < c7de8521947a521b766979ff5c09f66fe905a5bd; >= b190bc4ac9e6d9763b61654c5a0c085ff77d7a09, < 24b620729e53d978b3e425f55bc66efd3bab1f59 |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98551?
How severe is CVE-2026-98551?
How do I fix CVE-2026-98551?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98546In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98547In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98548In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-98549In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-9855The Custom Field Template plugin for WordPress is vulnerable…6.5
- CVE-2026-98550In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-98552In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98553In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98554In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98555In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-98556In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98557In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98551?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
