aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2022-10-25 14:06:48 +0800
committerSteffen Klassert <[email protected]>2022-10-27 16:35:12 +0200
commit7f57f8165cb6d2c206e2b9ada53b9e2d6d8af42f (patch)
tree854af173086b91c684f6e2998134924f206154ab /tools/perf/scripts/python/libxed.py
parent4b549ccce941798703f159b227aa28c716aa78fa (diff)
af_key: Fix send_acquire race with pfkey_register
The function pfkey_send_acquire may race with pfkey_register (which could even be in a different name space). This may result in a buffer overrun. Allocating the maximum amount of memory that could be used prevents this. Reported-by: [email protected] Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Sabrina Dubroca <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions