CVE-2024-40985

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-40985
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40985.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40985
Downstream
Published
2024-07-12T12:37:31.133Z
Modified
2025-11-16T00:15:25.237571Z
Summary
net/tcp_ao: Don't leak ao_info on error-path
Details

In the Linux kernel, the following vulnerability has been resolved:

net/tcpao: Don't leak aoinfo on error-path

It seems I introduced it together with TCPAOCMDFAOREQUIRED, 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.

References

Affected packages

Git / 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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0aadc73995d08f6b0dc061c14a564ffa46f5914e
Fixed
f9ae848904289ddb16c7c9e4553ed4c64300de49

Affected versions

v6.*

v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.6
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.7