freenode

← digests

Kernel: coverage work, XDP bounds, and an MTD flood

Kernel & Low-Level2026-12-04

Kernel discussion mixed infrastructure and security patches with a sharp process dispute over machine-generated submissions. Tracing attributes, memory reclaim, and perf test coverage also moved.

MTD maintainer tells submitter to stop the patch flood

A v5 series on retaining raw NAND chip and controller state across removal drew a public rebuke instead of ordinary review. The maintainer said the submitter had flooded the list with hundreds of LLM-generated MTD patches and asked them to stop.

AF_XDP zero-copy shared info leaves user-writable memory

A four-patch series keeps the shared info of AF_XDP zero-copy buffers in a kernel pool rather than in user-writable UMEM. The change is meant to prevent out-of-bounds reads and writes, and it includes related driver fixes.

Decoupling notrace from inline draws maintainer fire

A 22-patch series would stop attaching notrace to inline and require __always_inline where tracing must stay out. Peter Zijlstra called the approach unmaintainable, and Masami raised recursion concerns.

gcov and KCOV proposed under one coverage tree

A 19-patch series would unify gcov and KCOV under kernel/coverage/ and add Clang source-based coverage plus MC/DC. It also fixes interactions with noinstr code.

MGLRU adds frequency-guided promotion

v7 and v8 of the MGLRU-FG series add frequency-guided promotion, fix active working-set metrics, and drop a page flag. The series reports gains of 10 to 50 percent, and Andrew Morton tested v7.

Signed PE digest path gets a section-data bound

A patch bounds the section data range in pefile_digest_pe_contents after an out-of-bounds read. The fault occurs when data_addr or raw_data_size from a signed PE image points outside the buffer.

Perf coverage harness returns with fixes and tests

Arnaldo posted v13 of a perf coverage harness, along with seven fixes the harness found. The set also adds ten tests for data-type annotation and build features.