crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.249, Kernel 5.15.199, Kernel 6.1.162 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec authencesn assumes an ESP/ESN-formatted AAD. When assoclen is shorter than the minimum expected length, crypto_authenc_esn_decrypt() can advance past the end of the destination scatterlist and trigger a NULL pointer dereference in scatterwalk_map_and_copy(), leading to a kernel panic (DoS). Add a minimum AAD length check to fail fast on invalid inputs.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.3 <5.10.249, >=5.11 <5.15.199, >=5.16 <6.1.162, >=6.13 <6.18.8, >=6.2 <6.6.122, >=6.7 <6.12.68, =6.19, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <2397e9264676be7794f8f7f1e9763d90bd3c7335, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <767e8349f7e929b7dd95c08f0b4cb353459b365e, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <9532ff0d0e90ff78a214299f594ab9bac81defe4, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <b0a9609283a5c852addb513dafa655c61eebc1ef, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <df22c9a65e9a9daa368a72fed596af9d7d5876bb, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <fee86edf5803f1d1f19e3b4f2dacac241bddfa48, =4.3, >=104880a6b470958ddc30e139c41aa4f6ed3a5234 <161bdc90fce25bd9890adc67fa1c8563a7acbf40 | 5.10.249, 5.15.199, 6.1.162, 6.18.8, 6.6.122, 6.12.68, 2397e9264676be7794f8f7f1e9763d90bd3c7335, 767e8349f7e929b7dd95c08f0b4cb353459b365e, 9532ff0d0e90ff78a214299f594ab9bac81defe4, b0a9609283a5c852addb513dafa655c61eebc1ef, df22c9a65e9a9daa368a72fed596af9d7d5876bb, fee86edf5803f1d1f19e3b4f2dacac241bddfa48, 161bdc90fce25bd9890adc67fa1c8563a7acbf40 |
| linux-kernel: Kernel | >=4.3.0 <5.10.249, >=5.11.0 <5.15.199, >=5.16.0 <6.1.162, >=6.13.0 <6.18.8, >=6.2.0 <6.6.122, >=6.7.0 <6.12.68 | 5.10.249, 5.15.199, 6.1.162, 6.18.8, 6.6.122, 6.12.68 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket