# CVE-2026-99691: ocfs2/cluster: unlink socket containers before releasing resources

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:35.770Z
- **Modified:** 2026-11-23T08:18:10.047Z

## Who should check

- Anyone running Linux \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 87e985b95dc26ceb447418c56487c17c91420944; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< d54c9f58305031bd09bdec135838a1bfb0586283; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 9672428efee9fb71d8d185ef352c797592b50a61; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< ed62362be4da1e54ef41e6eb9ecfdd5f04b0db7b; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 8dc77ad4253904eb768f1aff45bb870d6d5a6eb5; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 829a331e1b52053c6f2d880daaa2f2c0ee85580f; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 831f6f917f7e22068d850efc6443eca300a11f95; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479
- Anyone running Linux 2.6.26

## Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2/cluster: unlink socket containers before releasing resources

A socket container's node and socket must remain alive while the
container is on sock\_containers. The debugfs formatter reads sc\_node
and sc\_sock under o2net\_debug\_lock without taking their references, but
sc\_kref\_release() releases both before taking that lock to unlink the
container.

With CONFIG\_DEBUG\_FS enabled, a synchronous sender can retain its last
socket-container reference after o2net\_disconnect\_node() has detached
the connection and flushed o2net\_wq. The caller runs outside that
workqueue. After the sender removes its configfs dependency, node
removal can proceed without waiting for the sender's final sc\_put():

  Sender (final sc\_put)    Configfs rmdir        Debugfs reader
  --------------------    --------------        --------------
  o2nm\_undepend\_item()
                          Drop node item refs
  o2nm\_node\_put()
    \[node can be freed\]
                                               sc\_seq\_show()
                                                 Lock debug lock
                                                 Read sc\_node-\>nd\_name
                                                 Unlock debug lock
  sc\_node = NULL
  o2net\_debug\_del\_sc()

The earlier socket release has a similar window. The container is
still selectable while its socket has been released and sc\_sock has
not yet been cleared:

  Sender (final sc\_put)                       Debugfs reader
  --------------------                       --------------
  sock\_release(sc-\>sc\_sock)
    \[socket can be freed\]
                                             sc\_seq\_show()
                                               Lock debug lock
                                               Read sc\_sock-\>sk fields
                                               Unlock debug lock
  sc\_sock = NULL
  ...
  o2net\_debug\_del\_sc()

Move o2net\_debug\_del\_sc() before releasing either resource. Unlinking
under the existing debug lock waits for an active formatter to finish
and prevents later readers from selecting the container. This covers
both socket fields and node fields, including nd\_num in the stats
formatter.

KASAN report as below:

    BUG: KASAN: slab-use-after-free in string+0x42b/0x470
    Read of size 1 at addr ffff88810f56fc90 by task python3/506

    CPU: 0 UID: 0 PID: 506 Comm: python3 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ \#1 PREEMPT(lazy)
    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch\_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
    Call Trace:
     \<TASK\>
     dump\_stack\_lvl+0x93/0xd0
     print\_report+0xce/0x630
     kasan\_report+0xe0/0x110
     string+0x42b/0x470
     vsnprintf+0x330/0x1110
     seq\_printf+0x1a8/0x260
     sc\_seq\_show+0x604/0x9f0
     seq\_read\_iter+0x480/0x1110
     seq\_read+0x362/0x5a0
     full\_proxy\_read+0x11f/0x180
     vfs\_read+0x1a0/0xc20
     ksys\_read+0x111/0x200
     do\_syscall\_64+0x114/0x620
     entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

(User register dump omitted.)

     \</TASK\>

    Allocated by task 497:
     kasan\_save\_stack+0x33/0x60
     kasan\_save\_track+0x14/0x30
     \_\_kasan\_kmalloc+0xaa/0xb0
     \_\_kmalloc\_cache\_noprof+0x28d/0x610
     o2nm\_node\_group\_make\_item+0xea/0x1a0
     configfs\_mkdir+0x762/0xca0
     vfs\_mkdir+0x399/0x7e0
     filename\_mkdirat+0x129/0x450
     \_\_x64\_sys\_mkdir+0x70/0xa0
     do\_syscall\_64+0x114/0x620
     entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

    Freed by task 505:
     kasan\_save\_stack+0x33/0x60
     kasan\_save\_track+0x14/0x30
     kasan\_save\_free\_info+0x3b/0x60
     \_\_kasan\_slab\_free+0x5f/0x80
     kfree+0x308/0x580
     config\_item\_cleanup+0x14b/0x230
     config\_item\_put+0x79/0x90
     sc\_put+0x454/0x6e0
     o2net\_send\_message\_vec+0x63d/0x1560
     o2net\_send\_message+0xa6/0xe0
     validation\_send\_write+0x17f/0x1d0
     full\_proxy\_write+0x11f/0x180
     vfs\_write+0x25a/0x1010
     ksys\_write+
---truncated---

## Affected and fixed versions

- Linux: \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 87e985b95dc26ceb447418c56487c17c91420944; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< d54c9f58305031bd09bdec135838a1bfb0586283; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 9672428efee9fb71d8d185ef352c797592b50a61; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< ed62362be4da1e54ef41e6eb9ecfdd5f04b0db7b; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 8dc77ad4253904eb768f1aff45bb870d6d5a6eb5; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 829a331e1b52053c6f2d880daaa2f2c0ee85580f; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 831f6f917f7e22068d850efc6443eca300a11f95; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479 (cvelist)
- Linux: 2.6.26 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99691. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99691.md
Affected: Linux >= 2309e9e040fe29469fb85a384636c455b62fe525, < 87e985b95dc26ceb447418c56487c17c91420944; >= 2309e9e040fe29469fb85a384636c455b62fe525, < d54c9f58305031bd09bdec135838a1bfb0586283; >= 2309e9e040fe29469fb85a384636c455b62fe525, < 9672428efee9fb71d8d185ef352c797592b50a61; >= 2309e9e040fe29469fb85a3…
Fixed in: Linux 87e985b95dc26ceb447418c56487c17c91420944, Linux 9672428efee9fb71d8d185ef352c797592b50a61, Linux 8dc77ad4253904eb768f1aff45bb870d6d5a6eb5, Linux 829a331e1b52053c6f2d880daaa2f2c0ee85580f, Linux 831f6f917f7e22068d850efc6443eca300a11f95, Linux 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99691 being exploited?

There is no confirmed exploitation: CVE-2026-99691 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99691?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99691?

Linux \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 87e985b95dc26ceb447418c56487c17c91420944; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< d54c9f58305031bd09bdec135838a1bfb0586283; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 9672428efee9fb71d8d185ef352c797592b50a61; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< ed62362be4da1e54ef41e6eb9ecfdd5f04b0db7b; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 8dc77ad4253904eb768f1aff45bb870d6d5a6eb5; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 829a331e1b52053c6f2d880daaa2f2c0ee85580f; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 831f6f917f7e22068d850efc6443eca300a11f95; \>= 2309e9e040fe29469fb85a384636c455b62fe525, \< 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479; Linux 2.6.26.

### Is there a fix for CVE-2026-99691?

Yes. Fixed in Linux 87e985b95dc26ceb447418c56487c17c91420944, Linux 9672428efee9fb71d8d185ef352c797592b50a61, Linux 8dc77ad4253904eb768f1aff45bb870d6d5a6eb5, Linux 829a331e1b52053c6f2d880daaa2f2c0ee85580f, Linux 831f6f917f7e22068d850efc6443eca300a11f95, Linux 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479. Upgrade Linux to 0988f0c0c7c908f0ff77fd8b90ce9918a1f41479 or later.

### How do I check if I'm affected by CVE-2026-99691?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/87e985b95dc26ceb447418c56487c17c91420944>
- other: <https://git.kernel.org/stable/c/d54c9f58305031bd09bdec135838a1bfb0586283>
- other: <https://git.kernel.org/stable/c/9672428efee9fb71d8d185ef352c797592b50a61>
- other: <https://git.kernel.org/stable/c/ed62362be4da1e54ef41e6eb9ecfdd5f04b0db7b>
- other: <https://git.kernel.org/stable/c/8dc77ad4253904eb768f1aff45bb870d6d5a6eb5>
- other: <https://git.kernel.org/stable/c/829a331e1b52053c6f2d880daaa2f2c0ee85580f>
- other: <https://git.kernel.org/stable/c/831f6f917f7e22068d850efc6443eca300a11f95>
- other: <https://git.kernel.org/stable/c/0988f0c0c7c908f0ff77fd8b90ce9918a1f41479>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99691>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99691> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99691>
