CVE-2026-99232: tracing/syscalls: Use copy_from_user for the faultable syscall buffer
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tracing/syscalls: Use copy_from_user for the faultable syscall buffer
syscall_copy_user_array() copies the buffer argument of faultable syscalls (write, pwrite64, ...) with __copy_from_user(), which skips access_ok(). Use copy_from_user() instead so a non-user address is rejected and the entry is recorded as faulted.
It could be a security concern for machines that trust perf a bit too much.
The Linux kernel CVE team has assigned CVE-2026-99232 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit baa031b7bd2ce7502339174a42974321859ecd6a and fixed in 7.2.14 with commit e33e2718c62a602001ab549642a1aed0be797105 Issue introduced in 6.19 with commit baa031b7bd2ce7502339174a42974321859ecd6a and fixed in 7.3.1 with commit 041d1a568a11a7ed7415ef1408d0c65041c1ad69
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99232
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/trace/trace_syscalls.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/e33e2718c62a602001ab549642a1aed0be797105 https://git.kernel.org/stable/c/041d1a568a11a7ed7415ef1408d0c65041c1ad69 https://git.kernel.org/stable/c/097fd0050089df17b032f2b852b9b65e548e342a