Harden two user-event field validation boundaries found with KASAN.  The
first patch enforces the minimum storage required for a dynamic cpumask.
The second rejects field layouts whose accumulated offsets overflow or no
longer fit the signed fields used downstream.

Yifan Zhang (2):
  tracing/user_events: validate dynamic cpumask size
  tracing/user_events: reject overflowing field offsets

 kernel/trace/trace_events_user.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

-- 
2.39.5 (Apple Git-154)

Reply via email to