Linux
afs: Fix lack of locking around modifications of net->cells_dyn_ino
In the Linux kernel, the following vulnerability has been resolved: afs: Fix lack of locking around modifications of net->cells_dyn_ino Fix the lack of locking around modifications of net->cells_dyn_ino by taking net->cells_lock exclusively. This also requires to cell to be removed from net->cells_dyn_ino in afs_destroy_cell_work() rather than in afs_cell_destroy() as the latter runs in RCU cleanup context and sleeping locks cannot be taken there.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 537b0105952578531f748c7fb3ce36ae9a514784, < 4d8a2fe8847859f4fa4e9a2fa1221c9c1158e66b
- >= 1d0b929fc070b4115403a0a6206a0c6a62dd61f5, < 2ffb70a8a01988046bb207b7d0af9358a8337378
- >= 1d0b929fc070b4115403a0a6206a0c6a62dd61f5, < e94f92fd56c553a8bf9421c3289e1b85c7c08857
- >= 1d0b929fc070b4115403a0a6206a0c6a62dd61f5, < 55e841836c6f4646490f7b0347192b7a92d431ba
- >= 6.12.97, < 6.12.101
Fixed in 4d8a2fe8847859f4fa4e9a2fa1221c9c1158e66b, 2ffb70a8a01988046bb207b7d0af9358a8337378, e94f92fd56c553a8bf9421c3289e1b85c7c08857, 55e841836c6f4646490f7b0347192b7a92d431ba, 6.12.101
- 6.15
Fixed in 0, 6.12.101, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 4d8a2fe8847859f4fa4e9a2fa1221c9c1158e66b or 2ffb70a8a01988046bb207b7d0af9358a8337378 or e94f92fd56c553a8bf9421c3289e1b85c7c08857 or 55e841836c6f4646490f7b0347192b7a92d431ba or 6.12.101 or later.
Upgrade Linux to 0 or 6.12.101 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.