CVE-2026-53036
bpf, arm64: Fix off-by-one in check_imm signed range check
Check your servers for CVE-2026-53036
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-53036 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:
bpf, arm64: Fix off-by-one in check_imm signed range check
check_imm(bits, imm) is used in the arm64 BPF JIT to verify that a branch displacement (in arm64 instruction units) fits into the signed N-bit immediate field of a B, B.cond or CBZ/CBNZ encoding before it is handed to the encoder. The macro currently tests for (imm > 0 && imm >> bits) || (imm < 0 && ~imm >> bits) which admits values in [-2^N, 2^N) — effectively a signed (N+1)-bit range. A signed N-bit field only holds [-2^(N-1), 2^(N-1)), so the check admits one extra bit of range on each side.
In particular, for check_imm19(), values in [2^18, 2^19) slip past the check but do not fit into the 19-bit signed imm19 field of B.cond. aarch64_insn_encode_immediate() then masks the raw value into the 19-bit field, setting bit 18 (the sign bit) and flipping a forward branch into a backward one. Same class of issue exists for check_imm26() and the B/BL encoding. Shift by (bits - 1) instead of bits so the actual signed N-bit range is enforced.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.88% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 6ec3fec39fe4ac8910de5c30749e19e66f86a901 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 09789251d5d222fb60086a3645cd16799e29e6b4 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before a5dfeb3b61065039488342d43ae06d4729d955d4 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 7fd3b41260c6120e7b60164afea5d961af6224f9 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 6927f0d6794aa73318bbfa929f1ff6065b0620df affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 1a113b5497297871699cd498b1b83542e0db7f15 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before fb74defa1cca1a73177c0c761e641332e4f979a3 affected from e54bcde3d69d40023ae77727213d14f920eb264a, before 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.141 up to and including 6.6.* unaffected from 6.12.91 up to and including 6.12.* unaffected from 6.18.33 up to and including 6.18.* unaffected from 7.0.10 up to and including 7.0.* unaffected 7.1 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-53036 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53036
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-53036
trivy image --scanners vuln IMAGE | grep CVE-2026-53036
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/6ec3fec39fe4ac8910de5c30749e19e66f86a901 git.kernel.org
- https://git.kernel.org/stable/c/09789251d5d222fb60086a3645cd16799e29e6b4 git.kernel.org
- https://git.kernel.org/stable/c/a5dfeb3b61065039488342d43ae06d4729d955d4 git.kernel.org
- https://git.kernel.org/stable/c/7fd3b41260c6120e7b60164afea5d961af6224f9 git.kernel.org
- https://git.kernel.org/stable/c/6927f0d6794aa73318bbfa929f1ff6065b0620df git.kernel.org
- https://git.kernel.org/stable/c/1a113b5497297871699cd498b1b83542e0db7f15 git.kernel.org
- https://git.kernel.org/stable/c/fb74defa1cca1a73177c0c761e641332e4f979a3 git.kernel.org
- https://git.kernel.org/stable/c/1dd8be4ec722ce54e4cace59f3a4ba658111b3ec git.kernel.org
Source: the record CVE-2026-53036 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