Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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/

Products
Kernel
Affected versions
Not specified
Fixed versions
6.9.7
CVEs
CVE-2024-40985
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:04 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 12 Jul 2024, 12:37 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/

osv:CVE-2024-40985

Kernel

Fixed versions: 6.9.7

Complete source record
{
  "id": "ade7542d28df2e1fd379c43ade08a5734e222fdce26768abdda5fc5f75f4a16c",
  "url": "https://osv.dev/vulnerability/CVE-2024-40985",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/tcp_ao: Don't leak ao_info on error-path",
    "summary": "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/",
    "evidence": "osv:CVE-2024-40985",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.9.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-40985",
      "aliases": [
        "CVE-2024-40985"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0aadc73995d08f6b0dc061c14a564ffa46f5914e"
                },
                {
                  "fixed": "ebaa7d3c26332330a48f9a15f8e518d526cc0f21"
                },
                {
                  "fixed": "f9ae848904289ddb16c7c9e4553ed4c64300de49"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40985.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40985.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.564500963Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/ebaa7d3c26332330a48f9a15f8e518d526cc0f21",
        "https://git.kernel.org/stable/c/f9ae848904289ddb16c7c9e4553ed4c64300de49",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40985.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-40985",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40985.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-40985",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487456,
  "published_at": "2024-07-12T12:37:31.133+00:00"
}