crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in df22c9a65e9a9daa368a72fed596af9d7d5876bb; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in fee86edf5803f1d1f19e3b4f2dacac241bddfa48; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in 767e8349f7e929b7dd95c08f0b4cb353459b365e; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in b0a9609283a5c852addb513dafa655c61eebc1ef; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in 161bdc90fce25bd9890adc67fa1c8563a7acbf40; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in 9532ff0d0e90ff78a214299f594ab9bac81defe4; From 104880a6b470958ddc30e139c41aa4f6ed3a5234 · fixed in 2397e9264676be7794f8f7f1e9763d90bd3c7335
- Linux Linux
4.3
- KernelLinux
From 4.3.0 · fixed in 5.10.249; From 5.11.0 · fixed in 5.15.199; From 5.16.0 · fixed in 6.1.162; From 6.2.0 · fixed in 6.6.122; From 6.7.0 · fixed in 6.12.68; From 6.13.0 · fixed in 6.18.8
References 7
git.kernel.org
- stable/c/df22c9a65e9a9daa368a72fed596af9d7d5876bb
- stable/c/fee86edf5803f1d1f19e3b4f2dacac241bddfa48
- stable/c/767e8349f7e929b7dd95c08f0b4cb353459b365e
- stable/c/b0a9609283a5c852addb513dafa655c61eebc1ef
- stable/c/161bdc90fce25bd9890adc67fa1c8563a7acbf40
- stable/c/9532ff0d0e90ff78a214299f594ab9bac81defe4
- stable/c/2397e9264676be7794f8f7f1e9763d90bd3c7335