GHSA-7w7v-hmqg-8956
Record from GitHub Advisory Database · Published May 14, 2022
On Linux running on PowerPC hardware (Power8 or later) a user process can craft a signal frame and then do a sigreturn so that the kernel will take an exception (interrupt), and use the r1 value *from the signal frame* as the kernel stack pointer. As part of the exception entry the content of the signal frame is written to the kernel stack, allowing an attacker to overwrite arbitrary locations with arbitrary values. The exception handling does produce an oops, and a panic if panic_on_oops=1, but only after kernel memory has been over written. This flaw was introduced in commit: "5d176f751ee3 (powerpc: tm: Enable transactional memory (TM) lazily for userspace)" which was merged upstream into v4.9-rc1. Please note that kernels built with CONFIG_PPC_TRANSACTIONAL_MEM=n are not vulnerable.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-qemu-6.18 | Chainguard | 6.18.10-r0 |
| linux-vmware-6.18 | Chainguard | 6.18.10-r0 |
| linux-qemu-melange | Chainguard | 6.18.16-r0 |
| linux-vmware-6.12 | Chainguard | 6.12.71-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | linux-azure-generic | * |
| chainguard | linux-qemu-6.18 | 0 |
| chainguard | linux-azure-6.12 | * |
| chainguard | linux-vmware-generic | * |
| chainguard | linux-aws-6.12 | * |
| chainguard | linux-qemu-generic | * |
| chainguard | linux-qemu-6.12 | * |
| chainguard | linux-vmware-6.18 | 0 |
| chainguard | linux-gcp-6.12 | * |
| chainguard | linux | * |
| chainguard | linux-qemu-melange | 0 |
| chainguard | linux-gcp-6.18 | * |
| chainguard | linux-vmware-6.12 | 0 |
| chainguard | linux-gcp-generic | * |
| chainguard | linux-aws-generic | * |
| chainguard | linux-qemu-rc | * |
| chainguard | linux-aws-6.18 | * |
| chainguard | linux-azure-6.18 | * |
Timeline
- May 14, 2022 CVE Published
- Apr 9, 2026 Security Advisory
- Apr 29, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-7w7v-hmqg-8956
vulnetix vdb fixes GHSA-7w7v-hmqg-8956
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-7w7v-hmqg-8956/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart