summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2026-06-05 13:20:54 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-06-05 14:18:20 -0700
commit41025f441fe6addd93d2c333a3a184331e8ef6cf (patch)
treef651af298fccf3cf7975d28ee8ecc3b76438e8b3 /include/linux/timerqueue.h
parent73d475dc6c13177fce0d9d892bff33299c8ad56a (diff)
bpf: Compare parent_id in refsafe() for REF_TYPE_PTR
refsafe() compared each reference's id and type but not its parent_id, so two states whose PTR references differ only in the parent object they were derived from could be wrongly treated as equivalent and pruned. Fix it by checking parent_id too. Fixes: 308c7a0ae885 ("bpf: Refactor object relationship tracking and fix dynptr UAF bug") Signed-off-by: Amery Hung <ameryhung@gmail.com> Link: https://lore.kernel.org/r/20260605202056.1780352-4-ameryhung@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions