Linux
io_uring: preserve task restrictions across exec
In the Linux kernel, the following vulnerability has been resolved: io_uring: preserve task restrictions across exec Per-task restrictions apply to all rings created by a task. Once installed, they should not be dropped across exec. For a task that has used io_uring, the exec cancellation path calls __io_uring_free(). This frees both the task context and the per-task restriction, so a ring created after exec is unrestricted. Split task context cleanup into io_uring_free_tctx(), and use it from the exec cancellation path. Keep __io_uring_free() for final task cleanup, where both the context and restriction are released.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ed82f35b926b2e505c14b7006473614b8f58b4f4, < fcef9325afeecced693a7438e975e4a3f8e2716f
- >= ed82f35b926b2e505c14b7006473614b8f58b4f4, < bc0e8faf90e776a2f1f3967a04e8091e6bdb4977
Fixed in fcef9325afeecced693a7438e975e4a3f8e2716f, bc0e8faf90e776a2f1f3967a04e8091e6bdb4977
- 7.0
Fixed in 0, 7.1.8, 7.2
Mitigation
Upgrade Linux to fcef9325afeecced693a7438e975e4a3f8e2716f or bc0e8faf90e776a2f1f3967a04e8091e6bdb4977 or later.
Upgrade Linux to 0 or 7.1.8 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.