Skip to content
Heist/ feed
Back to feed
UnratedFix available

net: sched: act_connmark: initialize struct tc_ife to fix kernel leak

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: sched: act_connmark: initialize struct tc_ife to fix kernel leak In tcf_connmark_dump(), the variable 'opt' was partially initialized using a designatied initializer. While the padding bytes are reamined uninitialized. nla_put() copies the entire structure into a netlink message, these uninitialized bytes leaked to userspace. Initialize the structure with memset before assigning its fields to ensure all members and padding are cleared prior to beign copied.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.197, 6.1.159, 6.12.59, 6.17.9, 6.6.117
CVEs
CVE-2025-40279
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:46 UTC · Revision 1

Source evidence

net: sched: act_connmark: initialize struct tc_ife to fix kernel leak

core-osv · Original source

Published 6 Dec 2025, 21:51 UTC

In the Linux kernel, the following vulnerability has been resolved: net: sched: act_connmark: initialize struct tc_ife to fix kernel leak In tcf_connmark_dump(), the variable 'opt' was partially initialized using a designatied initializer. While the padding bytes are reamined uninitialized. nla_put() copies the entire structure into a netlink message, these uninitialized bytes leaked to userspace. Initialize the structure with memset before assigning its fields to ensure all members and padding are cleared prior to beign copied.

osv:CVE-2025-40279

Kernel

Fixed versions: 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9

Complete source record
{
  "id": "e94b469697f409748394e7830a6d16f9ac25f9777da91c591b13c549cd912838",
  "url": "https://osv.dev/vulnerability/CVE-2025-40279",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: sched: act_connmark: initialize struct tc_ife to fix kernel leak",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: sched: act_connmark: initialize struct tc_ife to fix kernel leak In tcf_connmark_dump(), the variable 'opt' was partially initialized using a designatied initializer. While the padding bytes are reamined uninitialized. nla_put() copies the entire structure into a netlink message, these uninitialized bytes leaked to userspace. Initialize the structure with memset before assigning its fields to ensure all members and padding are cleared prior to beign copied.",
    "evidence": "osv:CVE-2025-40279",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.197",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.159",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.117",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.59",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-40279",
      "aliases": [
        "CVE-2025-40279"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae"
                },
                {
                  "fixed": "218b67c8c8246d47a2a7910eae80abe4861fe2b7"
                },
                {
                  "fixed": "73cc56c608c209d3d666cc571293b090a471da70"
                },
                {
                  "fixed": "31e4aa93e2e5b5647fc235b0f6ee329646878f9e"
                },
                {
                  "fixed": "51cb05d4fd632596816ba44e882e84db9fb28a7e"
                },
                {
                  "fixed": "25837889ec062f2b7618142cd80253dff3da5343"
                },
                {
                  "fixed": "62b656e43eaeae445a39cd8021a4f47065af4389"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40279.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.0.0"
                },
                {
                  "fixed": "5.15.197"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.159"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.117"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.59"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40279.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.792858228Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/218b67c8c8246d47a2a7910eae80abe4861fe2b7",
        "https://git.kernel.org/stable/c/25837889ec062f2b7618142cd80253dff3da5343",
        "https://git.kernel.org/stable/c/31e4aa93e2e5b5647fc235b0f6ee329646878f9e",
        "https://git.kernel.org/stable/c/51cb05d4fd632596816ba44e882e84db9fb28a7e",
        "https://git.kernel.org/stable/c/62b656e43eaeae445a39cd8021a4f47065af4389",
        "https://git.kernel.org/stable/c/73cc56c608c209d3d666cc571293b090a471da70",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40279.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40279",
        "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/2025/40xxx/CVE-2025-40279.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40279",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 499773,
  "published_at": "2025-12-06T21:51:03.01+00:00"
}