Description
In the Linux kernel, the following vulnerability has been resolved: crypto: jitterentropy - replace long-held spinlock with mutex jent_kcapi_random() serializes the shared jitterentropy state, but it currently holds a spinlock across the jent_read_entropy() call. That path performs expensive jitter collection and SHA3 conditioning, so parallel readers can trigger stalls as contending waiters spin for the same lock. To prevent non-preemptible lock hold, replace rng->jent_lock with a mutex so contended readers sleep instead of spinning on a shared lock held across expensive entropy generation.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bb5530e4082446aac3a3d69780cd4dbfa4520013 to < 21de77d06f6b540e870e64ef5ff56be4eb8ba08faffectedbb5530e4082446aac3a3d69780cd4dbfa4520013 to < 18216b8ab6904753eaf31baf453cb02ecd202ba4affectedbb5530e4082446aac3a3d69780cd4dbfa4520013 to < 4c03e6eb98443dc4d6d422a9780034a5b75376b4affectedbb5530e4082446aac3a3d69780cd4dbfa4520013 to < ff734dbd9e2432601a6dcd167cfb0bf8a36d1880affectedbb5530e4082446aac3a3d69780cd4dbfa4520013 to < ec427dc5286da1ed08f2d510e2147a7581b0cb02affectedbb5530e4082446aac3a3d69780cd4dbfa4520013 to < 01d798e9feb30212952d4e992801ba6bd6a82351affected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected6.1.191 to ≤ 6.1.*unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/21de77d06f6b540e870e64ef5ff56be4eb8ba08f ↗
- https://git.kernel.org/stable/c/18216b8ab6904753eaf31baf453cb02ecd202ba4 ↗
- https://git.kernel.org/stable/c/4c03e6eb98443dc4d6d422a9780034a5b75376b4 ↗
- https://git.kernel.org/stable/c/ff734dbd9e2432601a6dcd167cfb0bf8a36d1880 ↗
- https://git.kernel.org/stable/c/ec427dc5286da1ed08f2d510e2147a7581b0cb02 ↗
- https://git.kernel.org/stable/c/01d798e9feb30212952d4e992801ba6bd6a82351 ↗