CVE-2026-89743
published high CVSS 3.1 · 7.7misc: nsm: bound the device-reported response length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 339f19b9a6171289b0e797deb8bda80b9a1fcc30 · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 29e634a18957acda11383a15ab98a91c4ae9e294 · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 2aa0fb9c96f894a9c179a48e7522ea6705800adf · b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 808e530654a5354e6df78863a5d61e4d44e67235 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.109 through 6.12.* (unaffected · semver) · 6.18.50 through 6.18.* (unaffected · semver) · 7.2.4 through 7.2.* (unaffected · semver) · 7.3 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 evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3187 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3196 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-extraaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azureaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azurex86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extraaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extrax86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-vdsox86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaults390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseaarch64 | Advisory build | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseppc64le | Advisory build | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-basex86_64 | Advisory build | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-devels390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extraaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrappc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extras390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrax86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchs390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-vdsox86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-develnoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-devel-nvidianoarch | Advisory build | 6.12.0-160100.7.1 | SUSE-SU-2026:24705-1 |
| SUSE / openSUSE | SLE-16 | kernel-docsnoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-docs-htmlnoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-vdsox86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-macrosnoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-nvidia64kbaarch64 | Advisory build | 6.12.0-160100.7.1 | SUSE-SU-2026:24705-1 |
| SUSE / openSUSE | SLE-16 | kernel-nvidia64kb-develaarch64 | Advisory build | 6.12.0-160100.7.1 | SUSE-SU-2026:24705-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qaaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qappc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qas390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qax86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-sourcenoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-source-vanillanoarch | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsaarch64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsppc64le | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-symss390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsx86_64 | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | SLE-16 | kernel-zfcpdumps390x | Advisory build | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azureaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azurex86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtx86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azureaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azurex86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtx86_64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-allwinneraarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-alteraaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amazonaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amdaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amlogicaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-apmaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-appleaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-armaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-broadcomaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-caviumaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-exynosaarch64 | Advisory build | 6.12.0-160000.41.1 | OPENSUSE-SU-2026:22266-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: misc: nsm: bound the device-reported response length nsm_sendrecv_msg_locked() stores the virtqueue used-ring length reported by the NSM device into msg->resp.len without bounding it to the response buffer. A malicious or buggy backend can report a length larger than the response buffer; parse_resp_raw() then copies that many bytes out of the fixed buffer to user space, disclosing adjacent kernel heap (an out-of-bounds read). The request path already floors its length in fill_req_raw(); the response path lacks the symmetric check. Clamp the stored length to the size of the response buffer. Well-behaved devices report no more than the posted buffer size, so conforming traffic is unaffected.
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.7 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - A malicious or buggy virtio-nsm backend (hypervisor, QEMU virtio-nsm, or vhost-user device) over-reports the used-ring length consumed by nsm_sendrecv_msg_locked(); the path is local ioctl on /dev/nsm plus virtio, not a network protocol. AC:L - The backend deterministically sets the 32-bit used-ring length on each completion, and a local NSM_IOCTL_RAW caller supplies the response iovec that parse_resp_raw() uses as the other copy bound; no race or attacker-uncontrollable layout is required. PR:N - The driver registers /dev/nsm as mode 0666 and nsm_dev_ioctl() has no capable() check, so any local process can issue NSM_IOCTL_RAW; a malicious virtio backend also needs no guest credentials. UI:N - The attacker opens /dev/nsm and issues NSM_IOCTL_RAW from their own process (the ioctl does not cap response.len to NSM_RESPONSE_MAX_SIZE); no separate victim must mount, click, or otherwise interact. S:U - The out-of-bounds read and any resulting oops occur in the guest kernel that hosts the NSM frontend; this is device-to-guest impact, not a guest-to-host, IOMMU, or cross-VM escape. C:H - parse_resp_raw() copy_to_user() copies min(user_len, unbounded device len) from the 0x3000-byte resp->data array, so an over-reported length reads adjacent kmalloc heap and returns that kernel memory to userspace. I:N - The oversized copy writes only into the ioctl caller's userspace buffer; kernel memory is only read, with no out-of-bounds write, use-after-free, or control-flow hijack primitive. A:H - A device-chosen length up to 4GiB drives copy_to_user() past the nsm slab object into unmapped or guarded memory, causing a guest kernel oops or panic that can be repeated on every NSM request.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 339f19b9a6171289b0e797deb8bda80b9a1fcc30 (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 29e634a18957acda11383a15ab98a91c4ae9e294 (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 2aa0fb9c96f894a9c179a48e7522ea6705800adf (affected · git)b9873755a6c8ccfce79094c4dce9efa3ecb1a749 to < 808e530654a5354e6df78863a5d61e4d44e67235 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.109 through 6.12.* (unaffected · semver)6.18.50 through 6.18.* (unaffected · semver)7.2.4 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
misc: nsm: bound the device-reported response length
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 733038168b19ad1999aa37287e9259a5b9c03e79d4875ca226abd012841d0182
- Ingested
- 19 Oct 2026, 08:57:57 UTC
- Source record
- Official CVE record