{"id":"CVE-2024-46713","state":"PUBLISHED","title":"perf/aux: Fix AUX buffer serialization","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/aux: Fix AUX buffer serialization\n\nOle reported that event->mmap_mutex is strictly insufficient to\nserialize the AUX buffer, add a per RB mutex to fully serialize it.\n\nNote that in the lock order comment the perf_event::mmap_mutex order\nwas already wrong, that is, it nesting under mmap_lock is not new with\nthis patch.","publishedAt":"2024-09-13T14:49:13.691Z","updatedAt":"2026-08-05T11:38:06.321Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"7882923f1cb88dc1a17f2bf0c81b1fc80d44db82","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"52d13d224fdf1299c8b642807fa1ea14d693f5ff","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"c4b69bee3f4ef76809288fe6827bc14d4ae788ef","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"b9b6882e243b653d379abbeaa64a500182aba370","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"2ab9d830262c132ab5db2f571003d80850d56b2a","versionType":"git"}],"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"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"5.10.226","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.167","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.110","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.51","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.10","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"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"]}],"references":["https://git.kernel.org/stable/c/7882923f1cb88dc1a17f2bf0c81b1fc80d44db82","https://git.kernel.org/stable/c/52d13d224fdf1299c8b642807fa1ea14d693f5ff","https://git.kernel.org/stable/c/9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d","https://git.kernel.org/stable/c/c4b69bee3f4ef76809288fe6827bc14d4ae788ef","https://git.kernel.org/stable/c/b9b6882e243b653d379abbeaa64a500182aba370","https://git.kernel.org/stable/c/2ab9d830262c132ab5db2f571003d80850d56b2a","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/46xxx/CVE-2024-46713.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-46713","state":"PUBLISHED","datePublished":"2024-09-13T14:49:13.691Z","dateUpdated":"2026-08-05T11:38:06.321Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-09-11T15:12:18.254Z"},"containers":{"cna":{"title":"perf/aux: Fix AUX buffer serialization","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/aux: Fix AUX buffer serialization\n\nOle reported that event->mmap_mutex is strictly insufficient to\nserialize the AUX buffer, add a per RB mutex to fully serialize it.\n\nNote that in the lock order comment the perf_event::mmap_mutex order\nwas already wrong, that is, it nesting under mmap_lock is not new with\nthis patch."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"7882923f1cb88dc1a17f2bf0c81b1fc80d44db82","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"52d13d224fdf1299c8b642807fa1ea14d693f5ff","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"c4b69bee3f4ef76809288fe6827bc14d4ae788ef","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"b9b6882e243b653d379abbeaa64a500182aba370","versionType":"git"},{"version":"45bfb2e50471abbbfd83d40d28c986078b0d24ff","status":"affected","lessThan":"2ab9d830262c132ab5db2f571003d80850d56b2a","versionType":"git"}],"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"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"5.10.226","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.167","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.110","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.51","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.10","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"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"]}],"references":[{"url":"https://git.kernel.org/stable/c/7882923f1cb88dc1a17f2bf0c81b1fc80d44db82"},{"url":"https://git.kernel.org/stable/c/52d13d224fdf1299c8b642807fa1ea14d693f5ff"},{"url":"https://git.kernel.org/stable/c/9dc7ad2b67772cfb94ceb3b0c9c4023c2463215d"},{"url":"https://git.kernel.org/stable/c/c4b69bee3f4ef76809288fe6827bc14d4ae788ef"},{"url":"https://git.kernel.org/stable/c/b9b6882e243b653d379abbeaa64a500182aba370"},{"url":"https://git.kernel.org/stable/c/2ab9d830262c132ab5db2f571003d80850d56b2a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is triggered purely through the local perf_event_open(2) syscall plus mmap/munmap on the resulting file descriptor; there is no network or remote path to the perf AUX buffer code.\nAC:L - The attacker controls both sides of the race, spawning two threads that concurrently mmap and close the same shared AUX buffer (linked via PERF_EVENT_IOC_SET_OUTPUT), and can retry freely, so triggering the unserialized window is reliable.\nPR:L - An unprivileged local user can open an AUX-capable per-task perf event (e.g. self-tracing) under common perf_event_paranoid settings and set up the shared ring buffer; no real root or init-namespace admin capability is required.\nUI:N - The attacker performs all syscalls itself; no victim action or interaction is needed to trigger the race.\nS:U - The corruption stays within the kernel's own security authority; there is no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The race yields a use-after-free of freed AUX kernel heap pages, which can be reallocated and read back, giving an attacker control over freed object contents and enabling kernel memory disclosure.\nI:H - The UAF/double-free on AUX pages and rb refcount corruption provides a write primitive over reclaimed kernel heap memory, exploitable via heap grooming for arbitrary writes and control-flow hijacking.\nA:H - The use-after-free and refcount underflow reliably corrupt kernel memory, causing oops/panic and full denial of service even when not fully weaponized."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:38:06.321Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.10.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.15.167"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.6.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.10.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T14:58:57.910208Z","id":"CVE-2024-46713","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-29T14:59:13.207Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:16:42.290Z"}}]}}}