perf/aux: Fix AUX buffer serialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 45bfb2e50471abbbfd83d40d28c986078b0d24ff · < 2ab9d830262c132ab5db2f571003d80850d56b2a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
perf/aux: Fix AUX buffer serialization
Ole reported that event->mmap_mutex is strictly insufficient to serialize the AUX buffer, add a per RB mutex to fully serialize it.
Note that in the lock order comment the perf_event::mmap_mutex order was already wrong, that is, it nesting under mmap_lock is not new with this patch.
From the CVE record · Linux
The Linux kernel’s perf AUX buffer is not fully serialized by event->mmap_mutex. This is classified as an out-of-bounds write; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with perf AUX buffer support should check their kernel versions; affected versions are not specified.