audit: fix recursive locking deadlock in audit_dupe_exe()
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 hel
CVE-2026-68096
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-68096
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "6114c3f21eb2ae175401736da744b684705e7ed9",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "f6fda0ac6661c23b8356dfb1cc423960cc6f0593",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "3bbb4931f7cd84cecf29ec222c0732bf9ad4da9f",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "36eb77f14b4e6f2dc1008c1fabe31236397be27a",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "7d1f66c69898ffb1a718926c32a777ecc471caca",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "40879c39d6740f3dddfb52b5d6ba7fb8cceb84d8",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "3b601938314c24fcd1afb6659cad92fe96c9c2f8",
"versionType": "git"
},
{
"status": "affected",
"version": "34d99af52ad40bd498ba66970579a5bc1fb1a3bc",
"lessThan": "81905b5acbe77284734438df3fbec1158e6429a3",
"versionType": "git"
}
],
"programFiles": [
"kernel/audit.h",
"kernel/audit_fsnotify.c",
"kernel/audit_watch.c",
"kernel/auditfilter.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.3"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.266",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.217",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.184",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.148",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.101",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.42",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.6",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"kernel/audit.h",
"kernel/audit_fsnotify.c",
"kernel/audit_watch.c",
"kernel/auditfilter.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-68096
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #41109 · Revision 1
- Added to Heist Feed
- Publisher date