diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-09 22:17:56 +0200 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-09 22:21:53 +0200 |
| commit | a4553044d1af13f82806524d79e2071efc7988a0 (patch) | |
| tree | 9b59b770e7b10f98e483d06401b4292a518097f5 /tools/perf/scripts/python/flamegraph.py | |
| parent | c3d5ef291a2a335d2e33fe75b3b3806fdbd86ad1 (diff) | |
| parent | 12556c3198328df38b3444978391141ad6f7092b (diff) | |
Merge branch 'bpf-bound-rdonly-rdwr_buf_size-kfunc-return-size'
Nicholas Dudar says:
====================
bpf: bound rdonly/rdwr_buf_size kfunc return size
check_kfunc_args() stores a kfunc's rdonly_buf_size/rdwr_buf_size
argument into a u64 that check_kfunc_call() later narrows into the
returned register's u32 mem_size, so a value above U32_MAX truncates
instead of being rejected. Fix it and add a selftest for coverage.
Changelog:
----------
v1 -> v2 (v1 was a private report to security@kernel.org)
* Split the fix and selftest into separate patches.
* Target bpf-next instead of bpf.
====================
Link: https://patch.msgid.link/20260709155837.1879230-1-main.kalliope@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
