crypto: af_alg - limit RX SG extraction by receive buffer budget
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.12.83, Kernel 6.18.24, Kernel 6.19.14 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - limit RX SG extraction by receive buffer budget Make af_alg_get_rsgl() limit each RX scatterlist extraction to the remaining receive buffer budget. af_alg_get_rsgl() currently uses af_alg_readable() only as a gate before extracting data into the RX scatterlist. Limit each extraction to the remaining af_alg_rcvbuf(sk) budget so that receive-side accounting matches the amount of data attached to the request. If skcipher cannot obtain enough RX space for at least one chunk while more data remains to be processed, reject the recvmsg call instead of rounding the request length down to zero.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.14 <6.12.83, >=6.13 <6.18.24, >=6.19 <6.19.14, =7.0, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <4a264b2614c73c96666e196bbabe0cead52bdba7, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <7e345de2e69475430af85e09210795d8eb8e719c, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <8eceab19eba9dcbfd2a0daec72e1bf48aa100170, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <960c56743988d8ce9ff9b5d770dbeb5f64823a23, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9, =4.14, >=e870456d8e7c8d57c059ea479b5aadbb55ff4c3a <07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453 | 6.12.83, 6.18.24, 6.19.14, 4a264b2614c73c96666e196bbabe0cead52bdba7, 7e345de2e69475430af85e09210795d8eb8e719c, 8eceab19eba9dcbfd2a0daec72e1bf48aa100170, 960c56743988d8ce9ff9b5d770dbeb5f64823a23, 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9, 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453 |
| linux-kernel: Kernel | >=4.14.0 <6.1.191, >=6.13.0 <6.18.24, >=6.19.0 <6.19.14, >=6.2.0 <6.6.160, >=6.7.0 <6.12.83 | 6.1.191, 6.18.24, 6.19.14, 6.6.160, 6.12.83 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket