Home / Linux / Linux / CVE-2025-22083
CVE-2025-22083: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-22083 is an use after free vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Linux from 3.9 until the fixed versions (CVE record by Linux). Fixed in 5.10.276, 5.15.227, 6.1.162, 6.6.87 and 2 more (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record December 1, 2026, 07:01 UTC and NVD December 1, 2026, 08:09 UTC.
What is CVE-2025-22083?
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.
From the CVE record by Linux, last updated December 1, 2026, 06:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 3.9 until the fixed versions | 5.10.276, 5.15.227, 6.1.162, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15 |
As the CVE record by Linux states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 3.9.1 before 6.6.87 | operating system |
| linux | linux kernel | from 6.7 before 6.12.23 | operating system |
| linux | linux kernel | from 6.13 before 6.13.11 | operating system |
| linux | linux kernel | from 6.14 before 6.14.2 | operating system |
| linux | linux kernel | 3.9 | operating system |
NVD analysis (status Modified), last modified December 1, 2026, 07:17 UTC.
How severe is CVE-2025-22083?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-22083 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/4beb02b7abd78af8c5aee9dd32722ccb1c3011e3
- https://git.kernel.org/stable/c/c8c895a4b74f74b1041879a1305b1bcf2941ef43
- https://git.kernel.org/stable/c/451c72f5e7cf5d339a6410a635cee0825687c3dc
- https://git.kernel.org/stable/c/2b34bdc42df047794542f3e220fe989124e4499a
- https://git.kernel.org/stable/c/3a19eb3d9818e28f14c818a18dc913344a52ca92
- https://git.kernel.org/stable/c/3fd054baf382a426bbf5135ede0fc5673db74d3e
- https://git.kernel.org/stable/c/63b449f73ab0dcc0ba11ceaa4c5c70bc86ccf03c
- https://git.kernel.org/stable/c/5dd639a1646ef5fe8f4bf270fad47c5c3755b9b6
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
When was it published, and where is the official record?
- Reserved
- December 29, 2024
- Published
- April 16, 2025, 14:12 UTC
- CVE record updated
- December 1, 2026, 06:51 UTC by Linux
- NVD
- Modified, last modified December 1, 2026, 07:17 UTC
- Last checked
- CVE list December 1, 2026, 07:01 UTC; NVD December 1, 2026, 08:09 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-22083
Is CVE-2025-22083 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2025-22083?
Linux from 3.9 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-22083?
5.10.276, 5.15.227, 6.1.162, 6.6.87, 6.12.23 and 6.13.11, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22083?
High (7.8, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22083?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.