summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorTaeyang Lee <0wn@theori.io>2026-10-16 02:19:55 +0900
committerSteven Rostedt <rostedt@goodmis.org>2026-10-15 18:07:15 -0400
commitc47a7b11bcb3d45e29723afcf6336866476b1d08 (patch)
tree96d4c839922f89cd69b9c987d0b16dab0cf95b77 /scripts/basic
parent803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445 (diff)
downloadlinux-c47a7b11bcb3d45e29723afcf6336866476b1d08.tar.gz
linux-c47a7b11bcb3d45e29723afcf6336866476b1d08.zip
tracing: Check operator stack capacity before pushing
predicate_parse() uses the first operator stack entry before processing any opening parentheses. A push then increments top before writing. The existing check still permits that write when top already points to the last allocated entry, which can access beyond the operator stack. Reject the push when top reaches the last allocated entry. Cc: stable@vger.kernel.org Fixes: 39f7c41c908b ("tracing/filters: Enable filtering a cpumask field by another cpumask") Link: https://patch.msgid.link/atELO9L0I9kg5CpC@Taeyangs-MacBook-Pro.local Signed-off-by: Taeyang Lee <0wn@theori.io> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions