From d7bccd30b388650dc50996a1f81efb9698d0781b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 12 Jan 2026 12:37:14 +0100 Subject: pkg/aflow/flow/assessment: add UAF moderation workflow Add workflow that can be used for moderation of UAF bugs (consistent/actionable reports), such UAF bugs can be upstreammed automatically, even if they happened only once and don't have a reproducer. --- pkg/report/crash/types.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/report') diff --git a/pkg/report/crash/types.go b/pkg/report/crash/types.go index 915f3b4ae..2a5717d95 100644 --- a/pkg/report/crash/types.go +++ b/pkg/report/crash/types.go @@ -79,6 +79,10 @@ func (t Type) IsKASAN() bool { KASANUseAfterFreeRead, KASANUseAfterFreeWrite, KASANInvalidFree, KASANUnknown}, t) } +func (t Type) IsUAF() bool { + return slices.Contains([]Type{KASANUseAfterFreeRead, KASANUseAfterFreeWrite}, t) +} + func (t Type) IsKMSAN() bool { return slices.Contains([]Type{ KMSANUninitValue, KMSANInfoLeak, KMSANUseAfterFreeRead, KMSANUnknown}, t) -- cgit mrf-deployment