Commit fe5f6bf
committed
Fix ringbuf reserve size mismatch in uprobe_finish_op
bpf_ringbuf_reserve() was using sizeof(struct op_v) but the code
copies a struct client_op_v into the reserved buffer. With the
acting[] array expansion this became a detectable OOB write caught
by the BPF verifier.
Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>1 parent ae72814 commit fe5f6bf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments