Skip to content
Info disclosure Advisory Intermediate CVE-2021-21781

Linux Kernel Arm SIGPAGE information disclosure vulnerability

The ARM sigpage in the Linux kernel is allocated without zeroing, so uninitialized kernel memory remains accessible. Any userland process can read its own sigpage mapping to leak kernel data that persists until reboot.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Medium 4.0 View original

An information disclosure vulnerability exists in the ARM SIGPAGE functionality of Linux Kernel v5.4.66 and v5.4.54. The latest version (5.11-rc4) seems to still be vulnerable.

Lilith >_>, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The kernel allocates the sigpage with alloc_pages but never zeroes it, leaving uninitialized memory that is then mapped into every process.

Impact

An attacker with local access could read kernel memory contents that do not change until the device reboots, potentially learning sensitive information.

What the attacker needed

Local access to an ARMv7 device; ability to run a userland process

The fix

The kernel should zero the allocated page before copying the signal return code into it.

How it was found

  1. Run a process on an ARMv7 system and inspect its memory map to find the [sigpage] region.
  2. Read the contents of the [sigpage] memory region from within the process.
  3. Observe that the page contains uninitialized kernel data outside the copied signal return code.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a program starts, the operating system gives it some memory pages. One special page, called the sigpage, is used for handling signals (like when you press Ctrl+C). The kernel forgot to clear this page before giving it to programs, so old data from the kernel stays there. Any program can read that page and see leftover kernel information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Lilith >_>

View all

148 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.