{"id":"CVE-2024-40985","summary":"net/tcp_ao: Don't leak ao_info on error-path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/tcp_ao: Don't leak ao_info on error-path\n\nIt seems I introduced it together with TCP_AO_CMDF_AO_REQUIRED, on\nversion 5 [1] of TCP-AO patches. Quite frustrative that having all these\nselftests that I've written, running kmemtest & kcov was always in todo.\n\n[1]: https://lore.kernel.org/netdev/20230215183335.800122-5-dima@arista.com/","modified":"2026-04-02T12:17:23.403744Z","published":"2024-07-12T12:37:31.133Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40985.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/ebaa7d3c26332330a48f9a15f8e518d526cc0f21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9ae848904289ddb16c7c9e4553ed4c64300de49"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40985.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40985"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0aadc73995d08f6b0dc061c14a564ffa46f5914e"},{"fixed":"ebaa7d3c26332330a48f9a15f8e518d526cc0f21"},{"fixed":"f9ae848904289ddb16c7c9e4553ed4c64300de49"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40985.json"}}],"schema_version":"1.7.5"}