# CVE-2026-99092: riscv: patch: fix handling of bpf-jit execmem addresses

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-26T14:52:00.860Z
- **Modified:** 2026-10-26T15:16:48.110Z

## Who should check

- Anyone running Linux \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 562a35b9e0b3d9483d9472995219cadb3592db3d; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 9e8fc7972b398e9dc2415ece283d8f64edac3858; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< f71d6ea3843c8038c431c2699482f246aea37ca0; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< a510e1ae8c9030750c2edf7b0bc9b186cd8c7a06
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

riscv: patch: fix handling of bpf-jit execmem addresses

Commit 8718e5a3090b ("riscv: patch: skip fixmap mapping when kernel text
is already writable") gated the core\_kernel\_text() branch of patch\_map()
on CONFIG\_STRICT\_KERNEL\_RWX, and explicitly left the vmalloc branch
unchanged. That branch has a separate problem.

That branch only creates a temporary writable fixmap alias when
CONFIG\_STRICT\_MODULE\_RWX is enabled, and otherwise assumes the target is
directly writable and returns the address unchanged. That assumption no
longer holds: bpf\_prog\_pack\_alloc calls set\_memory\_rox() on every pack
unconditionally in alloc\_new\_pack(), independently of any
CONFIG\_STRICT\_\*\_RWX option, so BPF text in the vmalloc area is read-only
regardless of what CONFIG\_STRICT\_MODULE\_RWX says.

With CONFIG\_STRICT\_MODULE\_RWX=n, patch\_map() returns the read-only
address directly, the subsequent copy\_to\_kernel\_nofault() takes a
page fault and returns -EFAULT. bpf\_arch\_text\_copy() turns that into
-EINVAL, which propagates through bpf\_jit\_binary\_pack\_finalize() to the
WARN\_ON() in bpf\_int\_jit\_compile() and leaves the program un-JITed.

Note that BPF cannot be fixed the way kprobes was in
commit bdc46e507b59 ("riscv: mm: make EXECMEM\_KPROBES writable without
CONFIG\_STRICT\_MODULE\_RWX"). EXECMEM\_BPF is already PAGE\_KERNEL, i.e.
writable at allocation time; the read-only mapping is established
afterwards by generic code in alloc\_new\_pack(), which arch code cannot
influence. The only place this can be handled is patch\_map().

This is the same problem that was fixed on arm64 by commit b1480ed230ac
("arm64: patching: fix handling of execmem addresses"), and the fix is
the same: CONFIG\_EXECMEM is what actually tracks whether the vmalloc
area can hold executable memory that needs a temporary alias to be
written. CONFIG\_BPF\_JIT, CONFIG\_KPROBES and CONFIG\_MODULES all select
it.

Note that this is not limited to CONFIG\_MODULES=n. Unlike arm64, riscv
selects CONFIG\_ARCH\_OPTIONAL\_KERNEL\_RWX, so CONFIG\_STRICT\_MODULE\_RWX can
be disabled with CONFIG\_MODULES=y as well, and the bug is reachable in
that configuration too.

The !CONFIG\_MMU build is unaffected: it has its own \_\_patch\_insn\_set()
and \_\_patch\_insn\_write() implementations and never calls patch\_map().

## Affected and fixed versions

- Linux: \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 562a35b9e0b3d9483d9472995219cadb3592db3d; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 9e8fc7972b398e9dc2415ece283d8f64edac3858; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< f71d6ea3843c8038c431c2699482f246aea37ca0; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< a510e1ae8c9030750c2edf7b0bc9b186cd8c7a06 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99092. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99092.md
Affected: Linux >= 2c9e5d4a008293407836d29d35dfd4353615bd2f, < 562a35b9e0b3d9483d9472995219cadb3592db3d; >= 2c9e5d4a008293407836d29d35dfd4353615bd2f, < 9e8fc7972b398e9dc2415ece283d8f64edac3858; >= 2c9e5d4a008293407836d29d35dfd4353615bd2f, < f71d6ea3843c8038c431c2699482f246aea37ca0; >= 2c9e5d4a008293407836d29…
Fixed in: Linux 562a35b9e0b3d9483d9472995219cadb3592db3d, Linux 9e8fc7972b398e9dc2415ece283d8f64edac3858

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99092 being exploited?

There is no confirmed exploitation: CVE-2026-99092 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99092?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99092?

Linux \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 562a35b9e0b3d9483d9472995219cadb3592db3d; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< 9e8fc7972b398e9dc2415ece283d8f64edac3858; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< f71d6ea3843c8038c431c2699482f246aea37ca0; \>= 2c9e5d4a008293407836d29d35dfd4353615bd2f, \< a510e1ae8c9030750c2edf7b0bc9b186cd8c7a06; Linux 6.10.

### Is there a fix for CVE-2026-99092?

Yes. Fixed in Linux 562a35b9e0b3d9483d9472995219cadb3592db3d, Linux 9e8fc7972b398e9dc2415ece283d8f64edac3858. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99092?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/562a35b9e0b3d9483d9472995219cadb3592db3d>
- other: <https://git.kernel.org/stable/c/9e8fc7972b398e9dc2415ece283d8f64edac3858>
- other: <https://git.kernel.org/stable/c/f71d6ea3843c8038c431c2699482f246aea37ca0>
- other: <https://git.kernel.org/stable/c/a510e1ae8c9030750c2edf7b0bc9b186cd8c7a06>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99092>

HTML: <https://flawdb.com/CVE-2026-99092> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99092>
