CVE-2024-40985 net/tcp_ao: Don't leak ao_info on error-path
A memory leak in the Linux kernel's TCP-AO implementation allows attackers to read sensitive kernel memory via error paths.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-40985?
CVE-2024-40985 is a medium-severity vulnerability in Linux kernel, published on 12 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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/[email protected]/
Which versions are affected by CVE-2024-40985?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-40985?
Apply the vendor's patch.
Is CVE-2024-40985 being exploited?
There is no known exploitation of CVE-2024-40985 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-40985, DEBIAN-CVE-2024-40985, GHSA-v4r6-q7g9-x5fq, UBUNTU-CVE-2024-40985.