Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before df22c9a65e9a9daa368a72fed596af9d7d5876bb; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before fee86edf5803f1d1f19e3b4f2dacac241bddfa48; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before 767e8349f7e929b7dd95c08f0b4cb353459b365e; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before b0a9609283a5c852addb513dafa655c61eebc1ef; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before 161bdc90fce25bd9890adc67fa1c8563a7acbf40; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before 9532ff0d0e90ff78a214299f594ab9bac81defe4; affected 104880a6b470958ddc30e139c41aa4f6ed3a5234 before 2397e9264676be7794f8f7f1e9763d90bd3c7335 |
| Linux / Linux | affected 4.3; unaffected 0 before 4.3; unaffected 5.10.249 through 5.10.*; unaffected 5.15.199 through 5.15.*; unaffected 6.1.162 through 6.1.*; unaffected 6.6.122 through 6.6.*; unaffected 6.12.68 through 6.12.*; unaffected 6.18.8 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/df22c9a65e9a9daa368a72fed596af9d7d5876bb
- https://git.kernel.org/stable/c/fee86edf5803f1d1f19e3b4f2dacac241bddfa48
- https://git.kernel.org/stable/c/767e8349f7e929b7dd95c08f0b4cb353459b365e
- https://git.kernel.org/stable/c/b0a9609283a5c852addb513dafa655c61eebc1ef
- https://git.kernel.org/stable/c/161bdc90fce25bd9890adc67fa1c8563a7acbf40
- https://git.kernel.org/stable/c/9532ff0d0e90ff78a214299f594ab9bac81defe4
- https://git.kernel.org/stable/c/2397e9264676be7794f8f7f1e9763d90bd3c7335
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.