Bug 215019 - KASAN: sanitize per-cpu allocations
Summary: KASAN: sanitize per-cpu allocations
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Sanitizers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: MM/Sanitizers virtual assignee
Depends on:
Reported: 2021-11-14 21:15 UTC by Andrey Konovalov
Modified: 2021-11-14 21:15 UTC (History)
1 user (show)

See Also:
Kernel Version: upstream
Regression: No
Bisected commit-id:


Description Andrey Konovalov 2021-11-14 21:15:08 UTC
Per-CPU allocator (mm/percpu.c) is missing any kind of KASAN annotations. This likely means that KASAN can't detect overflows between per-CPU variables or __alloc_percpu() allocations. This needs to be investigated, and appropriate annotations need to be added.

Note You need to log in before you can comment on or make changes to this bug.