Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-22083

published high CVSS 3.1 · 7.8

vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint

Published
16 Apr 2025, 14:12:32 UTC
Updated
01 Dec 2026, 06:51:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 4beb02b7abd78af8c5aee9dd32722ccb1c3011e3 · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < c8c895a4b74f74b1041879a1305b1bcf2941ef43 · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 451c72f5e7cf5d339a6410a635cee0825687c3dc · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 2b34bdc42df047794542f3e220fe989124e4499a · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 3a19eb3d9818e28f14c818a18dc913344a52ca92 · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 3fd054baf382a426bbf5135ede0fc5673db74d3e · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 63b449f73ab0dcc0ba11ceaa4c5c70bc86ccf03c · 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 5dd639a1646ef5fe8f4bf270fad47c5c3755b9b6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.9 (affected) · 0 to < 3.9 (unaffected · semver) · 5.10.276 through 5.10.* (unaffected · semver) · 5.15.227 through 5.15.* (unaffected · semver) · 6.1.162 through 6.1.* (unaffected · semver) · 6.6.87 through 6.6.* (unaffected · semver) · 6.12.23 through 6.12.* (unaffected · semver) · 6.13.11 through 6.13.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.6 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned; Not Affected Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Show 106 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.6 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.6 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.6 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.6 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint If vhost_scsi_set_endpoint is called multiple times without a vhost_scsi_clear_endpoint between them, we can hit multiple bugs found by Haoran Zhang: 1. Use-after-free when no tpgs are found: This fixes a use after free that occurs when vhost_scsi_set_endpoint is called more than once and calls after the first call do not find any tpgs to add to the vs_tpg. When vhost_scsi_set_endpoint first finds tpgs to add to the vs_tpg array match=true, so we will do: vhost_vq_set_backend(vq, vs_tpg); ... kfree(vs->vs_tpg); vs->vs_tpg = vs_tpg; If vhost_scsi_set_endpoint is called again and no tpgs are found match=false so we skip the vhost_vq_set_backend call leaving the pointer to the vs_tpg we then free via: kfree(vs->vs_tpg); vs->vs_tpg = vs_tpg; If a scsi request is then sent we do: vhost_scsi_handle_vq -> vhost_scsi_get_req -> vhost_vq_get_backend which sees the vs_tpg we just did a kfree on. 2. Tpg dir removal hang: This patch fixes an issue where we cannot remove a LIO/target layer tpg (and structs above it like the target) dir due to the refcount dropping to -1. The problem is that if vhost_scsi_set_endpoint detects a tpg is already in the vs->vs_tpg array or if the tpg has been removed so target_depend_item fails, the undepend goto handler will do target_undepend_item on all tpgs in the vs_tpg array dropping their refcount to 0. At this time vs_tpg contains both the tpgs we have added in the current vhost_scsi_set_endpoint call as well as tpgs we added in previous calls which are also in vs->vs_tpg. Later, when vhost_scsi_clear_endpoint runs it will do target_undepend_item on all the tpgs in the vs->vs_tpg which will drop their refcount to -1. Userspace will then not be able to remove the tpg and will hang when it tries to do rmdir on the tpg dir. 3. Tpg leak: This fixes a bug where we can leak tpgs and cause them to be un-removable because the target name is overwritten when vhost_scsi_set_endpoint is called multiple times but with different target names. The bug occurs if a user has called VHOST_SCSI_SET_ENDPOINT and setup a vhost-scsi device to target/tpg mapping, then calls VHOST_SCSI_SET_ENDPOINT again with a new target name that has tpgs we haven't seen before (target1 has tpg1 but target2 has tpg2). When this happens we don't teardown the old target tpg mapping and just overwrite the target name and the vs->vs_tpg array. Later when we do vhost_scsi_clear_endpoint, we are passed in either target1 or target2's name and we will only match that target's tpgs when we loop over the vs->vs_tpg. We will then return from the function without doing target_undepend_item on the tpgs. Because of all these bugs, it looks like being able to call vhost_scsi_set_endpoint multiple times was never supported. The major user, QEMU, already has checks to prevent this use case. So to fix the issues, this patch prevents vhost_scsi_set_endpoint from being called if it's already successfully added tpgs. To add, remove or change the tpg config or target name, you must do a vhost_scsi_clear_endpoint first.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

43

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 vulnerability is reached exclusively through the `VHOST_SCSI_SET_ENDPOINT` ioctl on the local `/dev/vhost-scsi` misc device, followed by virtqueue submission on the same open fd. There is no network-facing path — a guest can index the freed array but cannot itself perform the ioctl that frees it. AC:L - Triggering is fully deterministic and race-free: one successful `SET_ENDPOINT` followed by a second `SET_ENDPOINT` with a wwpn matching no tpg unconditionally frees the array still installed as the vq backend. Heap-spraying the freed 2048-byte kmalloc-2k object is standard and entirely under the attacker's control. PR:L - Neither `vhost_scsi_open()`, `vhost_scsi_ioctl()`, nor the vhost core performs any `capable()`/`CAP_*` check — only an open fd on `/dev/vhost-scsi` is needed, which the unprivileged QEMU/libvirt-qemu process routinely holds in any host actually using vhost-scsi. A compromised or malicious deprivileged VMM process reaches the bug with a single additional ioctl, so no real root is required. UI:N - The attacker performs both ioctls and the subsequent virtqueue kick entirely on its own; no action by any other user or administrator is needed. The LIO tpg configuration is pre-existing baseline state in any vhost-scsi deployment, not a victim action. S:U - The dangling backend and corrupted heap are host kernel memory, and the attacker is already a host-local process, so the compromise stays within the kernel's own security authority. This is standard local kernel privilege escalation rather than a VM-escape or IOMMU boundary crossing. C:H - `vhost_scsi_get_req()` performs `READ_ONCE(vs_tpg[*vc->target])` on the freed array with an attacker-chosen index, then downstream code dereferences the resulting pointer, giving a use-after-free read that can be steered into arbitrary kernel memory disclosure. Per UAF guidance the attacker controls the contents of the reclaimed slab object, enabling arbitrary read. I:H - Reclaiming the freed kmalloc-2k object yields a fully attacker-controlled `struct vhost_scsi_tpg *` that is dereferenced and whose `tpg_nexus->tvn_se_sess` is passed into `target_init_cmd()`/`target_submit_tmr()`, a classic fake-object path to arbitrary write and control-flow hijack. The configfs `config_item` refcount underflow to −1 additionally corrupts target-core object lifetime state. A:H - The dangling backend reliably produces a kernel oops/panic on the next SCSI request even without successful exploitation. The refcount underflow also permanently wedges the LIO tpg so `rmdir` on the tpg/target directory hangs and the objects can never be removed short of reboot.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 4beb02b7abd78af8c5aee9dd32722ccb1c3011e3 (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < c8c895a4b74f74b1041879a1305b1bcf2941ef43 (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 451c72f5e7cf5d339a6410a635cee0825687c3dc (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 2b34bdc42df047794542f3e220fe989124e4499a (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 3a19eb3d9818e28f14c818a18dc913344a52ca92 (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 3fd054baf382a426bbf5135ede0fc5673db74d3e (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 63b449f73ab0dcc0ba11ceaa4c5c70bc86ccf03c (affected · git)4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 to < 5dd639a1646ef5fe8f4bf270fad47c5c3755b9b6 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.9 (affected)0 to < 3.9 (unaffected · semver)5.10.276 through 5.10.* (unaffected · semver)5.15.227 through 5.15.* (unaffected · semver)6.1.162 through 6.1.* (unaffected · semver)6.6.87 through 6.6.* (unaffected · semver)6.12.23 through 6.12.* (unaffected · semver)6.13.11 through 6.13.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) V3.1.6 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) V3.1.6 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) V3.1.6 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) V3.1.6 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) V3.1.6 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

2

Linux · cna

vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint

siemens-SADP · adp

Provenance

Schema
5.2
Searchable
yes
Content hash
a5d3dbf9a9efc8d6c3f33e6253dca1c2a1bfcca1431643d4fac89c3a44edd9a0
Ingested
01 Dec 2026, 06:59:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected