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.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"kernel/events/core.c",
"kernel/events/internal.h",
"kernel/events/ring_buffer.c"
],
"versions": [
{
"version": "45bfb2e50471",
"lessThan": "7882923f1cb8",
"status": "affected",
"versionType": "git"
},
{
"version": "45bfb2e50471",
"lessThan": "52d13d224fdf",
"status": "affected",
"versionType": "git"
},
{
"version": "45bfb2e50471",
"lessThan": "9dc7ad2b6777",
"status": "affected",
"versionType": "git"
},
{
"version": "45bfb2e50471",
"lessThan": "c4b69bee3f4e",
"status": "affected",
"versionType": "git"
},
{
"version": "45bfb2e50471",
"lessThan": "b9b6882e243b",
"status": "affected",
"versionType": "git"
},
{
"version": "45bfb2e50471",
"lessThan": "2ab9d830262c",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"kernel/events/core.c",
"kernel/events/internal.h",
"kernel/events/ring_buffer.c"
],
"versions": [
{
"version": "4.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.1",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.226",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.167",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.110",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.51",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10.10",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.11",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/2ab9d830262c132ab5db2f571003d80850d56b2a
git.kernel.org/stable/c/52d13d224fdf1299c8b642807fa1ea14d693f5ff
git.kernel.org/stable/c/7882923f1cb88dc1a17f2bf0c81b1fc80d44db82
git.kernel.org/stable/c/9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d
git.kernel.org/stable/c/b9b6882e243b653d379abbeaa64a500182aba370
git.kernel.org/stable/c/c4b69bee3f4ef76809288fe6827bc14d4ae788ef