CVE-2026-31570: can: gw: fix OOB heap access in cgw_csum_crc8_rel()
Noroxi assessment
Priority: Monitor (action score 35/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
- Someone on the same network segment can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 54ecdf76a55e75c1f5085e440f8ab671a3283ef5, 66b689efd08227da2c5ca49b58b30a95d23c695a, 84f8b76d24273175a22713e83e90874e1880d801; azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 6.6.134.1-2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes.
Low priority for now. Upgrade to Linux Linux 54ecdf76a55e75c1f5085e440f8ab671a3283ef5, 66b689efd08227da2c5ca49b58b30a95d23c695a, 84f8b76d24273175a22713e83e90874e1880d801; azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 6.6.134.1-2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: can: gw: fix OOB heap access in cgw_csum_crc8_rel() cgw_csum_crc8_rel() correctly computes bounds-safe indices via calc_idx(): int from = calc_idx(crc8->from_idx, cf->len); int to = calc_idx(crc8->to_idx, cf->len); int res = calc_idx(crc8->result_idx, cf->len); if (from < 0 || to < 0 || res < 0) return; However, the loop and the result write then use the raw s8 fields directly instead of the computed variables: for (i = crc8->from_idx; ...) /* BUG: raw negative index */ cf->data[crc8->result_idx] = ...; /* BUG: raw negative index */ With from_idx = to_idx = result_idx = -64 on a 64-byte CAN FD frame, calc_idx(-64, 64) = 0 so the guard passes, but the loop iterates with i = -64, reading cf->data[-64], and the write goes to cf->data[-64]. This write might end up to 56 (7.0-rc) or 40 (<= 6.19) bytes before the start of the canfd_frame on the heap. The companion function cgw_csum_xor_rel() uses `from`/`to`/`res` correctly throughout; fix cgw_csum_crc8_rel() to match. Confirmed with KASAN on linux-7.0-rc2: BUG: KASAN: slab-out-of-bounds in cgw_csum_crc8_rel+0x515/0x5b0 Read of size 1 at addr ffff8880076619c8 by task poc_cgw_oob/62 To configure the can-gw crc8 checksums CAP_NET_ADMIN is needed.
- BDU:2026-12244
- SUSE-SU-2026:22673-1
- SUSE-SU-2026:22674-1
- SUSE-SU-2026:22675-1
- SUSE-SU-2026:22676-1
- SUSE-SU-2026:22677-1
- SUSE-SU-2026:22680-1
- SUSE-SU-2026:22681-1
- SUSE-SU-2026:22682-1
- SUSE-SU-2026:22683-1
- SUSE-SU-2026:22689-1
- SUSE-SU-2026:22690-1
- SUSE-SU-2026:22691-1
- SUSE-SU-2026:22696-1
- SUSE-SU-2026:22711-1
- SUSE-SU-2026:22712-1
- SUSE-SU-2026:22713-1
- SUSE-SU-2026:22718-1
- SUSE-SU-2026:22719-1
- SUSE-SU-2026:22720-1
- Published
- Apr 24, 2026
- Updated
- Nov 11, 2026
- EPSS
- 0.2% · 18th percentile
- CWE
- CWE-125
Report tools
Action score
35
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 8.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.4affected
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before e7c99348b0612b2bc02d5ce6ff9873261cc7605faffected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before 999ca48d55a8a46da21519db7e834e5867200379affected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before a025283d7f7404c739225e457fb99db2368bb544affected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before 54ecdf76a55e75c1f5085e440f8ab671a3283ef5affected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57aaffected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before 84f8b76d24273175a22713e83e90874e1880d801affected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before 66b689efd08227da2c5ca49b58b30a95d23c695aaffected · git
- 456a8a646b2563438c16a9b27decf9aa717f1ebb and later · before b9c310d72783cc2f30d103eed83920a5a29c671aaffected · git
- before 5.4not affected · semver
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.4.1 and later · before 5.10.253
- linux linux kernel5.11 and later · before 5.15.203
- linux linux kernel5.16 and later · before 6.1.168
- linux linux kernel6.2 and later · before 6.6.131
- linux linux kernel6.7 and later · before 6.12.80
- linux linux kernel6.13 and later · before 6.18.21
- linux linux kernel6.19 and later · before 6.19.11
- linux linux kernel5.4
- linux linux kernel7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.170-1 | 6.1.170-1 |
| Debian:13 | linux | before 6.12.85-1 | 6.12.85-1 |
| Debian:14 | linux | before 6.19.11-1 | 6.19.11-1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_41 | before 21-150400.2.1 | 21-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_43 | before 17-150400.2.1 | 17-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_44 | before 16-150400.2.1 | 16-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_45 | before 14-150400.2.1 | 14-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_46 | before 10-150400.2.1 | 10-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_49 | before 6-150400.2.1 | 6-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_51 | before 5-150400.2.1 | 5-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_52 | before 4-150400.2.1 | 4-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_27 | before 21-150500.2.2 | 21-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_28 | before 20-150500.2.2 | 20-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_30 | before 15-150500.2.2 | 15-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_31 | before 13-150500.2.2 | 13-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_37 | before 6-150500.2.2 | 6-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_39 | before 4-150500.2.2 | 4-150500.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_12 | before 20-150600.2.2 | 20-150600.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_13 | before 18-150600.2.2 | 18-150600.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_22 | before 6-150600.2.2 | 6-150600.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_23 | before 5-150600.2.2 | 5-150600.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_25 | before 3-150600.2.2 | 3-150600.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_1 | before 19-150700.2.2 | 19-150700.2.2 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_10 | before 6-150700.2.2 | 6-150700.2.2 |
+39
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-31568Apr 24, 2026 · s390/mm: Add missing secure storage access fixups for donated memory28Monitor
- ← EarlierCVE-2026-31569Apr 24, 2026 · LoongArch: KVM: Handle the case that EIOINTC's coremap is empty29Monitor
- Later →CVE-2026-31571Apr 24, 2026 · drm/i915: Unlink NV12 planes earlier22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 54ecdf76a55e75c1f5085e440f8ab671a3283ef5 | Vendor (CNA) |
| Linux Linux | 66b689efd08227da2c5ca49b58b30a95d23c695a | Vendor (CNA) |
| Linux Linux | 84f8b76d24273175a22713e83e90874e1880d801 | Vendor (CNA) |
| Linux Linux | 999ca48d55a8a46da21519db7e834e5867200379 | Vendor (CNA) |
| Linux Linux | a025283d7f7404c739225e457fb99db2368bb544 | Vendor (CNA) |
| Linux Linux | b9c310d72783cc2f30d103eed83920a5a29c671a | Vendor (CNA) |
| Linux Linux | c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57a | Vendor (CNA) |
| Linux Linux | e7c99348b0612b2bc02d5ce6ff9873261cc7605f | Vendor (CNA) |
| azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 | 6.6.134.1-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 | Release Notes | Microsoft (MSRC) |
| debian:linux | 6.1.170-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_10 | 14-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_11 | 13-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_12 | 13-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_13 | 11-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_14 | 9-1.2 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_16 | 8-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_17 | 7-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_8 | 20-1.2 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0_Update_9 | 20-1.2 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0-RT_Update_13 | 9-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0-RT_Update_15 | 8-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:kernel-livepatch-MICRO-6-0-RT_Update_18 | 7-1.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone on the same network segment can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Adjacent
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/66b689efd08227da2c5ca49b58b30a95d23c695a
- git.kernel.org/stable/c/84f8b76d24273175a22713e83e90874e1880d801
- git.kernel.org/stable/c/999ca48d55a8a46da21519db7e834e5867200379
- git.kernel.org/stable/c/a025283d7f7404c739225e457fb99db2368bb544
- git.kernel.org/stable/c/b9c310d72783cc2f30d103eed83920a5a29c671a
- git.kernel.org/stable/c/c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57a
- git.kernel.org/stable/c/e7c99348b0612b2bc02d5ce6ff9873261cc7605f
Vendor advisories and official records. Exploit/PoC links are deliberately left out.