CVE-2026-99016
published high CVSS 3.1 · 7.8riscv: futex: untag the user pointer before the atomic access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2e1743085887ba3f553c2bb472a75a3ff744b242 to < 2e5c80bbc062a8dda33e687ebf7be8f074ee4f7d · 2e1743085887ba3f553c2bb472a75a3ff744b242 to < 8e48d8d51ab37b7decfbff3e2844e027a52ad6ea · 2e1743085887ba3f553c2bb472a75a3ff744b242 to < 405290be962b32eec842776fbe3bdf81f15b1676 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.2.11 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-43-generic-64k | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-headers-7.0.0-43-generic-64k | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-43 | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-43 | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-43 | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-image-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-43-generic-64k | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-lib-rust-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-modules-7.0.0-43-generic-64k | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-tools-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-tools-7.0.0-43-generic | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | noble | linux-tools-7.0.0-43-generic-64k | Advisory build | 7.0.0-43.43~24.04.1 | USN-9018-2 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-43.43 | USN-9018-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-43.43 | USN-9018-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1017.18 | USN-9018-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18 | USN-9018-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.18 | USN-9018-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18 | USN-9018-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1020.21 | USN-9019-1 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21 | USN-9019-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1019.19 | USN-9020-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19 | USN-9020-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1019 | Advisory build | 7.0.0-1019.19 | USN-9020-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19 | USN-9020-1 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.21 | USN-9019-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: riscv: futex: untag the user pointer before the atomic access access_ok() checks untagged_addr(uaddr), but arch_futex_atomic_op_inuser() and futex_atomic_cmpxchg_inatomic() hand the raw uaddr to the inline asm amoswap/amoadd/.../lr.w+sc.w through the "+m" (*uaddr) operand. When the tagged address ABI is enabled (CONFIG_RISCV_ISA_SUPM, prctl PR_SET_TAGGED_ADDR_CTRL with PMLEN != 0), those two addresses differ: a user pointer whose top PMLEN bits hold a tag passes access_ok() after untagging, but the atomic is then performed on the still-tagged raw address. Supervisor-mode data accesses are not subject to the U-mode pointer masking (that is governed by menvcfg.PMM, which the kernel does not set), so hardware does not strip the tag for the kernel's own access. With Sv57 and PMLEN=16 the tag bits overlap the canonical-address bits, so a tagged pointer can name a canonical kernel virtual address (e.g. in the linear map) whose untagged form is a valid user address. An unprivileged process can thus make FUTEX_WAKE_OP perform an atomic read-modify-write on an arbitrary kernel address, with the matching FUTEX_OP_CMP_* result serving as a read oracle. get_user()/put_user()/raw_copy_{to,from}_user() already untag the pointer after the access_ok() check; do the same in the futex helpers so the atomic operates on the address that was actually validated.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - `sys_futex(FUTEX_WAKE_OP_PRIVATE)` follows `do_futex()` → `futex_wake_op()` → `futex_atomic_op_inuser()` → the patched `arch_futex_atomic_op_inuser()` using attacker-supplied `uaddr2`; no network data reaches this local syscall path. AC:L - On an affected Sv57 system supporting PMLEN=16, the attacker deterministically enables tagged addresses with `prctl()` and supplies a canonical linear-map pointer; no race, victim state, or second actor is required. PR:L - `sys_prctl(PR_SET_TAGGED_ADDR_CTRL)` and `sys_futex()` contain no capability or credential checks, so an ordinary unprivileged process can enable PMLEN=16 and invoke `FUTEX_WAKE_OP_PRIVATE`. UI:N - The attacking process performs both `prctl()` setup and the futex operations itself; no victim must open, mount, approve, or otherwise act. S:U - The AMO instructions corrupt the host kernel's own linear-map memory, producing ordinary local kernel privilege escalation without crossing a VM, IOMMU, or separate security authority. C:H - The raw-address AMO returns the prior 32-bit kernel value to `futex_atomic_op_inuser()`, whose `FUTEX_OP_CMP_*` result can be observed through controlled waiters, providing a repeatable read oracle over direct-mapped physical memory. I:H - `arch_futex_atomic_op_inuser()` executes `amoswap`, `amoadd`, `amoor`, `amoand`, or `amoxor` at the chosen kernel address; SET followed by shifted OR operations permits controlled 32-bit kernel-memory writes and privilege escalation. A:H - The same chosen-address AMOs can overwrite direct-mapped kernel objects, credentials, or page-table memory; corrupting such live kernel state can reliably cause an oops, panic, or complete system failure.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2e1743085887ba3f553c2bb472a75a3ff744b242 to < 2e5c80bbc062a8dda33e687ebf7be8f074ee4f7d (affected · git)2e1743085887ba3f553c2bb472a75a3ff744b242 to < 8e48d8d51ab37b7decfbff3e2844e027a52ad6ea (affected · git)2e1743085887ba3f553c2bb472a75a3ff744b242 to < 405290be962b32eec842776fbe3bdf81f15b1676 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.2.11 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
riscv: futex: untag the user pointer before the atomic access
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74a8c905fb5737c6f23c13426d280c82bcdb351ca269034544f3ca0f89a7dfd8
- Ingested
- 24 Oct 2026, 14:14:52 UTC
- Source record
- Official CVE record