Linux 7.5 Queues an Option to Block /proc/kcore and Declares AMDXDNA 1.0

Linux 7.5 Queues an Option to Block /proc/kcore and Declares AMDXDNA 1.0

Material is accumulating for Linux 7.5 while 7.4 is still in release candidates. Two items stand out.

Blocking /proc/kcore

A new option lets a kernel be built with /proc/kcore access disabled entirely.

/proc/kcore presents the kernel’s own memory as an ELF core file. It is genuinely useful for debugging a live kernel, and it is also a direct read of kernel memory, which makes it a disclosure path worth closing on systems that will never debug anything.

# what it is
ls -l /proc/kcore
# -r-------- 1 root root 140737477881856 /proc/kcore

# who can read it, currently
stat -c '%A %U:%G' /proc/kcore

It is already root-only and gated by CONFIG_PROC_KCORE, so this is not a new hole being closed. What the option adds is the ability to remove the interface without dropping the rest of procfs, which is what a hardened build wants. Distributions that enable it for debugging today could ship a hardened variant without it.

The value is specifically against an attacker who has reached root but not yet kernel code execution. Reading kernel memory from there leaks KASLR offsets, credentials and keys, so removing the easiest route is worthwhile defence in depth. Our proc filesystem guide covers what else lives there, and sysctl tuning covers the related kptr_restrict.

Note the consequence: with it disabled, tools that read live kernel memory through that path stop working. perf with kernel symbols and some crash analysis workflows are the ones to check, per our perf guide.

AMDXDNA 1.0

The AMDXDNA driver, which handles AMD’s neural processing units, is declaring version 1.0. More AIE4 enablement is also queued, continuing the Ryzen AI 400 work that landed in 7.4.

A 1.0 declaration on a kernel driver is a statement about the userspace interface rather than about feature completeness. It signals that the ioctls and structures are considered settled enough to be depended on, which is what userspace runtimes need before they will commit to supporting the hardware properly.

That matters more than it sounds for NPUs on Linux, where the usual difficulty has not been the kernel driver but the absence of a stable interface for anything above it to target. Our running LLMs locally guide covers the current state of what is actually usable.

Timing

7.5’s merge window opens after 7.4 ships, expected in late December, which puts the opening in late December or early January and the release around February.

As always, material queued this early can be dropped, reworked or deferred. A patch in a subsystem tree is not a patch in Linus’s tree.

Background reading

Explainers for the concepts behind this story.