# CVE-2026-68096: audit: fix recursive locking deadlock in audit\_dupe\_exe()

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2026-08-10T11:58:09.951Z
- **Modified:** 2026-10-19T21:17:50.353Z

## Who should check

- Anyone running Linux \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 6114c3f21eb2ae175401736da744b684705e7ed9; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< f6fda0ac6661c23b8356dfb1cc423960cc6f0593; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 36eb77f14b4e6f2dc1008c1fabe31236397be27a; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 7d1f66c69898ffb1a718926c32a777ecc471caca; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3b601938314c24fcd1afb6659cad92fe96c9c2f8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 81905b5acbe77284734438df3fbec1158e6429a3
- Anyone running Linux 4.3

## Description

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

audit: fix recursive locking deadlock in audit\_dupe\_exe()

A deadlock occurs in the audit subsystem when duplicating
executable-related rules.

When a file is moved (e.g., via do\_renameat2()), the VFS layer locks
the parent directory (I\_MUTEX\_PARENT), which synchronously triggers an
fsnotify\_move event. If an existing executable audit rule matches the
file being moved, the audit subsystem catches this event and calls
audit\_dupe\_exe() to duplicate the watch and update the rule. Then,
audit\_alloc\_mark() would call kern\_path\_parent() to resolve the path,
leading to a blind attempt to acquire the exact same I\_MUTEX\_PARENT lock
already held by the task, resulting in the following recursive locking
deadlock:

 ============================================
 WARNING: possible recursive locking detected
 6.12.0-55.27.1.el10\_0.x86\_64+debug \#1 Not tainted
 --------------------------------------------
 mv/5099 is trying to acquire lock:
 ffff888132845358 (&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/1){+.+.}-{3:3},
 at: \_\_kern\_path\_locked+0x10a/0x2f0

 but task is already holding lock:
 ffff888132846b58 (&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/1){+.+.}-{3:3},
 at: lock\_two\_directories+0x13f/0x2b0

 other info that might help us debug this:
  Possible unsafe locking scenario:

        CPU0
        ----
   lock(&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/1);
   lock(&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/1);

  \*\*\* DEADLOCK \*\*\*

  May be due to missing lock nesting notation

  6 locks held by mv/5099:
  \#0: ffff888112a9c440 (sb\_writers\#13)
  at: do\_renameat2+0x34c/0xbc0
  \#1: ffff888112a9c790 (&type-\>s\_vfs\_rename\_key\#3)
  at: do\_renameat2+0x415/0xbc0
  \#2: ffff888132846b58 (&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/1)
  at: lock\_two\_directories+0x13f/0x2b0
  \#3: ffff888132845358 (&inode-\>i\_sb-\>s\_type-\>i\_mutex\_dir\_key/5)
  at: lock\_two\_directories+0x175/0x2b0
  \#4: ffffffffb3a1fb10 (&fsnotify\_mark\_srcu)
  at: fsnotify+0x454/0x28a0
  \#5: ffffffffaf886230 (audit\_filter\_mutex)
  at: audit\_update\_watch+0x36/0x11e0

 stack backtrace:
 Call Trace:
  \<TASK\>
  dump\_stack\_lvl+0x6f/0xb0
  print\_deadlock\_bug.cold+0xbd/0xca
  validate\_chain+0x83a/0xf00
  \_\_lock\_acquire+0xcac/0x1d20
  lock\_acquire.part.0+0x11b/0x360
  down\_write\_nested+0x9f/0x230
  \_\_kern\_path\_locked+0x10a/0x2f0
  kern\_path\_locked+0x26/0x40
  audit\_alloc\_mark+0xfb/0x4f0
  audit\_dupe\_exe+0x6c/0xe0
  audit\_dupe\_rule+0x6c2/0xc00
  audit\_update\_watch+0x4cc/0x11e0
  audit\_watch\_handle\_event+0x12c/0x1b0
  send\_to\_group+0x5d0/0x8b0
  fsnotify+0x615/0x28a0
  fsnotify\_move+0x1d8/0x630
  vfs\_rename+0xdcd/0x1df0
  do\_renameat2+0x9d4/0xbc0
  \_\_x64\_sys\_renameat+0x192/0x260
  do\_syscall\_64+0x92/0x180
  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
 RIP: 0033:0x7f0491fe8c4e
 Code: 0f 1f 40 00 48 8b 15 c1 e1 16 00 f7 d8 64 89 02 b8 ff ff ff ff
 c3 66 0f 1f 44 00 00 f3 0f 1e fa 49 89 ca b8 08 01 00 00 0f 05 \<48\>
 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 89
 RSP: 002b:00007ffc7210bf38 EFLAGS: 00000246 ORIG\_RAX: 0000000000000108
 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0491fe8c4e
 RDX: 0000000000000003 RSI: 00007ffc7210e6c8 RDI: 00000000ffffff9c
 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
 R10: 00005575eb2dae2a R11: 0000000000000246 R12: 00005575eb2dae2a
 R13: 00007ffc7210e6c8 R14: 0000000000000003 R15: 00000000ffffff9c
  \</TASK\>

The aforementioned deadlock can be consistently reproduced by running
the script below:

 audit-dupe-exe-deadlock.sh
 --------------------------
 \#!/bin/bash
 auditctl -D
 mkdir -p /tmp/foo
 touch /tmp/file
 auditctl -a always,exit -F exe=/tmp/file -F path=/tmp/file -S all -k dr
 mv /tmp/file /tmp/foo/file
 rm -Rf /tmp/foo

This patch fixes the issue by introducing struct audit\_watch\_ctx to pass
the fsnotify event context down to audit\_alloc\_mark(). By utilizing the
already-resolved directory inode provided by the event, we bypass the
kern\_path\_parent() path resol
---truncated---

## Affected and fixed versions

- Linux: \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 6114c3f21eb2ae175401736da744b684705e7ed9; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< f6fda0ac6661c23b8356dfb1cc423960cc6f0593; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 36eb77f14b4e6f2dc1008c1fabe31236397be27a; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 7d1f66c69898ffb1a718926c32a777ecc471caca; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3b601938314c24fcd1afb6659cad92fe96c9c2f8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 81905b5acbe77284734438df3fbec1158e6429a3 (cvelist)
- Linux: 4.3 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-68096.md
Affected: Linux >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 6114c3f21eb2ae175401736da744b684705e7ed9; >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < f6fda0ac6661c23b8356dfb1cc423960cc6f0593; >= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, < 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f; >= 34d99af52ad40bd498ba669…
Fixed in: Linux 6114c3f21eb2ae175401736da744b684705e7ed9, Linux 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f, Linux 36eb77f14b4e6f2dc1008c1fabe31236397be27a, Linux 7d1f66c69898ffb1a718926c32a777ecc471caca, Linux 40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8, Linux 3b601938314c24fcd1afb6659cad92fe96c9c2f8, Linux 81905…

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 6114c3f21eb2ae175401736da744b684705e7ed9; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< f6fda0ac6661c23b8356dfb1cc423960cc6f0593; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 36eb77f14b4e6f2dc1008c1fabe31236397be27a; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 7d1f66c69898ffb1a718926c32a777ecc471caca; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 3b601938314c24fcd1afb6659cad92fe96c9c2f8; \>= 34d99af52ad40bd498ba66970579a5bc1fb1a3bc, \< 81905b5acbe77284734438df3fbec1158e6429a3; Linux 4.3.

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

Yes. Fixed in Linux 6114c3f21eb2ae175401736da744b684705e7ed9, Linux 3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f, Linux 36eb77f14b4e6f2dc1008c1fabe31236397be27a, Linux 7d1f66c69898ffb1a718926c32a777ecc471caca, Linux 40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8, Linux 3b601938314c24fcd1afb6659cad92fe96c9c2f8, Linux 81905b5acbe77284734438df3fbec1158e6429a3. Upgrade Linux to 81905b5acbe77284734438df3fbec1158e6429a3 or later.

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

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/6114c3f21eb2ae175401736da744b684705e7ed9>
- other: <https://git.kernel.org/stable/c/f6fda0ac6661c23b8356dfb1cc423960cc6f0593>
- other: <https://git.kernel.org/stable/c/3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f>
- other: <https://git.kernel.org/stable/c/36eb77f14b4e6f2dc1008c1fabe31236397be27a>
- other: <https://git.kernel.org/stable/c/7d1f66c69898ffb1a718926c32a777ecc471caca>
- other: <https://git.kernel.org/stable/c/40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8>
- other: <https://git.kernel.org/stable/c/3b601938314c24fcd1afb6659cad92fe96c9c2f8>
- other: <https://git.kernel.org/stable/c/81905b5acbe77284734438df3fbec1158e6429a3>

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

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