← Back to archive

Daily update · Aug 22, 2026

Perf tooling enhancements and kernel fixes in latest mainline

A batch of perf improvements, exfat data-loss fixes, futex hardening, and an ARM boot fix.

In brief

This update brings extensive perf tooling improvements: Python bindings for perf.data analysis, new perf sched latency histograms, a perf c2c function view, and multiple bug fixes for record, trace, and stat. Kernel-side fixes include exfat data-loss and overflow corrections, futex race hardening, a scheduler division-by-zero fix, and an ARM boot regression fix.

perf tooling

Python bindings for perf.data analysis

Adds Python wrappers for perf_data and session, allowing Python scripts to open perf.data files, register callbacks for sample events, and access callchains, branch stacks, mmap2, and stat events. Also adds syscall conversion, config access, a LiveSession helper, and type stubs.

Why it matters: Python perf scripts can now analyze recorded profiling data directly, enabling custom post-processing without forking external perf commands.

b4e38080066d27e59401c78c600a22ef7eb564344eee2d7888439191ad5e231007698a65cc47714fd7afbe64b86ce81f44a4bf577d51270e3f076b50fed8332b0e0b054d1c7717b9c52b600dbee9

perf record reliability fixes

Fixes a CPU burn when monitored threads exit, a hang in system-wide multi-threaded sessions, and corruption of compressed perf.data with multiple records per push.

Why it matters: Users running perf record on multi-threaded workloads or with zstd compression will see more stable and reliable recordings.

f94563fac269fb4751e79c45ad40a000ea59

perf stat, trace, and misc fixes

Adds --hide-zero-events to perf stat, --bitmask-list to perf trace, fixes cpumask and instruction pointer field formatting, duplicate events in --for-each-cgroup, conflicting output options, PMU filtering, TUI stack overflow, BPF loading with newer Clang, perf archive symlinks, perf kvm record argument passing, and a warning when 'sleep' is used without -a.

Why it matters: Cleaner and more accurate output for perf stat and trace, correct PMU event selection, and protection from crashes or memory corruption in edge cases.

64724095a33fab74d1fbe06189493fe58c81da85966dfd239dd7c82d462ec16af17927e0261210854462dfab3e4b0bf7e6ad1fb3458f2ec3b9858725ea6992784d658c5f60344b0795e63238386578148c852970

perf sched latency histograms and auto-scaling

Adds --histogram and --hist-mode options to display CPU wait latencies as an ASCII bar chart, and auto-scales latency/runtime display units. Also fixes handling of perf.data files without trace samples.

Why it matters: perf sched latency output is now easier to read and allows visual analysis of scheduling latency distributions.

19ea850c023cbf10e6ee2ac34a81d59a9d8144f8dd1ee1d5

perf memory safety hardening

Fixes buffer overflows, heap overflows, out-of-bounds reads, NULL dereferences, double frees, and infinite loops in perf's trace-event, BPF info, synthetic-events, and DSO symbol reading code paths when handling crafted or malformed perf.data files.

Why it matters: Users who analyze perf.data files from untrusted sources are protected from crashes or potential arbitrary memory access.

38ba525335c41121a7af1833c108c1391be06c07d49ef3bec291f143cc4943a163494ff762972e5644e4093f58e60e95

Intel and AMD PMU event updates

Updates perf event tables for Intel Arrow Lake, Emerald Rapids, Granite Rapids, Lunar Lake, Panther Lake, Tiger Lake, Novalake, and Nova Lake, plus AMD Zen 5 and Zen 6. Also adds OMR MSR mappings and restores deprecated Zen 5 events.

Why it matters: Users of these CPUs get more accurate and complete PMU event names and metrics in perf.

be4147c51a65edb496df16752bf556fe2da3cd0361df2750174845dc5135eb6356c74ca042a93c514e04ea46211d7e9a00ab8057cc87047979af3bf66744430f106beda39f98bbc5

ARM CoreSight callchain support

CS ETM now synthesizes callchains for instruction samples and supports perf script callindent, and decodes ETE exception packets.

Why it matters: Users analyzing ARM CoreSight traces can now get callchain and callindent output, improving debugging of ARM software.

e3fbd5d1a13a41a7388d07345cf3ea0f2616

Filesystem fixes

exfat fixes for data loss, overflow, and trim bounds

Fixes a race in shared mappings that could overwrite data, a rename ordering issue, a 32-bit overflow in cluster-to-dentry conversion, truncated volume labels, and FITRIM discarding blocks outside the requested range. Also rejects invalid UTF-8 encoding versions on casefold mounts.

Why it matters: Prevents file corruption and data loss on exFAT filesystems, commonly used on USB drives and SD cards, and ensures correct directory listing and trim behavior.

1135704ed22f896fcc93574f0eb24ad05a6a27af3392196d2de727471b3ba511442085c1

Kernel core fixes

futex race hardening

Prevents private futexes from accepting owners in a different address space and plugs a race during exec() that could lead to use-after-free. Also fixes a race on the initial per-mm futex hash reference allocation.

Why it matters: These low-level fixes prevent potential crashes or memory corruption in multithreaded/vfork programs using private futexes.

59b3732f95ddc5f0bc9fd1cebde023808364

sched/fair zero shares fix

Floors tg_cpus() at 1 so calc_concur_shares() cannot produce a zero shares_max, preventing a division by zero in __calc_prop_weight().

Why it matters: Prevents potential crashes or incorrect CPU bandwidth distribution for users of cgroup cpu shares.

23906f3a1686

ARM boot hang fix

Fixes a regression from the delay timer calibration rework that made get_cycles() return 0 or uninitialized values on some ARM configurations, causing boot hangs.

Why it matters: Restores reliable boot on affected ARM systems (e.g., multi_v5_defconfig).

e1e3a0ab69c6

Hardening

FireWire descriptor validation

Adds bounds checks for descriptor lengths and sub-block lengths in fw_core_add_descriptor(), rejecting malformed descriptors.

Why it matters: Hardens the FireWire subsystem against malformed device descriptors, reducing the risk of crashes or memory corruption from untrusted devices.

e8e659f79178a5367912ba81

Source commits285 entries +
080241946ec5

utf8: Remove unused utf8_normalize

Dr. David Alan Gilbert · Jun 9, 2025 · 2 files

385db74dc436

perf kvm stat: Add missing mappings for PPC kvm exit reasons

Gautam Menghani · May 18, 2026 · 1 files

ef3af1df4f33

perf metricgroup: Fix metric expression copy leaks

Yu Peng · Jun 2, 2026 · 1 files

156e027582a6

perf script powerpc: Update the hcall list with new hcalls

Gautam Menghani · Jun 2, 2026 · 1 files

17f05146714f

perf script powerpc: Fix a typo in the name of H_DISABLE_AND_GET

Gautam Menghani · Jun 2, 2026 · 1 files

dcb87c889520

perf data convert json: Fix trace_seq memory leak in process_sample_event()

Tanushree Shah · Jun 4, 2026 · 1 files

c25a46dc6304

perf clang-format: Prioritize Python.h and expand other categories

Ian Rogers · Jun 5, 2026 · 1 files

2b123a1a09e9

tools/perf/sched: Update process names of processes in zombie state for both -s and -S options

Athira Rajeev · Jun 7, 2026 · 1 files

be4147c51a65

perf vendor events intel: Update arrowlake events from 1.17 to 1.19

Chun-Tse Shao · Jun 9, 2026 · 5 files

edb496df1675

perf vendor events intel: Update emeraldrapids events from 1.23 to 1.24

Chun-Tse Shao · Jun 9, 2026 · 2 files

2bf556fe2da3

perf vendor events intel: Update graniterapids events from 1.18 to 1.19

Chun-Tse Shao · Jun 9, 2026 · 3 files

cd0361df2750

perf vendor events intel: Update lunarlake events from 1.22 to 1.25

Chun-Tse Shao · Jun 9, 2026 · 4 files

174845dc5135

perf vendor events intel: Update pantherlake events from 1.05 to 1.06

Chun-Tse Shao · Jun 9, 2026 · 5 files

eb6356c74ca0

perf vendor events intel: Update tigerlake events from 1.18 to 1.19

Chun-Tse Shao · Jun 9, 2026 · 1 files

dfab3e4b0bf7

perf pmu: Recognize default_core as a core PMU in more places

Ian Rogers · Jun 12, 2026 · 2 files

faa0abae75f7

perf util: Sort includes and add missed explicit dependencies

Ian Rogers · Jun 16, 2026 · 8 files

01fa2d416ace

perf python: Add missed explicit dependencies

Ian Rogers · Jun 16, 2026 · 1 files

7c11450939c8

perf evsel/evlist: Avoid unnecessary #includes

Ian Rogers · Jun 16, 2026 · 4 files

ea43eb11517b

perf data: Add open flag

Ian Rogers · Jun 16, 2026 · 2 files

3c45ce5ae370

perf evlist: Add reference count

Ian Rogers · Jun 16, 2026 · 54 files

3b6a78b0a442

perf evsel: Add reference count

Ian Rogers · Jun 16, 2026 · 14 files

ab24487aaa42

perf evlist: Add reference count checking

Ian Rogers · Jun 16, 2026 · 84 files

674ca42f13c7

perf python: Use evsel in sample in pyrf_event

Ian Rogers · Jun 16, 2026 · 8 files

27e59401c78c

perf python: Add wrapper for perf_data file abstraction

Ian Rogers · Jun 16, 2026 · 1 files

b4e38080066d

perf python: Add python session abstraction wrapping perf's session

Ian Rogers · Jun 16, 2026 · 1 files

600a22ef7eb5

perf python: Refactor and add accessors to sample event

Ian Rogers · Jun 16, 2026 · 3 files

64344eee2d78

perf python: Add mmap2 event

Ian Rogers · Jun 16, 2026 · 1 files

88439191ad5e

perf python: Add callchain support

Ian Rogers · Jun 16, 2026 · 1 files

231007698a65

perf python: Extend API for stat events in python.c

Ian Rogers · Jun 16, 2026 · 1 files

cc47714fd7af

perf python: Expose brstack in sample event

Ian Rogers · Jun 16, 2026 · 1 files

be64b86ce81f

perf python: Add syscall name/id to convert syscall number and name

Ian Rogers · Jun 16, 2026 · 2 files

44a4bf577d51

perf python: Add config file access

Ian Rogers · Jun 16, 2026 · 1 files

054d1c7717b9

perf python: Handle Py_None for thread and cpu maps

Ian Rogers · Jun 16, 2026 · 1 files

c52b600dbee9

perf python: Add type checking for parse_events/parse_metrics

Ian Rogers · Jun 16, 2026 · 1 files

fed8332b0e0b

perf python: Add perf.pyi stubs file

Ian Rogers · Jun 16, 2026 · 3 files

270e3f076b50

perf python: Add LiveSession helper

Ian Rogers · Jun 16, 2026 · 2 files

e6ad1fb3458f

perf parse-events: Restrict core PMU bypass to --cputype option

Ian Rogers · Jun 23, 2026 · 11 files

32e6312f7e39

perf test: Truncate test description to fit terminal width

Ian Rogers · Jun 23, 2026 · 1 files

810d0c911796

perf tests workloads: Support sub-second durations in noploop and thloop

Ian Rogers · Jun 23, 2026 · 2 files

74dba58222f0

perf tests: Add robust record retry helper and use subsecond workloads

Ian Rogers · Jun 23, 2026 · 5 files

8953bfd8820b

perf tests: Skip metrics validation if system-wide recording lacks permission

Ian Rogers · Jun 23, 2026 · 3 files

07eac17339da

perf tests: Fix Python JIT dump profiling test failure

Ian Rogers · Jun 23, 2026 · 1 files

509a2b9a6e14

perf tests: Fix flakiness in trace record and replay test

Ian Rogers · Jun 23, 2026 · 2 files

b02027776ac5

perf tests: Fix flakiness in BPF counters test on hybrid systems

Ian Rogers · Jun 23, 2026 · 1 files

344d3aec164d

perf tests: Fix flakiness in branch stack sampling tests

Ian Rogers · Jun 23, 2026 · 1 files

c10f33fa660f

perf tests: Speed up off-cpu profiling tests

Ian Rogers · Jun 23, 2026 · 1 files

ae42a2a2a3ae

perf tests: Speed up lock contention analysis shell test

Ian Rogers · Jun 23, 2026 · 1 files

b02e597450f2

perf tests: Speed up metrics checking shell tests

Ian Rogers · Jun 23, 2026 · 2 files

f6e5090f63b0

perf tests: Include error output for skipped tests in JUnit XML

Ian Rogers · Jun 23, 2026 · 1 files

047979af3bf6

perf vendor events amd: Update Zen 5 core events

Sandipan Das · Jun 23, 2026 · 2 files

6744430f106b

perf vendor events amd: Update Zen 6 core events

Sandipan Das · Jun 23, 2026 · 1 files

b3665131e7a6

perf tests: Add auto counter reload (ACR) sampling test

Dapeng Mi · Jun 24, 2026 · 1 files

4933d4f45b5c

perf timechart: Don't pass @event to cat_backtrace()

Namhyung Kim · Jun 24, 2026 · 1 files

445a625a66b1

perf timechart: Generate backtrace only if needed

Namhyung Kim · Jun 24, 2026 · 1 files

48d698f810fe

perf timechart: Remove unused backtrace in trace_handler

Namhyung Kim · Jun 24, 2026 · 1 files

780368ccd922

perf timechart: Remove unnecessary copy of backtrace

Namhyung Kim · Jun 24, 2026 · 1 files

73aa610f7583

perf timechart: Release event samples at the end

Namhyung Kim · Jun 24, 2026 · 1 files

96a463ee6259

perf timechart: Fix memory leaks during record

Namhyung Kim · Jun 24, 2026 · 1 files

fcc9159fc826

perf timechart: Fix memory leaks in draw_wakeups()

Namhyung Kim · Jun 24, 2026 · 1 files

5437e9890389

perf test: Update perf timechart test

Namhyung Kim · Jun 24, 2026 · 1 files

e1065ed188cf

perf build: Add LDFLAGS to dlfilters .so link

Trevor Allison · Jun 26, 2026 · 1 files

5a9dd835894c

perf symbols: skip livepatch symbols when loading kallsyms

Joe Lawrence · Jun 26, 2026 · 2 files

55caa653014d

perf symbols: skip livepatch symbols in kcore_copy kallsyms processing

Joe Lawrence · Jun 26, 2026 · 1 files

0cf831b7a40d

perf scripts: Add configurable sorting option to powerpc-hcalls

Shivani Nittor · Jun 27, 2026 · 1 files

4f7442f7e71d

perf/probe: Ignore comment lines in dynamic_events/kprobe_events file

Masami Hiramatsu (Google) · Jun 29, 2026 · 1 files

5786fa53dc7a

perf test: Skip failing 'perf test aslr' test case

Thomas Richter · Jun 29, 2026 · 1 files

d3c9fca531e2

perf capstone: Fix kernel map reference count leak

Tengda Wu · Jul 1, 2026 · 1 files

e34006e7435f

perf test amd ibs: avoid using executable heap

Ondrej Mosnacek · Jul 1, 2026 · 1 files

d12a0135e8e8

perf kvm: Factor out kvm_need_default_arch_event()

Namhyung Kim · Jul 1, 2026 · 5 files

95e632383865

perf kvm: Check kvm_need_default_arch_event() early

Namhyung Kim · Jul 1, 2026 · 1 files

cd589eba99f4

perf kvm: Kill STRDUP_FAIL_EXIT()

Namhyung Kim · Jul 1, 2026 · 4 files

5169bd7647e6

perf kvm: Do not copy filename string

Namhyung Kim · Jul 1, 2026 · 1 files

ab42c7b94339

perf kvm: Fix a memory leak in the usage string

Namhyung Kim · Jul 1, 2026 · 1 files

3ec1248747e4

perf test: Extend perf kvm tests to check default event

Namhyung Kim · Jul 1, 2026 · 1 files

50cd0d54f1f6

perf cs-etm: Fix thread leaks on trace queue init failure

Leo Yan · Jul 2, 2026 · 1 files

a9e99b860fb6

perf cs-etm: Filter synthesized branch samples

Leo Yan · Jul 2, 2026 · 3 files

5cf3ea0f2616

perf cs-etm: Decode ETE exception packets

Leo Yan · Jul 2, 2026 · 1 files

9bb1423295d1

perf cs-etm: Refactor instruction size handling

Leo Yan · Jul 2, 2026 · 1 files

3ea91599b7b6

perf cs-etm: Use thread-stack for last branch entries

Leo Yan · Jul 2, 2026 · 1 files

ea5075e37768

perf cs-etm: Flush thread stacks after decoder reset

Leo Yan · Jul 2, 2026 · 1 files

e3fbd5d1a13a

perf cs-etm: Support call indentation

Leo Yan · Jul 2, 2026 · 1 files

41a7388d0734

perf cs-etm: Synthesize callchains for instruction samples

Leo Yan · Jul 2, 2026 · 1 files

ca0e19074bd6

perf test: Add Arm CoreSight callchain test

Leo Yan · Jul 2, 2026 · 6 files

e01c7bd5b1ee

perf build: Fix compiler errors with old capstone

Namhyung Kim · Jul 6, 2026 · 1 files

e83fd0f637c4

perf build: Do not pass -static to dlfilters

Namhyung Kim · Jul 7, 2026 · 1 files

557f8b3ca8c8

perf jevents: Add more components to the metric sorting order

Ian Rogers · Jul 7, 2026 · 2 files

cda907c2c3f9

perf jevents: Add python type annotations

Ian Rogers · Jul 7, 2026 · 1 files

59355235f29e

perf jevents metric: Add python type annotations

Ian Rogers · Jul 7, 2026 · 1 files

acff3e1a9cc2

perf trace: Factor out BPF loop body

Viktor Malik · Jul 7, 2026 · 1 files

ea6992784d65

perf trace: Refactor augmented_raw_syscalls using bpf_for

Viktor Malik · Jul 7, 2026 · 1 files

f94563fac269

perf record: fix poll storm when monitored threads exit

Jiawei Sun · Jul 7, 2026 · 2 files

eda39f98bbc5

perf vendor events amd: Reintroduce deprecated Zen 5 core events

Sandipan Das · Jul 7, 2026 · 1 files

ea46211d7e9a

perf jevents: Add Intel OMR MSR mappings

Dapeng Mi · Jul 8, 2026 · 1 files

8c5f60344b07

perf dso: Fix kallsyms DSO detection with fallback logic

Tanushree Shah · Jul 8, 2026 · 1 files

261210854462

perf stat: reject --field-separator and --json-output combination

Ivan Lazaric · Jul 8, 2026 · 2 files

757155c142f2

perf record: Return the written size from process_comp_header()

Dmitry Ilvokhin · Jul 8, 2026 · 3 files

ad40a000ea59

perf record: Fix multiple PERF_RECORD_COMPRESSED2 records per push

Dmitry Ilvokhin · Jul 8, 2026 · 2 files

831068eed920

perf tests: Restore -p flag to lock contention test

Ian Rogers · Jul 8, 2026 · 1 files

3f7909fa921e

perf stat: Do not open cgroups for BPF counters

Namhyung Kim · Jul 8, 2026 · 1 files

fb4751e79c45

perf record: Fix teardown hang on system-wide multi-threaded sessions

Ian Rogers · Jul 10, 2026 · 2 files

4968708beaad

perf: evsel: Fix error handling in tp_format lookup

Hongling Zeng · Jul 10, 2026 · 1 files

c16af17927e0

perf stat: Fix duplicate output with --for-each-cgroup

Namhyung Kim · Jul 11, 2026 · 1 files

8f216bc1f73c

perf evsel: Remove unused BPF related fields

Namhyung Kim · Jul 11, 2026 · 2 files

cf37bb44cd88

perf evsel: Arrange some fields that should be cloned

Namhyung Kim · Jul 11, 2026 · 1 files

c341749d6abc

perf test: Update test for --for-each-cgroup option

Namhyung Kim · Jul 11, 2026 · 1 files

eadce0f46a1d

tools/lib/api: Fix potential double-free from fdarray__grow()

Namhyung Kim · Jul 11, 2026 · 1 files

d30f2d869b6a

perf doc: Fix mmap failure checks in topdown example

Hongfu Li · Jul 13, 2026 · 1 files

12038480d7e7

perf vendor events intel: Update alderlake events from 1.39 to 1.40

Chun-Tse Shao · Jul 13, 2026 · 5 files

6281354894d9

perf vendor events intel: Update alderlaken events from 1.39 to 1.40

Chun-Tse Shao · Jul 13, 2026 · 2 files

d4aba8c1503f

perf vendor events intel: Update arrowlake events from 1.19 to 1.20

Chun-Tse Shao · Jul 13, 2026 · 5 files

07b647ec9830

perf vendor events intel: Update clearwaterforest events from 1.02 to 1.04

Chun-Tse Shao · Jul 13, 2026 · 5 files

79d8a962de78

perf vendor events intel: Update grandridge events from 1.12 to 1.13

Chun-Tse Shao · Jul 13, 2026 · 8 files

51291e81bb64

perf vendor events intel: Update graniterapids events from 1.19 to 1.20

Chun-Tse Shao · Jul 13, 2026 · 4 files

98ebd9d679db

perf vendor events intel: Update lunarlake events from 1.25 to 1.26

Chun-Tse Shao · Jul 13, 2026 · 4 files

982079cbd914

perf vendor events intel: Update meteorlake events from 1.21 to 1.22

Chun-Tse Shao · Jul 13, 2026 · 6 files

42a93c514e04

perf vendor events intel: Add novalake v1.00 events

Chun-Tse Shao · Jul 13, 2026 · 10 files

27780f9b3b7b

perf vendor events intel: Update pantherlake events from 1.06 to 1.07

Chun-Tse Shao · Jul 13, 2026 · 2 files

c0f049a1f63a

perf vendor events intel: Update sierraforest events from 1.17 to 1.18

Chun-Tse Shao · Jul 13, 2026 · 4 files

604062ad51c7

perf vendor events intel: Update emeraldrapids metrics

Chun-Tse Shao · Jul 13, 2026 · 2 files

2bd4ad6914ed

perf sched: Add missing perf_session__delete()

Namhyung Kim · Jul 13, 2026 · 1 files

60de2c6561ae

perf sched: Fix memory leaks in perf sched stats report

Namhyung Kim · Jul 13, 2026 · 1 files

e1f522ac439f

perf sched: Free subcommand string after perf sched stats

Namhyung Kim · Jul 13, 2026 · 1 files

17e3978f3ad1

perf test: Remove duplicate include of util/term.h

Chen Ni · Jul 14, 2026 · 1 files

4b1fac2bb1bc

MAINTAINERS: update mailing list address for exfat

Namjae Jeon · Jul 14, 2026 · 1 files

d5a1d1270c89

tools/build: Allow versioning of all LLVM tools defined in Makefile.include

James Clark · Jul 15, 2026 · 1 files

1d2af6c43bc2

tools/build: Indent if else blocks

James Clark · Jul 15, 2026 · 1 files

738d0cc77e4e

tools/build: Allow versioning LLVM readelf

James Clark · Jul 15, 2026 · 3 files

b2d4225695e6

tools/build: selftests: Remove some duplicate toolchain definitions

James Clark · Jul 15, 2026 · 6 files

e68dc36f8b1f

perf build: Fix a compiler error in util/libbfd.c

Namhyung Kim · Jul 16, 2026 · 1 files

2ec3b9858725

perf hists browser: Increase MAX_OPTIONS to prevent stack buffer overflow

Ian Rogers · Jul 16, 2026 · 1 files

d5fdde1c4269

perf ui hists: Fix uninitialized stack memory free on pstack allocation failure

Ian Rogers · Jul 16, 2026 · 1 files

c6275783931d

perf ui hists: Include limits.h for PATH_MAX definition

Ian Rogers · Jul 16, 2026 · 1 files

1243a5e741a4

perf disasm: Fix potential NULL pointer dereference and use-after-free in arch__find()

Ian Rogers · Jul 16, 2026 · 1 files

5bc1647216b6

perf ui hists: Fix NULL pointer array gap in add_script_opt()

Ian Rogers · Jul 16, 2026 · 1 files

64724095a33f

perf stat: Add --hide-zero-events option to suppress zero-count events

Aaron Tomlin · Jul 19, 2026 · 5 files

da85966dfd23

perf trace: Format instruction pointer fields as hexadecimal

Aaron Tomlin · Jul 19, 2026 · 1 files

ec99be8a31db

perf cs-etm: Avoid truncating AUX buffer sizes to int

Leo Yan · Jul 20, 2026 · 1 files

e46a9b8150c9

perf find-map: Remove PATH_MAX 128-byte stack array restriction

Ian Rogers · Jul 21, 2026 · 1 files

505a498a3757

perf synthetic-events: Fix line synchronization, bounds, and truncation bugs in proc maps reader

Ian Rogers · Jul 21, 2026 · 1 files

093f58e60e95

perf synthetic-events: Fix stack buffer overflow and bounds in cgroup synthesis

Ian Rogers · Jul 21, 2026 · 1 files

b97c53576866

perf synthetic-events: Fix bounds, stale state, and misc flags in kernel module synthesis

Ian Rogers · Jul 21, 2026 · 1 files

006a6f0f6ea6

perf synthetic-events: Fix bounds and union member access in mmap2 build_id synthesis

Ian Rogers · Jul 21, 2026 · 1 files

34b7e953d19a

irqchip/ast2700-intc: Disable all interrupt merge banks on probe

Michael Pesa · Jul 22, 2026 · 1 files

1135704ed22f

exfat: fix valid_size extension over a shared writable mapping

Namjae Jeon · Jul 22, 2026 · 3 files

89493fe58c81

perf trace: Correct default cpumask formatting to hexadecimal

Aaron Tomlin · Jul 22, 2026 · 3 files

ab74d1fbe061

perf trace: Add --bitmask-list command-line option

Aaron Tomlin · Jul 22, 2026 · 2 files

eaab2eb09dc2

perf pmu-events: Parallelize JSON and metric pre-computation in jevents.py

Ian Rogers · Jul 22, 2026 · 1 files

ad7620a2b945

perf ui hists: Fix stack use-after-return in symbol_filter_str

Ian Rogers · Jul 23, 2026 · 3 files

08b0cd02e91d

perf ui hists: Guard against NULL hist_entry in add_script_opt()

Ian Rogers · Jul 23, 2026 · 1 files

ae89153d5e50

perf ui hists: In report UI ensure thread is set with reference counting

Ian Rogers · Jul 23, 2026 · 1 files

bd86119c3ee6

perf ui hists: Fix dso_filter reference leak and exit zoom cleanup

Ian Rogers · Jul 23, 2026 · 1 files

b84e081e071d

perf annotate: Be robust to annotating without a thread

Ian Rogers · Jul 23, 2026 · 4 files

0d40fedcd1b9

perf ui hists: Remove duplicated thread in popup_action

Ian Rogers · Jul 23, 2026 · 1 files

87ec3437f37b

perf cap: Remove used_root parameter and simplify capability checks

Ian Rogers · Jul 23, 2026 · 6 files

9b0ee13b8079

capability: remove non-kernel-doc comments

Randy Dunlap · Jul 23, 2026 · 1 files

1fa8d81be1eb

perf python: Clean up and restructure setup.py

Ian Rogers · Jul 23, 2026 · 1 files

f2effca1ef5d

perf unwind-libdw: Fix unwinding of multi-threaded processes

Alessio Podda · Jul 24, 2026 · 2 files

e8e659f79178

firewire: core: validate overall descriptor length in fw_core_add_descriptor()

Sreeraj S Kurup · Jul 25, 2026 · 1 files

a5367912ba81

firewire: core: validate sub-block lengths in fw_core_add_descriptor()

Sreeraj S Kurup · Jul 25, 2026 · 1 files

1121a7af1833

perf trace-event: Fix buffer overflow in read_string()

Tanushree Shah · Jul 25, 2026 · 1 files

c108c1391be0

perf trace-event: Fix integer truncation in do_read() and skip()

Tanushree Shah · Jul 25, 2026 · 1 files

6c07d49ef3be

perf trace-event: Avoid double free and leak in trace_event__cleanup()/trace_event__init()

Tanushree Shah · Jul 25, 2026 · 1 files

c291f143cc49

perf trace-event: Fix heap overflows in read_ftrace_printk()/read_saved_cmdline()

Tanushree Shah · Jul 25, 2026 · 1 files

43a163494ff7

perf trace-event: Fix infinite loop in skip()

Tanushree Shah · Jul 25, 2026 · 1 files

23010160bb9f

perf machine: Fix fd leak on bounds check in maps__set_modules_path_dir()

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

73ac546bd6ba

perf machine: Fix NULL parent dereference in fork event processing

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

e27b96d0a34e

perf machine: Guard against NULL strlist in machines__findnew()

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

cc6abe0012bf

perf machine: Check snprintf truncation in machines__findnew()

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

b687e1a418fb

perf machine: Don't abort guest map creation on first inaccessible dir

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

29ec46e43f6c

perf machine: Reset errno before strtol in guest kernel map creation

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

f53bf58dcd11

perf machine: Free scandir entries in guest kernel map creation

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

d04ef71492fa

perf machine: Check snprintf truncation for guest kallsyms path

Arnaldo Carvalho de Melo · Jul 26, 2026 · 1 files

896fcc93574f

exfat: write moved entry before removing source

Yichong Chen · Jul 27, 2026 · 1 files

ab9c84d1cd59

perf thread-stack: Fix heap buffer overflow on branch stack wrap copy

Arnaldo Carvalho de Melo · Jul 27, 2026 · 1 files

96fcc9ea5f18

perf auxtrace: Fix queue grow overflow and old array leak

Arnaldo Carvalho de Melo · Jul 27, 2026 · 1 files

c4362d5e1a5e

perf intel-pt: Fix off-by-one in auxtrace_info minimum size check

Arnaldo Carvalho de Melo · Jul 27, 2026 · 1 files

b9fb8225951c

perf intel-bts: Fix off-by-one in auxtrace_info minimum size check

Arnaldo Carvalho de Melo · Jul 27, 2026 · 1 files

d67241d43b70

perf arm-spe: Reject zero nr_cpu in metadata to prevent division by zero

Arnaldo Carvalho de Melo · Jul 27, 2026 · 1 files

3a13ed3111ce

perf symbols: Skip dynamic symbols with invalid section indexes

Zhanpeng Zhang · Jul 28, 2026 · 1 files

ce12a39bed48

exfat: free new directory cluster if zeroing fails

Yichong Chen · Jul 28, 2026 · 1 files

0eb24ad05a6a

exfat: fix overflow in cluster-to-dentry conversion

Yang Wen · Jul 28, 2026 · 2 files

022bcb6ba2d3

perf libdw: Fix outer-frame name resolution and spurious "(inlined)" tag

Michael Liang · Jul 28, 2026 · 1 files

0901a71e8cff

exfat: clean up new entry on add entry failure

Yichong Chen · Jul 29, 2026 · 1 files

2b8a2e5d424f

perf hisi-ptt: Fix PTT trace TLP header parsing

Sizhe Liu · Jul 30, 2026 · 3 files

d5f9d4623254

perf hisi-ptt: Strengthen auxtrace event handling and packet type detection

Sizhe Liu · Jul 30, 2026 · 1 files

bec06676f4b2

perf hisi-ptt: Fix spelling and abbreviation errors

Sizhe Liu · Jul 30, 2026 · 3 files

dbd250506134

perf build: Fix a build error on 32-bit x86

Namhyung Kim · Jul 30, 2026 · 1 files

a511442085c1

unicode: Properly reject invalid encoding version strings

Gabriel Krisman Bertazi · Jul 31, 2026 · 1 files

5a3e6136e31c

perf pmu-events: Fix typo in idle-cycles-frontend description

Pu Hu · Aug 2, 2026 · 2 files

01765b456f85

perf libbfd: Validate BPF prog info arrays before pointer cast

Arnaldo Carvalho de Melo · Aug 2, 2026 · 1 files

60f2f5b7650b

perf header: Use write lock when translating BPF prog info pointers

Arnaldo Carvalho de Melo · Aug 2, 2026 · 1 files

38ba525335c4

perf bpf: Add PROG_TAGS to required arrays in __bpf_event__print_bpf_prog_info()

Arnaldo Carvalho de Melo · Aug 2, 2026 · 1 files

fe3ab00d55aa

perf libbfd: Fix memory leaks and NULL fclose in BPF disassembly

Arnaldo Carvalho de Melo · Aug 2, 2026 · 1 files

9d393ca644cd

perf ftrace: Fix leak in parse_filter_event

Michail Tatas · Aug 3, 2026 · 1 files

9dd7c82d462e

perf trace: Format fields with hex specifiers in print_fmt as hexadecimal

Aaron Tomlin · Aug 3, 2026 · 1 files

00ab8057cc87

perf vendor events intel: Fix Novalake CPUID regex in mapfile.csv

Chun-Tse Shao · Aug 3, 2026 · 1 files

f53f5c2437c1

perf c2c: Fix error masking, OOM, and unchecked caller errors in hpp_list__parse()

Arnaldo Carvalho de Melo · Aug 5, 2026 · 2 files

6d421f609bba

perf c2c: Clean up registered formats on c2c_hists__init() and c2c_hists__reinit() failure

Arnaldo Carvalho de Melo · Aug 5, 2026 · 1 files

78148c852970

perf evlist: Warn when 'sleep' workload is used without system-wide (-a) option

Ian Rogers · Aug 6, 2026 · 1 files

4a81d59a9d81

perf sched: Suppress latency table output when trace samples are missing

Aaron Tomlin · Aug 6, 2026 · 1 files

44f8dd1ee1d5

perf sched: Handle missing trace samples in pipe mode

Aaron Tomlin · Aug 6, 2026 · 1 files

19ea850c023c

perf sched latency: Auto-scale latency and runtime display units

Aaron Tomlin · Aug 6, 2026 · 1 files

bf10e6ee2ac3

perf sched latency: Add histogram and time interval options

Aaron Tomlin · Aug 6, 2026 · 3 files

59b3732f95dd

futex/pi: Reject cross-mm private futex owners

Kyle Zeng · Aug 7, 2026 · 1 files

f9ece060cc43

futex: Sanitize and document task_struct::futex::state transitions

Thomas Gleixner · Aug 7, 2026 · 2 files

c5f0bc9fd1ce

futex/pi: Plug private futex exec() race

Thomas Gleixner · Aug 7, 2026 · 4 files

221b62e97811

futex: Clean up the redundant exit/exec functions

Thomas Gleixner · Aug 7, 2026 · 6 files

8564e01efb5d

perf kvm: Fix memory leak in process_sample_event()

Michalis Niarchos · Aug 7, 2026 · 1 files

65785fb65017

perf kvm: Fix memory leak in cmd_kvm()

Michalis Niarchos · Aug 7, 2026 · 1 files

d4171c774070

perf script: Fix metric_evlist leak in script_find_metrics

Ian Rogers · Aug 9, 2026 · 1 files

340641a4b5ff

perf stat: Fix evsel_list leak in cmd_stat

Ian Rogers · Aug 9, 2026 · 1 files

08e96e3c737b

perf tools: Fix sb_evlist leaks in top and record

Ian Rogers · Aug 9, 2026 · 2 files

38d778acbee3

perf python: Fix memory leak in pyrf_evlist__get_pollfd

Ian Rogers · Aug 9, 2026 · 1 files

54ba44db4ddd

perf synthetic-events: Fix uninitialized pthread_join

Ian Rogers · Aug 9, 2026 · 1 files

44e82c4d2ff3

perf test: Fix skiplist leak in cmd_test

Ian Rogers · Aug 9, 2026 · 1 files

612aca22a978

perf python: Check counts_values size in set_values

Ian Rogers · Aug 9, 2026 · 1 files

9a142beb1eba

perf python: Validate CPU and thread maps in pyrf_evsel__open

Ian Rogers · Aug 9, 2026 · 1 files

0b274050c4d4

perf python: Validate attribute setters in pyrf_evsel

Ian Rogers · Aug 9, 2026 · 1 files

b365402cd5ea

perf python: Zero initialize perf_data in pyrf_data__init

Ian Rogers · Aug 9, 2026 · 1 files

b3d7c6c1a998

perf python: Add thread and PMU uninitialized checks

Ian Rogers · Aug 9, 2026 · 1 files

b9514a9a13fc

perf python: Fix MetricGroup return type in perf.pyi

Ian Rogers · Aug 9, 2026 · 1 files

cb45ede21d02

perf python: Fix count_values memory leak in pyrf_evsel__read

Ian Rogers · Aug 9, 2026 · 1 files

1ec13016ba36

perf python: Fix memory leak in pyrf__metrics_cb

Ian Rogers · Aug 9, 2026 · 1 files

16a12a54e9a1

perf synthetic-events: Fix divide by zero in perf_event__synthesize_threads

Ian Rogers · Aug 9, 2026 · 1 files

6ae6fb96ccd4

perf test sample-parsing: Validate PERF_FORMAT_GROUP values without LOST

PVS Narasimha Rao · Aug 10, 2026 · 1 files

1f9b65cf5708

firewire: core: add KUnit test skeleton for node tree

Takashi Sakamoto · Aug 10, 2026 · 4 files

7b763ea17152

firewire: core: add KUnit tests for successful tree building

Takashi Sakamoto · Aug 10, 2026 · 1 files

f744022705b7

firewire: core: add KUnit tests for failure of tree building

Takashi Sakamoto · Aug 10, 2026 · 1 files

27af3392196d

exfat: fix truncated volume labels returned by FS_IOC_GETFSLABEL

Yang Wen · Aug 10, 2026 · 1 files

87c48e54f28d

firewire: core: consolidate port counting in build_tree()

Takashi Sakamoto · Aug 11, 2026 · 1 files

a563a7cb645a

firewire: core: validate parent port count before allocating nodes in build_tree()

Takashi Sakamoto · Aug 11, 2026 · 1 files

05bfb1327dc5

firewire: core: fix memory leak in error path of build_tree()

Takashi Sakamoto · Aug 11, 2026 · 2 files

bde023808364

futex: Fix race on the initial mm->futex.phash.ref allocation

Hyunwoo Kim · Aug 11, 2026 · 1 files

3dfc0ab5fefd

irqchip/gic-v5: Clear per-CPU IRS data on teardown

Sascha Bischoff · Aug 11, 2026 · 1 files

ac6db0e0bee1

irqchip/gic-v5: Synchronize CPU interface disable

Sascha Bischoff · Aug 11, 2026 · 1 files

380e3f23bb9b

tools build: Only probe the compiler at parse time when it is installed

Arnaldo Carvalho de Melo · Aug 11, 2026 · 2 files

bc3fdd6adb99

perf build: Add install-build-deps framework to install devel packages

Arnaldo Carvalho de Melo · Aug 11, 2026 · 2 files

9f83597eb571

perf build: install-build-deps: add Fedora devel package mapping

Arnaldo Carvalho de Melo · Aug 11, 2026 · 1 files

1331bb51069b

perf build: install-build-deps: add Ubuntu devel package mapping

Arnaldo Carvalho de Melo · Aug 11, 2026 · 2 files

01c7a389d1ff

perf build: install-build-deps: add Debian devel package mapping

Arnaldo Carvalho de Melo · Aug 11, 2026 · 2 files

b60f6bc128b9

perf build: Remove leftover feature tests for removed cxx and clang support

Arnaldo Carvalho de Melo · Aug 11, 2026 · 2 files

d17c5b770972

perf build: install-build-deps: add RHEL family devel package mapping

Arnaldo Carvalho de Melo · Aug 11, 2026 · 1 files

328affc639ce

irqchip/gic-v5: Check get_logical_index() return value in MADT IAFFID parsing

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

aa079dbf4c25

irqchip/gic-v5: Check for NULL LPI domain on domain teardown

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

79b115c2a292

irqchip/gic-v5: Disable IRSes on probe failures

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

183750b276c2

irqchip/gic-v5: Fix gicv5_init_common() error paths

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

dc2eae1620bd

irqchip/gic-v5: Release IRS iomem region on driver init failure

Lorenzo Pieralisi · Aug 12, 2026 · 2 files

9dfcc2187282

irqchip/gic-v5: Use logical cpu 0 irs_data for dynamic IST allocation

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

a1ee1a1ca75b

irqchip/gic-v5: Defer default SPI and LPI IAFFID programming

Lorenzo Pieralisi · Aug 12, 2026 · 1 files

666a32836c8f

sched/topology: Add a cpus_read_lock to rebuild_sched_domains()

Sebastian Andrzej Siewior · Aug 13, 2026 · 1 files

2de727471b3b

exfat: keep FITRIM within the requested range

Yang Wen · Aug 13, 2026 · 1 files

51a7a9ddcb3e

perf dso: Guard against errno==0 when dso__get_filename() returns NULL

Arnaldo Carvalho de Melo · Aug 13, 2026 · 1 files

10f452dc2de4

perf dso: Guard close() against invalid fd in dso__decompress_kmodule_path()

Arnaldo Carvalho de Melo · Aug 13, 2026 · 1 files

075d2c32353d

perf dso: Use stored fd error instead of stale errno in file_read() and file_size()

Arnaldo Carvalho de Melo · Aug 13, 2026 · 1 files

390a9461cd73

perf dso: Guard against cache underflow on short reads in dso_cache__memcpy()

Arnaldo Carvalho de Melo · Aug 13, 2026 · 1 files

62972e5644e4

perf dso: Replace assert with runtime check in dso__read_symbol()

Arnaldo Carvalho de Melo · Aug 13, 2026 · 1 files

2d85e13c5526

perf vendor events arm64: fix swapped MetricGroup for Tegra410 L1 prefetcher metrics

Saurav Sachidanand · Aug 13, 2026 · 1 files

9453bc6a69ef

perf vendor events arm64: Fix Tegra410 Olympus event 0x0197

Besar Wicaksono · Aug 13, 2026 · 1 files

490529f66801

exfat: replace truncate_lock with inode_lock

Chi Zhiling · Aug 17, 2026 · 4 files

734150717a7b

perf c2c: extract shared data structures into util/c2c.h

Jiebin Sun · Aug 17, 2026 · 4 files

e9ffc77f3ff3

perf c2c: add function view model skeleton

Jiebin Sun · Aug 17, 2026 · 2 files

1b4eb7a2ddcd

perf c2c: add column rendering for function view

Jiebin Sun · Aug 17, 2026 · 1 files

e88866243236

perf c2c: add HPP list parsing for function view columns

Jiebin Sun · Aug 17, 2026 · 1 files

929c4ebb542f

perf c2c: add function view stats merge and memory management

Jiebin Sun · Aug 17, 2026 · 1 files

473a047faa8f

perf c2c: add function view hierarchy entry creation

Jiebin Sun · Aug 17, 2026 · 2 files

776356199431

perf c2c: build and finalize the function view hierarchy

Jiebin Sun · Aug 17, 2026 · 2 files

1975d27d1192

perf c2c: add function view browser UI and cacheline detail

Jiebin Sun · Aug 17, 2026 · 4 files

16e113d46d29

perf c2c: document function view in perf-c2c man page

Jiebin Sun · Aug 17, 2026 · 1 files

c793bbfc4a0a

timer: Keep debugobjects state consistent in migrate_timer_list()

Thomas Gleixner · Aug 17, 2026 · 1 files

50b10bd0c2d7

irqchip/renesas-rzg2l: Fix loss of interrupt

Biju Das · Aug 18, 2026 · 1 files

b76eee9c2157

irqchip/ast2700-intc: Avoid allocating in the irq_domain activate() callback

Ryan Chen · Aug 19, 2026 · 2 files

23906f3a1686

sched/fair: Floor tg_cpus() at 1

Jake Steinman · Aug 19, 2026 · 1 files

e1e3a0ab69c6

ARM: Fix get_cycles() after delay_read_timer() conversion

Nathan Chancellor · Aug 19, 2026 · 1 files

d8aa5dd97944

futex: Fix might_sleep() warning in futex_pivot_pending()

Peter Zijlstra · Aug 20, 2026 · 5 files

58b34b72b64b

irqchip/irq-realtek-rtl: Use readl_be()/writel_be() instead of readl()/writel()

Rustam Adilov · Aug 20, 2026 · 1 files