# CVE-2026-53036: bpf, arm64: Fix off-by-one in check\_imm signed range check

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-193
- **Published:** 2026-06-24T16:29:43.449Z
- **Modified:** 2026-11-23T08:17:17.393Z

## Who should check

- Anyone running Linux \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6ec3fec39fe4ac8910de5c30749e19e66f86a901; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 09789251d5d222fb60086a3645cd16799e29e6b4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< a5dfeb3b61065039488342d43ae06d4729d955d4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 7fd3b41260c6120e7b60164afea5d961af6224f9; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6927f0d6794aa73318bbfa929f1ff6065b0620df; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1a113b5497297871699cd498b1b83542e0db7f15; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< fb74defa1cca1a73177c0c761e641332e4f979a3; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec
- Anyone running Linux 3.18

## 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.

## Affected and fixed versions

- Linux: \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6ec3fec39fe4ac8910de5c30749e19e66f86a901; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 09789251d5d222fb60086a3645cd16799e29e6b4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< a5dfeb3b61065039488342d43ae06d4729d955d4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 7fd3b41260c6120e7b60164afea5d961af6224f9; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6927f0d6794aa73318bbfa929f1ff6065b0620df; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1a113b5497297871699cd498b1b83542e0db7f15; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< fb74defa1cca1a73177c0c761e641332e4f979a3; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- Upgrade Linux to 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53036.md
Affected: Linux >= e54bcde3d69d40023ae77727213d14f920eb264a, < 6ec3fec39fe4ac8910de5c30749e19e66f86a901; >= e54bcde3d69d40023ae77727213d14f920eb264a, < 09789251d5d222fb60086a3645cd16799e29e6b4; >= e54bcde3d69d40023ae77727213d14f920eb264a, < a5dfeb3b61065039488342d43ae06d4729d955d4; >= e54bcde3d69d40023ae7772…
Fixed in: Linux 6ec3fec39fe4ac8910de5c30749e19e66f86a901, Linux 09789251d5d222fb60086a3645cd16799e29e6b4, Linux 7fd3b41260c6120e7b60164afea5d961af6224f9, Linux 6927f0d6794aa73318bbfa929f1ff6065b0620df, Linux 1a113b5497297871699cd498b1b83542e0db7f15, Linux 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec

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-53036 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6ec3fec39fe4ac8910de5c30749e19e66f86a901; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 09789251d5d222fb60086a3645cd16799e29e6b4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< a5dfeb3b61065039488342d43ae06d4729d955d4; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 7fd3b41260c6120e7b60164afea5d961af6224f9; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 6927f0d6794aa73318bbfa929f1ff6065b0620df; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1a113b5497297871699cd498b1b83542e0db7f15; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< fb74defa1cca1a73177c0c761e641332e4f979a3; \>= e54bcde3d69d40023ae77727213d14f920eb264a, \< 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec; Linux 3.18.

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

Yes. Fixed in Linux 6ec3fec39fe4ac8910de5c30749e19e66f86a901, Linux 09789251d5d222fb60086a3645cd16799e29e6b4, Linux 7fd3b41260c6120e7b60164afea5d961af6224f9, Linux 6927f0d6794aa73318bbfa929f1ff6065b0620df, Linux 1a113b5497297871699cd498b1b83542e0db7f15, Linux 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec. Upgrade Linux to 1dd8be4ec722ce54e4cace59f3a4ba658111b3ec or later.

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

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

- patch: <https://git.kernel.org/stable/c/a5dfeb3b61065039488342d43ae06d4729d955d4>
- patch: <https://git.kernel.org/stable/c/7fd3b41260c6120e7b60164afea5d961af6224f9>
- patch: <https://git.kernel.org/stable/c/6927f0d6794aa73318bbfa929f1ff6065b0620df>
- patch: <https://git.kernel.org/stable/c/1a113b5497297871699cd498b1b83542e0db7f15>
- patch: <https://git.kernel.org/stable/c/fb74defa1cca1a73177c0c761e641332e4f979a3>
- patch: <https://git.kernel.org/stable/c/1dd8be4ec722ce54e4cace59f3a4ba658111b3ec>
- other: <https://git.kernel.org/stable/c/6ec3fec39fe4ac8910de5c30749e19e66f86a901>
- other: <https://git.kernel.org/stable/c/09789251d5d222fb60086a3645cd16799e29e6b4>

## 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-53036>

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