diff options
author | 2024-12-16 15:32:38 +0800 | |
---|---|---|
committer | 2024-12-23 21:59:15 -0500 | |
commit | 98feccbf32cfdde8c722bc4587aaa60ee5ac33f0 (patch) | |
tree | 9ed8e0d488b03c81e35c9b68ca4d60a16e80b3ec /scripts/lib/kdoc/kdoc_files.py | |
parent | tracing: Constify string literal data member in struct trace_event_call (diff) | |
download | linux-rng-98feccbf32cfdde8c722bc4587aaa60ee5ac33f0.tar.xz linux-rng-98feccbf32cfdde8c722bc4587aaa60ee5ac33f0.zip |
tracing: Prevent bad count for tracing_cpumask_write
If a large count is provided, it will trigger a warning in bitmap_parse_user.
Also check zero for it.
Cc: stable@vger.kernel.org
Fixes: 9e01c1b74c953 ("cpumask: convert kernel trace functions")
Link: https://lore.kernel.org/20241216073238.2573704-1-lizhi.xu@windriver.com
Reported-by: syzbot+0aecfd34fb878546f3fd@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=0aecfd34fb878546f3fd
Tested-by: syzbot+0aecfd34fb878546f3fd@syzkaller.appspotmail.com
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions