crypto: jitterentropy - replace long-held spinlock with mutex
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6.141, Kernel 6.18.33, Kernel 7.0.10 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.2 <6.6.141, >=6.13 <6.18.33, >=6.19 <7.0.10, >=6.7 <6.12.91, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <18216b8ab6904753eaf31baf453cb02ecd202ba4, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <21de77d06f6b540e870e64ef5ff56be4eb8ba08f, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <4c03e6eb98443dc4d6d422a9780034a5b75376b4, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <ec427dc5286da1ed08f2d510e2147a7581b0cb02, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <ff734dbd9e2432601a6dcd167cfb0bf8a36d1880, =4.2, >=bb5530e4082446aac3a3d69780cd4dbfa4520013 <01d798e9feb30212952d4e992801ba6bd6a82351 | 6.6.141, 6.18.33, 7.0.10, 6.12.91, 18216b8ab6904753eaf31baf453cb02ecd202ba4, 21de77d06f6b540e870e64ef5ff56be4eb8ba08f, 4c03e6eb98443dc4d6d422a9780034a5b75376b4, ec427dc5286da1ed08f2d510e2147a7581b0cb02, ff734dbd9e2432601a6dcd167cfb0bf8a36d1880, 01d798e9feb30212952d4e992801ba6bd6a82351 |
| linux-kernel: Kernel | >=4.2.0 <6.1.191, >=6.13.0 <6.18.33, >=6.19.0 <7.0.10, >=6.2.0 <6.6.141, >=6.7.0 <6.12.91 | 6.1.191, 6.18.33, 7.0.10, 6.6.141, 6.12.91 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket