<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T12:57:17.923126+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-21895</id>
    <title>CVE-2025-21895 — perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list</title>
    <updated>2026-10-04T12:57:17.924988+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list</p>
<p>Syskaller triggers a warning due to prev_epc-&gt;pmu != next_epc-&gt;pmu in
perf_event_swap_task_ctx_data(). vmcore shows that two lists have the same
perf_event_pmu_context, but not in the same order.</p>
<p>The problem is that the order of pmu_ctx_list for the parent is impacted by
the time when an event/PMU is added. While the order for a child is
impacted by the event order in the pinned_groups and flexible_groups. So
the order of pmu_ctx_list in the parent and child may be different.</p>
<p>To fix this problem, insert the perf_event_pmu_context to its proper place
after iteration of the pmu_ctx_list.</p>
<p>The follow testcase can trigger above warning:</p>
<p># perf record -e cycles --call-graph lbr -- taskset -c 3 ./a.out &amp;
 # perf stat -e cpu-clock,cs -p xxx // xxx is the pid of a.out</p>
<p>test.c</p>
<p>void main() {
        int count = 0;
        pid_t pid;</p>
<p>printf("%d running\n", getpid());
        sleep(30);
        printf("running\n");</p>
<p>pid = fork();
        if (pid == -1) {
                printf("fork error\n");
                return;
        }
        if (pid == 0) {
                while (1) {
                        count++;
                }
        } else {
                while (1) {
                        count++;
                }
        }
 }</p>
<p>The testcase first opens an LBR event, so it will allocate task_ctx_data,
and then open…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-21895"/>
  </entry>
</feed>
