CVE-2024-26789
published high CVSS 3.1 · 7.8crypto: arm64/neonbs - fix out-of-bounds access on short input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfc074e130051015e39245a4241956ff122e2f465 to < 034e2d70b5c7f578200ad09955aeb2aa65d1164a · fc074e130051015e39245a4241956ff122e2f465 to < 1291d278b5574819a7266568ce4c28bce9438705 · fc074e130051015e39245a4241956ff122e2f465 to < 9e8ecd4908b53941ab6f0f51584ab80c6c6606c4 · fc074e130051015e39245a4241956ff122e2f465 to < 1c0cf6d19690141002889d72622b90fc01562ce4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.81 through 6.1.* (unaffected · semver) · 6.6.21 through 6.6.* (unaffected · semver) · 6.7.9 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-603 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-784 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | jammy | linux-aws-6.5 | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-aws-6.5-cloud-tools-6.5.0-1023 | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-aws-6.5-headers-6.5.0-1023 | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.5-tools-6.5.0-1023 | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-azure-6.5 | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-azure-6.5-cloud-tools-6.5.0-1024 | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-azure-6.5-headers-6.5.0-1024 | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-azure-6.5-tools-6.5.0-1024 | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1017-starfive | Advisory build | 6.5.0-1017.18~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1023-nvidia-64k | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1026-oracle | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1026-oracle-64k | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-44-generic-64k | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-buildinfo-6.5.0-44-lowlatency-64k | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-cloud-tools-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-cloud-tools-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-cloud-tools-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-cloud-tools-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-gcp-6.5 | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-gcp-6.5-headers-6.5.0-1024 | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-gcp-6.5-tools-6.5.0-1024 | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-headers-6.5.0-1017-starfive | Advisory build | 6.5.0-1017.18~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-headers-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-headers-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-headers-6.5.0-1023-nvidia-64k | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-headers-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-headers-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-headers-6.5.0-1026-oracle | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-headers-6.5.0-1026-oracle-64k | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-headers-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-headers-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-headers-6.5.0-44-generic-64k | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-headers-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-headers-6.5.0-44-lowlatency-64k | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-hwe-6.5 | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-cloud-tools-6.5.0-44 | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-cloud-tools-common | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-headers-6.5.0-44 | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-tools-6.5.0-44 | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-tools-common | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-hwe-6.5-tools-host | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-image-6.5.0-1017-starfive | Advisory build | 6.5.0-1017.18~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-image-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1023-nvidia-64k | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1026-oracle | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1026-oracle-64k | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-44-generic-64k | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-image-unsigned-6.5.0-44-lowlatency-64k | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5 | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-cloud-tools-6.5.0-44 | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-cloud-tools-common | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-headers-6.5.0-44 | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-lib-rust-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-tools-6.5.0-44 | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-tools-common | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.5-tools-host | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-1017-starfive | Advisory build | 6.5.0-1017.18~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-modules-6.5.0-1023-nvidia-64k | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-modules-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-modules-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-modules-6.5.0-1026-oracle | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-1026-oracle-64k | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-modules-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-6.5.0-44-generic-64k | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-6.5.0-44-lowlatency-64k | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1017-starfive | Advisory build | 6.5.0-1017.18~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1023-aws | Advisory build | 6.5.0-1023.23~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1024-azure | Advisory build | 6.5.0-1024.25~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1026-oracle | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-1026-oracle-64k | Advisory build | 6.5.0-1026.26~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-extra-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-ipu6-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-modules-ipu6-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-ivsc-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-modules-ivsc-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.5.0-1024-gcp | Advisory build | 6.5.0-1024.26~22.04.1 | USN-6895-2 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.5.0-1027-oem | Advisory build | 6.5.0-1027.28 | USN-6895-4 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.5.0-44-generic | Advisory build | 6.5.0-44.44~22.04.1 | USN-6900-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.5.0-44-lowlatency | Advisory build | 6.5.0-44.44.1~22.04.1 | USN-6895-3 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.5.0-1023-nvidia | Advisory build | 6.5.0-1023.24 | USN-6895-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: arm64/neonbs - fix out-of-bounds access on short input The bit-sliced implementation of AES-CTR operates on blocks of 128 bytes, and will fall back to the plain NEON version for tail blocks or inputs that are shorter than 128 bytes to begin with. It will call straight into the plain NEON asm helper, which performs all memory accesses in granules of 16 bytes (the size of a NEON register). For this reason, the associated plain NEON glue code will copy inputs shorter than 16 bytes into a temporary buffer, given that this is a rare occurrence and it is not worth the effort to work around this in the asm code. The fallback from the bit-sliced NEON version fails to take this into account, potentially resulting in out-of-bounds accesses. So clone the same workaround, and use a temp buffer for short in/outputs.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable `ctr(aes)` transform is driven from local syscalls — the demonstrated and universally available path is an AF_ALG (`algif_skcipher`) socket issuing a 1–15 byte encrypt request, plus dm-crypt/IPsec consumers. No unauthenticated network protocol reaches a sub-16-byte CTR call (GCM always prepends a 16-byte tag block, and ESP with rfc3686(ctr(aes)) requires an established SA). AC:L - Triggering is fully deterministic and entirely attacker-controlled: bind an AF_ALG skcipher socket to `ctr(aes)`/`ctr-aes-neonbs`, set any key, and submit 1–15 bytes; the attacker also chooses the output buffer's page alignment, which decides whether the OOB access crosses into an adjacent page. No race, no memory-layout condition outside the attacker's influence, and `CONFIG_CRYPTO_AES_ARM64_BS` is widely enabled on arm64 (including Android GKI and distro kernels). PR:L - Only an unprivileged local account is needed — `AF_ALG` socket creation, bind, `setkey` and send/recv require no capabilities and no user namespace tricks. No root or CAP_* check exists anywhere along the path from `skcipher_recvmsg()` to `ctr_encrypt()`. UI:N - The attacking process performs the entire sequence itself via socket syscalls; no victim action, mount, or file open is involved. S:U - The out-of-bounds read and write occur in kernel memory and are exploited by a local process against the same kernel security authority; no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The asm performs a 16-byte NEON load starting up to 15 bytes before both the source and destination buffers, reading unrelated kernel memory in the adjacent page; combined with the out-of-bounds store this is memory corruption of neighbouring kernel objects that can be leveraged toward information disclosure. I:H - `st1 {v5.16b}, [OUT]` writes 16 bytes starting up to 15 bytes before the destination buffer — an out-of-bounds write into memory the attacker does not own, performed as a non-atomic read-modify-write so concurrent kernel writes to that region are silently clobbered with stale values, at a location the attacker positions via output-buffer alignment. A:H - The out-of-bounds 16-byte load/store can hit an unmapped or read-only page — a KFENCE guard page, a linear-map hole at a memblock boundary, or a read-only linear-map alias under the arm64 default `RODATA_FULL_DEFAULT_ENABLED=y` — producing a kernel page fault and oops; on KASAN/syzbot builds it reports out-of-bounds access and panics under `panic_on_warn`, and it can be re-triggered at will.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fc074e130051015e39245a4241956ff122e2f465 to < 034e2d70b5c7f578200ad09955aeb2aa65d1164a (affected · git)fc074e130051015e39245a4241956ff122e2f465 to < 1291d278b5574819a7266568ce4c28bce9438705 (affected · git)fc074e130051015e39245a4241956ff122e2f465 to < 9e8ecd4908b53941ab6f0f51584ab80c6c6606c4 (affected · git)fc074e130051015e39245a4241956ff122e2f465 to < 1c0cf6d19690141002889d72622b90fc01562ce4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.81 through 6.1.* (unaffected · semver)6.6.21 through 6.6.* (unaffected · semver)6.7.9 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
4Provider assertions
3Linux · cna
crypto: arm64/neonbs - fix out-of-bounds access on short input
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d8829b156f913adf9f4c1a24b74e982c02b5dcf1e3d388bf0499f0b9f99baec
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record