7a9cdebdcc17 ("mm: get rid of vmacache_flush_all() entirely") removed the VMACACHE_FULL_FLUSHES statistics, but didn't remove the corresponding entry in vmstat_text. This causes an out-of-bounds access in vmstat_show(). Luckily this only affects kernels with CONFIG_DEBUG_VM_VMACACHE=y, which is probably very rare.
Unified · Split
| @@ -1283,7 +1283,6 @@ const char * const vmstat_text[] = { · 1282 unmodified lines | ||
| 1283 | 1283 | #ifdef CONFIG_DEBUG_VM_VMACACHE |
| 1284 | 1284 | "vmacache_find_calls", |
| 1285 | 1285 | "vmacache_find_hits", |
| 1286 | − "vmacache_full_flushes", | |
| 1287 | 1286 | #endif |
| 1288 | 1287 | #ifdef CONFIG_SWAP |
| 1289 | 1288 | "swap_ra", |