{
  "id": "CVE-2026-31528",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31528",
  "published_at": "2026-04-22T13:54:41.18Z",
  "title": "perf: Make sure to use pmu_ctx-\u003epmu for groups",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Make sure to use pmu_ctx-\u003epmu for groups\n\nOliver reported that x86_pmu_del() ended up doing an out-of-bound memory access\nwhen group_sched_in() fails and needs to roll back.\n\nThis *should* be handled by the transaction callbacks, but he found that when\nthe group leader is a software event, the transaction handlers of the wrong PMU\nare used. Despite the move_group case in perf_event_open() and group_sched_in()\nusing pmu_ctx-\u003epmu.\n\nTurns out, inherit uses event-\u003epmu to clone the events, effectively undoing the\nmove_group case for all inherited contexts. Fix this by also making inherit use\npmu_ctx-\u003epmu, ensuring all inherited counters end up in the same pmu context.\n\nSimilarly, __perf_event_read() should use equally use pmu_ctx-\u003epmu for the\ngroup case.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bd27568117664b8b3e259721393df420ed51f57b, \u003c 656f35b463995bee024d948440128230aacd81e1",
          "\u003e= bd27568117664b8b3e259721393df420ed51f57b, \u003c 3a696e84a8b1fafdd774bb30d62919faf844d9e4",
          "\u003e= bd27568117664b8b3e259721393df420ed51f57b, \u003c 35f7914e54fe7f13654c22ee045b05e4b6d8062b",
          "\u003e= bd27568117664b8b3e259721393df420ed51f57b, \u003c 4c759446046500a1a6785b25725725c3ff087ace",
          "\u003e= bd27568117664b8b3e259721393df420ed51f57b, \u003c 4b9ce671960627b2505b3f64742544ae9801df97"
        ],
        "fixed_in": [
          "656f35b463995bee024d948440128230aacd81e1",
          "3a696e84a8b1fafdd774bb30d62919faf844d9e4",
          "35f7914e54fe7f13654c22ee045b05e4b6d8062b",
          "4c759446046500a1a6785b25725725c3ff087ace",
          "4b9ce671960627b2505b3f64742544ae9801df97"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.2"
        ],
        "fixed_in": [
          "0",
          "6.6.131",
          "6.12.80",
          "6.18.21",
          "6.19.11",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 656f35b463995bee024d948440128230aacd81e1 or 3a696e84a8b1fafdd774bb30d62919faf844d9e4 or 35f7914e54fe7f13654c22ee045b05e4b6d8062b or 4c759446046500a1a6785b25725725c3ff087ace or 4b9ce671960627b2505b3f64742544ae9801df97 or later.",
      "Upgrade Linux to 0 or 6.6.131 or 6.12.80 or 6.18.21 or 6.19.11 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
