CVE-2026-90195
riscv, bpf: Fix missing sign-ext for signed 1-byte and 2-byte kfunc args
Check your servers for CVE-2026-90195
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90195 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
riscv, bpf: Fix missing sign-ext for signed 1-byte and 2-byte kfunc args
On RV64, the ABI requires sign-extension for signed 1-byte and 2-byte kfunc args. However, the RV64 JIT currently does not perform sign-extension for such kfunc args.
Before commit 7ce090afbf72 ("bpf: Infer zext_dst based on static register liveness analysis"), state pruning could potentially omit zero-extension of 32-bit subregisters, which inadvertently masked the above issue by making the args appear as if they had been properly sign-extended. After that commit, the problem is exposed, causing the kfunc_call/kfunc_call_test4 selftest to fail.
Fix this by extending the existing sign-extension logic to handle signed 1-byte and 2-byte kfunc args as well.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.23% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 443574b033876c85a35de4c65c14f7fe092222b2, before 555fc6f1caf00ce7005e732b688da26c0dc3c5c5 affected from 443574b033876c85a35de4c65c14f7fe092222b2, before 801ae90f8ce099187e6224cec7d72d07a4df0324 affected from 443574b033876c85a35de4c65c14f7fe092222b2, before 71dbd143be598954ae103feadd12692aeb0f2f88 affected from 443574b033876c85a35de4c65c14f7fe092222b2, before f2aaa621591093cfe8224a25ef2f04a3b1e304b0
Other versions: unaffected
|
| Linux |
affected 6.9 unaffected before 6.9 unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90195 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90195
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90195
trivy image --scanners vuln IMAGE | grep CVE-2026-90195
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/555fc6f1caf00ce7005e732b688da26c0dc3c5c5 git.kernel.org
- https://git.kernel.org/stable/c/801ae90f8ce099187e6224cec7d72d07a4df0324 git.kernel.org
- https://git.kernel.org/stable/c/71dbd143be598954ae103feadd12692aeb0f2f88 git.kernel.org
- https://git.kernel.org/stable/c/f2aaa621591093cfe8224a25ef2f04a3b1e304b0 git.kernel.org
Source: the record CVE-2026-90195 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse