Bug 1227821 (CVE-2024-40985)

Summary: VUL-0: CVE-2024-40985: kernel: net/tcp_ao: Don't leak ao_info on error-path
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: REOPENED --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: gianluca.gabrielli, miroslav.franc
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413912/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-15 13:31:30 UTC
In the Linux kernel, the following vulnerability has been resolved:

net/tcp_ao: Don't leak ao_info on error-path

It seems I introduced it together with TCP_AO_CMDF_AO_REQUIRED, on
version 5 [1] of TCP-AO patches. Quite frustrative that having all these
selftests that I've written, running kmemtest & kcov was always in todo.

[1]: https://lore.kernel.org/netdev/20230215183335.800122-5-dima@arista.com/

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40985
https://www.cve.org/CVERecord?id=CVE-2024-40985
https://git.kernel.org/stable/c/ebaa7d3c26332330a48f9a15f8e518d526cc0f21
https://git.kernel.org/stable/c/f9ae848904289ddb16c7c9e4553ed4c64300de49
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40985.mbox