diff options
| author | Andrew Griffiths <andrew@calif.io> | 2026-09-14 07:55:01 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-16 15:34:31 +0000 |
| commit | 3484217cc47c1f77d2be2ed0e012b870d1cd3dca (patch) | |
| tree | f0021f3ab6c7be2d590b0d82fd3032e5262e546e /sys/dev/ixgbe | |
| parent | 5d0b87669a91244e330a35fc973e6c60f92f6d1f (diff) | |
The kern.proc.kstack handler allocates its output and stack buffers
before deliberately checking p_candebug again under the process lock.
If trace-control state changes between authorization checks, the failure
path balances the process and exec state but leaks both buffers.
Submitted by calif.io for the OpenAI Patch The Planet program
Signed-off-by: Andrew Griffiths <andrew@calif.io>
Fixes: 8b5abd9027b8 ("kern_proc.c: disallow execve around sysctl kern.proc.kstacks")
Reviewed by: markj
MFC after: 1 week
Diffstat (limited to 'sys/dev/ixgbe')
0 files changed, 0 insertions, 0 deletions
