# CVE-2026-74351: ocfs2: rebase copied fsdlm LVB pointers in locking\_state

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:58:37.967Z
- **Modified:** 2026-11-06T17:19:46.990Z

## Who should check

- Anyone running Linux \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 185427b5f7a209254c85c18aad5a4a8e009b2f30; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< e037c1250cc90e7aacb002357d1b0399fc65ecfc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 8614a8f7e81edd34c9f67e454e7024fd12a2a341; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< bb44a7690a4d553da705919cf666a80f5ca9011c; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 610a0d2a35496738e1472fb0f318d5008a1c634f; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 93612d48fa42b3d1a637eb9279e15281c611c000
- Anyone running Linux 2.6.26

## Description

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

ocfs2: rebase copied fsdlm LVB pointers in locking\_state

The locking\_state debugfs iterator snapshots struct ocfs2\_lock\_res by
value under ocfs2\_dlm\_tracking\_lock and later formats that copy in
ocfs2\_dlm\_seq\_show().  That is fine for the inline fields, but the
userspace fsdlm stack stores the LVB through lksb\_fsdlm.sb\_lvbptr.  Once
the iterator drops the tracking lock, a copied non-NULL sb\_lvbptr still
points into the original lockres owner, so teardown can free that
container before the debugfs dump walks the raw LVB bytes.

Rebase the copied sb\_lvbptr to the copied l\_lksb before dumping the raw
LVB.  The seq snapshot already carries the inline LVB storage reserved in
struct ocfs2\_dlm\_lksb, so the debugfs reader can dump the copied bytes
without borrowing the original lockres lifetime.

The buggy scenario involves two paths, with each column showing the order
within that path:

locking\_state reader:                  lockres teardown:
1. ocfs2\_dlm\_seq\_start()/next()        1. file release or another owner
   copies struct ocfs2\_lock\_res           teardown reaches
2. ocfs2\_dlm\_seq\_show() formats           ocfs2\_lock\_res\_free()
   the copied row                      2. the lockres is removed from the
3. ocfs2\_dlm\_lvb() follows the            tracking list
   copied sb\_lvbptr                   3. the owner frees the original
                                          lockres container

Validation reproduced this kernel report:
KASAN slab-use-after-free in ocfs2\_dlm\_seq\_show+0x1bd/0x430
RIP: 0033:0x7f8ec4b1e29d
The buggy address belongs to the object at ffff88810a1e0800 which belongs
to the cache kmalloc-1k of size 1024
The buggy address is located 368 bytes inside of freed 1024-byte region
\[ffff88810a1e0800, ffff88810a1e0c00)
Read of size 1
Call trace:
  dump\_stack\_lvl+0x66/0xa0
  print\_report+0xce/0x630
  ocfs2\_dlm\_seq\_show+0x1bd/0x430 (fs/ocfs2/dlmglue.c:3137)
  srso\_alias\_return\_thunk+0x5/0xfbef5
  \_\_virt\_addr\_valid+0x19f/0x330
  kasan\_report+0xe0/0x110
  seq\_read\_iter+0x29d/0x790
  seq\_read+0x20a/0x280
  find\_held\_lock+0x2b/0x80
  rcu\_read\_unlock+0x18/0x70
  full\_proxy\_read+0x9e/0xd0
  vfs\_read+0x12c/0x590
  ksys\_read+0xd2/0x170
  do\_user\_addr\_fault+0x65a/0x890
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
Allocated by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x14/0x30
  \_\_kasan\_kmalloc+0xaa/0xb0
  ocfs2\_file\_open+0x13e/0x300
  do\_dentry\_open+0x233/0x7f0
  vfs\_open+0x5a/0x1b0
  path\_openat+0x66d/0x1540
  do\_file\_open+0x186/0x2b0
  do\_sys\_openat2+0xce/0x150
  \_\_x64\_sys\_openat+0xd0/0x140
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
Freed by task stack:
  kasan\_save\_stack+0x33/0x60
  kasan\_save\_track+0x14/0x30
  kasan\_save\_free\_info+0x3b/0x60
  \_\_kasan\_slab\_free+0x5f/0x80
  kfree+0x313/0x590
  ocfs2\_file\_release+0x138/0x260
  \_\_fput+0x1df/0x4b0
  fput\_close\_sync+0xd2/0x170
  \_\_x64\_sys\_close+0x55/0x90
  do\_syscall\_64+0x115/0x6a0 (arch/x86/entry/syscall\_64.c:87)
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 185427b5f7a209254c85c18aad5a4a8e009b2f30; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< e037c1250cc90e7aacb002357d1b0399fc65ecfc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 8614a8f7e81edd34c9f67e454e7024fd12a2a341; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< bb44a7690a4d553da705919cf666a80f5ca9011c; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 610a0d2a35496738e1472fb0f318d5008a1c634f; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 93612d48fa42b3d1a637eb9279e15281c611c000 (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- Upgrade Linux to 93612d48fa42b3d1a637eb9279e15281c611c000 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-74351. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74351.md
Affected: Linux >= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, < 185427b5f7a209254c85c18aad5a4a8e009b2f30; >= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, < 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc; >= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, < e037c1250cc90e7aacb002357d1b0399fc65ecfc; >= cf4d8d75d8aba537a19b313…
Fixed in: Linux 185427b5f7a209254c85c18aad5a4a8e009b2f30, Linux 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc, Linux 6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411, Linux 8614a8f7e81edd34c9f67e454e7024fd12a2a341, Linux 610a0d2a35496738e1472fb0f318d5008a1c634f, Linux 93612d48fa42b3d1a637eb9279e15281c611c000

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-74351 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 185427b5f7a209254c85c18aad5a4a8e009b2f30; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< e037c1250cc90e7aacb002357d1b0399fc65ecfc; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 8614a8f7e81edd34c9f67e454e7024fd12a2a341; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< bb44a7690a4d553da705919cf666a80f5ca9011c; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 610a0d2a35496738e1472fb0f318d5008a1c634f; \>= cf4d8d75d8aba537a19b313a9364fd08ddbd5622, \< 93612d48fa42b3d1a637eb9279e15281c611c000; Linux 2.6.26.

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

Yes. Fixed in Linux 185427b5f7a209254c85c18aad5a4a8e009b2f30, Linux 07aa4a8ebacde3d0ba50f60d2964f274ee7629bc, Linux 6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411, Linux 8614a8f7e81edd34c9f67e454e7024fd12a2a341, Linux 610a0d2a35496738e1472fb0f318d5008a1c634f, Linux 93612d48fa42b3d1a637eb9279e15281c611c000. Upgrade Linux to 93612d48fa42b3d1a637eb9279e15281c611c000 or later.

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

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/185427b5f7a209254c85c18aad5a4a8e009b2f30>
- other: <https://git.kernel.org/stable/c/07aa4a8ebacde3d0ba50f60d2964f274ee7629bc>
- other: <https://git.kernel.org/stable/c/e037c1250cc90e7aacb002357d1b0399fc65ecfc>
- other: <https://git.kernel.org/stable/c/6b38a5b8ee951e5b244e9a3c3d28d0f5e7c51411>
- other: <https://git.kernel.org/stable/c/8614a8f7e81edd34c9f67e454e7024fd12a2a341>
- other: <https://git.kernel.org/stable/c/bb44a7690a4d553da705919cf666a80f5ca9011c>
- other: <https://git.kernel.org/stable/c/610a0d2a35496738e1472fb0f318d5008a1c634f>
- other: <https://git.kernel.org/stable/c/93612d48fa42b3d1a637eb9279e15281c611c000>

## 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-74351>

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