CVE-2026-93252

Source
https://cve.org/CVERecord?id=CVE-2026-93252
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93252.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93252
Downstream
Related
Published
2026-09-24T15:51:28Z
Modified
2026-10-08T02:52:36Z
Summary
ocfs2: fix circular locking dependency in ocfs2_init_acl()
Details

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

ocfs2: fix circular locking dependency in ocfs2_init_acl()

A lockdep warning indicates a circular locking dependency between &oi->ip_xattr_sem and &journal->j_trans_barrier:

WARNING: possible circular locking dependency detected is trying to acquire lock: (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_init_acl+0x2fd/0x7e0 fs/ocfs2/acl.c:367

but task is already holding lock: (&journal->j_trans_barrier){.+.+}-{4:4}, at: ocfs2_start_trans+0x3ab/0x700 fs/ocfs2/journal.c:369

The deadlock involves two code paths: Path 1 (setxattr) where ocfs2_xattr_set() acquires ip_xattr_sem (write) and then starts a transaction, which acquires j_trans_barrier (read); and Path 2 (mkdir/mknod) where ocfs2_mknod() starts a transaction (j_trans_barrier read) and then calls ocfs2_init_acl(), which attempts to acquire ip_xattr_sem (read) on the parent directory to retrieve the default ACL.

Because rw_semaphores are subject to writer priority, a pending writer on j_trans_barrier (e.g., the journal commit thread) can cause Path 1 to block, while Path 2 is blocked waiting for Path 1 to release ip_xattr_sem.

The patch fixes the lock ordering by precomputing the ACL state before starting the OCFS2 transaction, while preserving POSIX ACL storage semantics and the existing inode/security initialization order. By reading the parent directory's default ACL and preparing the new inode's ACLs outside the transaction, ip_xattr_sem is always acquired before j_trans_barrier.

struct ocfs2_acl_state encapsulates the prepared ACL state, while ocfs2_acl_init_prepare() and ocfs2_acl_init_release() avoid code duplication between ocfs2_mknod() and ocfs2_init_security_and_acl(). ocfs2_calc_xattr_init() and ocfs2_init_acl() use this precomputed state, removing internal ip_xattr_sem acquisition and redundant disk reads.

Additionally, remove the ip_xattr_sem acquisition from ocfs2_xattr_set_handle(). This function is only used while initializing a new inode that has not yet been inserted into the inode hash or attached to a dentry, meaning there is no risk of concurrent access and the lock is unnecessary.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93252.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
16c8d569f5704a84164f30ff01b29879f3438065
Fixed
4936d4464d1ae10b5fbba64374085a0dcc060560
Fixed
caf3056936fb8b5ce92e419cf8b246ce9c437343
Fixed
5b7b3c50c39ad0dc27e7418981e01c4183273f89
Fixed
8d88f52fbbbcc18adf4091a955511d0cf605bf11
Fixed
8931403ee3dcfe8a24a5267efec9d9460ab7a1b5
Fixed
f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758
Fixed
1222f7a3183b35c0c566899fdaead5c7c4043076
Fixed
bd7c05fb4a4776dff5a87b19008d28458647d15d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3.18.111
Fixed
3.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.4.134
Fixed
4.5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.9.104
Fixed
4.10
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4.14.37
Fixed
4.15
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
15ac59a84750b3afc0a2b6f2636c4f7e6cbd6d5e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b35bb8a41795caa05e09c3aacf7d78f1f20bac04
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1d5fdc1307eeb04b334c5dc23e11dbd6068d90eb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a66174eb4a149b7919d174d9a7ce6ad9909c5ee2

Affected versions

v3.*
v3.18.111
v3.18.112
v3.18.113
v3.18.114
v3.18.115
v3.18.116
v3.18.117
v3.18.118
v3.18.119
v3.18.120
v3.18.121
v3.18.122
v3.18.123
v3.18.124
v3.18.125
v3.18.126
v3.18.127
v3.18.128
v3.18.129
v3.18.130
v3.18.131
v3.18.132
v3.18.133
v3.18.134
v3.18.135
v3.18.136
v3.18.137
v3.18.138
v3.18.139
v3.18.140
v4.*
v4.14.100
v4.14.101
v4.14.102
v4.14.103
v4.14.104
v4.14.105
v4.14.106
v4.14.107
v4.14.108
v4.14.109
v4.14.110
v4.14.111
v4.14.112
v4.14.113
v4.14.114
v4.14.115
v4.14.116
v4.14.117
v4.14.118
v4.14.119
v4.14.120
v4.14.121
v4.14.122
v4.14.123
v4.14.124
v4.14.125
v4.14.126
v4.14.127
v4.14.128
v4.14.129
v4.14.130
v4.14.131
v4.14.132
v4.14.133
v4.14.134
v4.14.135
v4.14.136
v4.14.137
v4.14.138
v4.14.139
v4.14.140
v4.14.141
v4.14.142
v4.14.143
v4.14.144
v4.14.145
v4.14.146
v4.14.147
v4.14.148
v4.14.149
v4.14.150
v4.14.151
v4.14.152
v4.14.153
v4.14.154
v4.14.155
v4.14.156
v4.14.157
v4.14.158
v4.14.159
v4.14.160
v4.14.161
v4.14.162
v4.14.163
v4.14.164
v4.14.165
v4.14.166
v4.14.167
v4.14.168
v4.14.169
v4.14.170
v4.14.171
v4.14.172
v4.14.173
v4.14.174
v4.14.175
v4.14.176
v4.14.177
v4.14.178
v4.14.179
v4.14.180
v4.14.181
v4.14.182
v4.14.183
v4.14.184
v4.14.185
v4.14.186
v4.14.187
v4.14.188
v4.14.189
v4.14.190
v4.14.191
v4.14.192
v4.14.193
v4.14.194
v4.14.195
v4.14.196
v4.14.197
v4.14.198
v4.14.199
v4.14.200
v4.14.201
v4.14.202
v4.14.203
v4.14.204
v4.14.205
v4.14.206
v4.14.207
v4.14.208
v4.14.209
v4.14.210
v4.14.211
v4.14.212
v4.14.213
v4.14.214
v4.14.215
v4.14.216
v4.14.217
v4.14.218
v4.14.219
v4.14.220
v4.14.221
v4.14.222
v4.14.223
v4.14.224
v4.14.225
v4.14.226
v4.14.227
v4.14.228
v4.14.229
v4.14.230
v4.14.231
v4.14.232
v4.14.233
v4.14.234
v4.14.235
v4.14.236
v4.14.237
v4.14.238
v4.14.239
v4.14.240
v4.14.241
v4.14.242
v4.14.243
v4.14.244
v4.14.245
v4.14.246
v4.14.247
v4.14.248
v4.14.249
v4.14.250
v4.14.251
v4.14.252
v4.14.253
v4.14.254
v4.14.255
v4.14.256
v4.14.257
v4.14.258
v4.14.259
v4.14.260
v4.14.261
v4.14.262
v4.14.263
v4.14.264
v4.14.265
v4.14.266
v4.14.267
v4.14.268
v4.14.269
v4.14.270
v4.14.271
v4.14.272
v4.14.273
v4.14.274
v4.14.275
v4.14.276
v4.14.277
v4.14.278
v4.14.279
v4.14.280
v4.14.281
v4.14.282
v4.14.283
v4.14.284
v4.14.285
v4.14.286
v4.14.287
v4.14.288
v4.14.289
v4.14.290
v4.14.291
v4.14.292
v4.14.293
v4.14.294
v4.14.295
v4.14.296
v4.14.297
v4.14.298
v4.14.299
v4.14.300
v4.14.301
v4.14.302
v4.14.303
v4.14.304
v4.14.305
v4.14.306
v4.14.307
v4.14.308
v4.14.309
v4.14.310
v4.14.311
v4.14.312
v4.14.313
v4.14.314
v4.14.315
v4.14.316
v4.14.317
v4.14.318
v4.14.319
v4.14.320
v4.14.321
v4.14.322
v4.14.323
v4.14.324
v4.14.325
v4.14.326
v4.14.327
v4.14.328
v4.14.329
v4.14.330
v4.14.331
v4.14.332
v4.14.333
v4.14.334
v4.14.335
v4.14.336
v4.14.37
v4.14.38
v4.14.39
v4.14.40
v4.14.41
v4.14.42
v4.14.43
v4.14.44
v4.14.45
v4.14.46
v4.14.47
v4.14.48
v4.14.49
v4.14.50
v4.14.51
v4.14.52
v4.14.53
v4.14.54
v4.14.55
v4.14.56
v4.14.57
v4.14.58
v4.14.59
v4.14.60
v4.14.61
v4.14.62
v4.14.63
v4.14.64
v4.14.65
v4.14.66
v4.14.67
v4.14.68
v4.14.69
v4.14.70
v4.14.71
v4.14.72
v4.14.73
v4.14.74
v4.14.75
v4.14.76
v4.14.77
v4.14.78
v4.14.79
v4.14.80
v4.14.81
v4.14.82
v4.14.83
v4.14.84
v4.14.85
v4.14.86
v4.14.87
v4.14.88
v4.14.89
v4.14.90
v4.14.91
v4.14.92
v4.14.93
v4.14.94
v4.14.95
v4.14.96
v4.14.97
v4.14.98
v4.14.99
v4.4.134
v4.4.135
v4.4.136
v4.4.137
v4.4.138
v4.4.139
v4.4.140
v4.4.141
v4.4.142
v4.4.143
v4.4.144
v4.4.145
v4.4.146
v4.4.147
v4.4.148
v4.4.149
v4.4.150
v4.4.151
v4.4.152
v4.4.153
v4.4.154
v4.4.155
v4.4.156
v4.4.157
v4.4.158
v4.4.159
v4.4.160
v4.4.161
v4.4.162
v4.4.163
v4.4.164
v4.4.165
v4.4.166
v4.4.167
v4.4.168
v4.4.169
v4.4.170
v4.4.171
v4.4.172
v4.4.173
v4.4.174
v4.4.175
v4.4.176
v4.4.177
v4.4.178
v4.4.179
v4.4.180
v4.4.181
v4.4.182
v4.4.183
v4.4.184
v4.4.185
v4.4.186
v4.4.187
v4.4.188
v4.4.189
v4.4.190
v4.4.191
v4.4.192
v4.4.193
v4.4.194
v4.4.195
v4.4.196
v4.4.197
v4.4.198
v4.4.199
v4.4.200
v4.4.201
v4.4.202
v4.4.203
v4.4.204
v4.4.205
v4.4.206
v4.4.207
v4.4.208
v4.4.209
v4.4.210
v4.4.211
v4.4.212
v4.4.213
v4.4.214
v4.4.215
v4.4.216
v4.4.217
v4.4.218
v4.4.219
v4.4.220
v4.4.221
v4.4.222
v4.4.223
v4.4.224
v4.4.225
v4.4.226
v4.4.227
v4.4.228
v4.4.229
v4.4.230
v4.4.231
v4.4.232
v4.4.233
v4.4.234
v4.4.235
v4.4.236
v4.4.237
v4.4.238
v4.4.239
v4.4.240
v4.4.241
v4.4.242
v4.4.243
v4.4.244
v4.4.245
v4.4.246
v4.4.247
v4.4.248
v4.4.249
v4.4.250
v4.4.251
v4.4.252
v4.4.253
v4.4.254
v4.4.255
v4.4.256
v4.4.257
v4.4.258
v4.4.259
v4.4.260
v4.4.261
v4.4.262
v4.4.263
v4.4.264
v4.4.265
v4.4.266
v4.4.267
v4.4.268
v4.4.269
v4.4.270
v4.4.271
v4.4.272
v4.4.273
v4.4.274
v4.4.275
v4.4.276
v4.4.277
v4.4.278
v4.4.279
v4.4.280
v4.4.281
v4.4.282
v4.4.283
v4.4.284
v4.4.285
v4.4.286
v4.4.287
v4.4.288
v4.4.289
v4.4.290
v4.4.291
v4.4.292
v4.4.293
v4.4.294
v4.4.295
v4.4.296
v4.4.297
v4.4.298
v4.4.299
v4.4.300
v4.4.301
v4.4.302
v4.9.104
v4.9.105
v4.9.106
v4.9.107
v4.9.108
v4.9.109
v4.9.110
v4.9.111
v4.9.112
v4.9.113
v4.9.114
v4.9.115
v4.9.116
v4.9.117
v4.9.118
v4.9.119
v4.9.120
v4.9.121
v4.9.122
v4.9.123
v4.9.124
v4.9.125
v4.9.126
v4.9.127
v4.9.128
v4.9.129
v4.9.130
v4.9.131
v4.9.132
v4.9.133
v4.9.134
v4.9.135
v4.9.136
v4.9.137
v4.9.138
v4.9.139
v4.9.140
v4.9.141
v4.9.142
v4.9.143
v4.9.144
v4.9.145
v4.9.146
v4.9.147
v4.9.148
v4.9.149
v4.9.150
v4.9.151
v4.9.152
v4.9.153
v4.9.154
v4.9.155
v4.9.156
v4.9.157
v4.9.158
v4.9.159
v4.9.160
v4.9.161
v4.9.162
v4.9.163
v4.9.164
v4.9.165
v4.9.166
v4.9.167
v4.9.168
v4.9.169
v4.9.170
v4.9.171
v4.9.172
v4.9.173
v4.9.174
v4.9.175
v4.9.176
v4.9.177
v4.9.178
v4.9.179
v4.9.180
v4.9.181
v4.9.182
v4.9.183
v4.9.184
v4.9.185
v4.9.186
v4.9.187
v4.9.188
v4.9.189
v4.9.190
v4.9.191
v4.9.192
v4.9.193
v4.9.194
v4.9.195
v4.9.196
v4.9.197
v4.9.198
v4.9.199
v4.9.200
v4.9.201
v4.9.202
v4.9.203
v4.9.204
v4.9.205
v4.9.206
v4.9.207
v4.9.208
v4.9.209
v4.9.210
v4.9.211
v4.9.212
v4.9.213
v4.9.214
v4.9.215
v4.9.216
v4.9.217
v4.9.218
v4.9.219
v4.9.220
v4.9.221
v4.9.222
v4.9.223
v4.9.224
v4.9.225
v4.9.226
v4.9.227
v4.9.228
v4.9.229
v4.9.230
v4.9.231
v4.9.232
v4.9.233
v4.9.234
v4.9.235
v4.9.236
v4.9.237
v4.9.238
v4.9.239
v4.9.240
v4.9.241
v4.9.242
v4.9.243
v4.9.244
v4.9.245
v4.9.246
v4.9.247
v4.9.248
v4.9.249
v4.9.250
v4.9.251
v4.9.252
v4.9.253
v4.9.254
v4.9.255
v4.9.256
v4.9.257
v4.9.258
v4.9.259
v4.9.260
v4.9.261
v4.9.262
v4.9.263
v4.9.264
v4.9.265
v4.9.266
v4.9.267
v4.9.268
v4.9.269
v4.9.270
v4.9.271
v4.9.272
v4.9.273
v4.9.274
v4.9.275
v4.9.276
v4.9.277
v4.9.278
v4.9.279
v4.9.280
v4.9.281
v4.9.282
v4.9.283
v4.9.284
v4.9.285
v4.9.286
v4.9.287
v4.9.288
v4.9.289
v4.9.290
v4.9.291
v4.9.292
v4.9.293
v4.9.294
v4.9.295
v4.9.296
v4.9.297
v4.9.298
v4.9.299
v4.9.300
v4.9.301
v4.9.302
v4.9.303
v4.9.304
v4.9.305
v4.9.306
v4.9.307
v4.9.308
v4.9.309
v4.9.310
v4.9.311
v4.9.312
v4.9.313
v4.9.314
v4.9.315
v4.9.316
v4.9.317
v4.9.318
v4.9.319
v4.9.320
v4.9.321
v4.9.322
v4.9.323
v4.9.324
v4.9.325
v4.9.326
v4.9.327
v4.9.328
v4.9.329
v4.9.330
v4.9.331
v4.9.332
v4.9.333
v4.9.334
v4.9.335
v4.9.336
v4.9.337

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93252.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
5.10.270
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.221
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.188
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.157
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93252.json"