EN
FREN
CVE-2026-99765, scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown
-score not published

CVE-2026-99765 : Linux

CVE-2026-99765 · published on November 20, 2026 at 05:51 · updated on November 20, 2026 at 05:51

7days since publication
linux

What this vulnerability allows, plainly. Privilege escalation, with no account at all, from the internet. The attacker gains rights they did not have.

In practice, for a business:

  • an ordinary account becomes an administrator account
  • access to orders and data of every other account
  • logs wiped, so no immediate evidence

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-99765 vulnerability ?

In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown A demo-mode (generate_node_acls=1) login that allocates a dynamic NodeACL populates that ACL's per-LUN dev entries in core_tpg_add_node_to_devs() *before* the ACL is linked onto tpg->acl_node_list by target_add_node_acl(): core_tpg_check_initiator_node_acl(): ... core_tpg_add_node_to_devs(acl, tpg, NULL), /* builds deves */ target_add_node_acl(acl), /* only now listed */ The LUN teardown sweep, core_clear_lun_from_tpg(), enumerates only tpg->acl_node_list, so a dev entry whose ACL is still in the window above is invisible to the sweep and is never disabled. It is left on the se_lun->lun_deve_list after core_tpg_remove_lun() frees the se_lun, when the same unpacked_lun is later re-added and the se_lun is reallocated at the same address, the stale dev entry is rediscovered by target_nacl_find_deve() and core_enable_device_list_for_node() corrupts lun_deve_list: BUG: KASAN: slab-use-after-free ... core_enable_device_list_for_node+0x5ce/0x880 core_tpg_add_node_to_devs+0x169/0x190 core_dev_add_lun+0x146/0x190 target_fabric_port_link+0xe9/0x1b0 configfs_symlink+0x381/0xae0 __x64_sys_symlink+0x55/0x80 The demo-mode login path that drives the ACL/dev-entry creation is reachable by an unauthenticated initiator, the colliding LUN add/remove is a local configfs operation. Commit 49cb77e297dc ("target: Avoid mappedlun symlink creation during lun shutdown") introduced se_lun->lun_shutdown and guarded the *explicit* ACL MappedLUN path (target_fabric_mappedlun_link()), but the demo-mode automatic path, core_tpg_add_node_to_devs() -> core_enable_device_list_for_node(), was never given the equivalent guard, and the publish-after-populate ordering in core_tpg_check_initiator_node_acl() was left unchanged. Fix it in three cooperating parts: 1) Publish the dynamic NodeACL onto acl_node_list *before* creating its dev entries, so the teardown sweep can observe them. 2) Refuse to attach a dev entry to an se_lun that is shutting down, checked under nacl->lun_entry_mutex -- the same lock the sweep takes -- so once the sweep has passed an ACL any later enable for that LUN observes lun_shutdown and skips it. 3) In core_enable_device_list_for_node(), insert the new dev entry onto lun->lun_deve_list while still holding nacl->lun_entry_mutex, in both the replace and the new-entry branch. Previously the entry was added to nacl->lun_entry_hlist under the mutex but to lun->lun_deve_list only after dropping it, with the ACL now published early, the sweep could take the mutex in that gap, find the entry on the hlist, core_disable_device_list_for_node() it (list_del() on the not-yet- linked lun_link succeeds and the entry is freed), and then the enable would list_add_tail() the freed entry back onto lun_deve_list. Linking both lists under the mutex makes enable and the sweep mutually exclusive, closing that window. core_tpg_add_node_to_devs() already ignores the return value of core_enable_device_list_for_node(), so a shutting-down LUN is simply skipped.

Just before this one, two listings for the same software were published: CVE-2026-99804 (2026-11-20), then CVE-2026-99803 (2026-11-20).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-99765 vulnerability ?

  • Linux, jusqu'aux versions c8b6eec86742f736a913aba7d7c1d0cedb1d7751, 78ad4413fab0cbd42c7280b5069ed2dd3f039162, 6a6e7d7230cd4e0a6c003bae5b85bf37a1e77b94, 003bea4a702279fc339a0d2f1262e907364a2c73, 8adc614240f1e2b793949d4efd9d344c970c116f, ca84f64e33058df99a8fa8ff88fc4c01b2fd8b17, 2bf7791c6a5ec21228383f5a1fb5c443c3336622, 92f8aa7bb825eafc3686cdda6dbbce44d8b35e75, 22113847cd117b26bd14316f735af79fc37cb6be, 3.11, 3.19, 4.2, 4.5, 4.10 et 4.11 incluses et à partir des versions 49cb77e297dc611a1b795cfeb79452b3002bd331, 84f64e33058df99a8fa8ff88fc4c01b2fd8b17, 3.10.108, 3.18.64, 4.1.47, 4.4.81, 4.9.24 et 4.10.12

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-99765 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2026-99765 vulnerability affects Linux up to versions c8b6eec86742f736a913aba7d7c1d0cedb1d7751, 78ad4413fab0cbd42c7280b5069ed2dd3f039162, 6a6e7d7230cd4e0a6c003bae5b85bf37a1e77b94, 003bea4a702279fc339a0d2f1262e907364a2c73, 8adc614240f1e2b793949d4efd9d344c970c116f, ca84f64e33058df99a8fa8ff88fc4c01b2fd8b17, 2bf7791c6a5ec21228383f5a1fb5c443c3336622, 92f8aa7bb825eafc3686cdda6dbbce44d8b35e75, 22113847cd117b26bd14316f735af79fc37cb6be, 3.11, 3.19, 4.2, 4.5, 4.10 et 4.11 inclusive. We do not find this software in the estate we monitor. Our readings cover websites and their components. Routers, connected devices and firmware are absent, since they publish no externally visible version. We therefore cannot quantify the exposure of this vulnerability, and we refrain from estimating it. The flaw was published on 20 November 2026. It was updated on 20 November 2026. To fix it, Linux must be updated beyond version c8b6eec86742f736a913aba7d7c1d0cedb1d7751: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 18 924 flaws on this software since the census began, 8 800 of them in 2026, the oldest dating from 10 January 2015. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Linux.

How to fix the CVE-2026-99765 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-99765 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 8 references published for this flaw, 8 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue