Skip to content
Heist/ feed
Back to feed
HighFix available

net/sched: cls_bpf: reject dev-bound programs bound to a different device

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_bpf: reject dev-bound programs bound to a different device cls_bpf_prog_from_efd() obtained a SCHED_CLS program via bpf_prog_get_type_dev() but never verified that a device-bound (offloaded) program's bound netdev matches the TC netdev the classifier is being attached to. This let a program loaded with prog_ifindex for device A be attached via cls_bpf + skip_sw to device B; deleting device A then destroyed the program's offload state while it was still attached to device B, triggering a netdevsim WARN (panic with panic_on_warn=1). Mirror the XDP attach path (net/core/dev.c) and reject the attach with -EINVAL when a dev-bound program's bound device does not match the target device.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.105, 6.18.46, 6.6.153, 7.1.10
CVEs
CVE-2026-74736
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:31 UTC · Revision 1

Source evidence

net/sched: cls_bpf: reject dev-bound programs bound to a different device

core-osv · Original source

Published 26 Aug 2026, 14:36 UTC

In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_bpf: reject dev-bound programs bound to a different device cls_bpf_prog_from_efd() obtained a SCHED_CLS program via bpf_prog_get_type_dev() but never verified that a device-bound (offloaded) program's bound netdev matches the TC netdev the classifier is being attached to. This let a program loaded with prog_ifindex for device A be attached via cls_bpf + skip_sw to device B; deleting device A then destroyed the program's offload state while it was still attached to device B, triggering a netdevsim WARN (panic with panic_on_warn=1). Mirror the XDP attach path (net/core/dev.c) and reject the attach with -EINVAL when a dev-bound program's bound device does not match the target device.

osv:CVE-2026-74736

Kernel

Fixed versions: 6.6.153, 6.12.105, 6.18.46, 7.1.10

Complete source record
{
  "id": "f75e69f5df05d1e0112e1ccdb7ff93c3a3658541497d7ae702766668155e044d",
  "url": "https://osv.dev/vulnerability/CVE-2026-74736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/sched: cls_bpf: reject dev-bound programs bound to a different device",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_bpf: reject dev-bound programs bound to a different device cls_bpf_prog_from_efd() obtained a SCHED_CLS program via bpf_prog_get_type_dev() but never verified that a device-bound (offloaded) program's bound netdev matches the TC netdev the classifier is being attached to. This let a program loaded with prog_ifindex for device A be attached via cls_bpf + skip_sw to device B; deleting device A then destroyed the program's offload state while it was still attached to device B, triggering a netdevsim WARN (panic with panic_on_warn=1). Mirror the XDP attach path (net/core/dev.c) and reject the attach with -EINVAL when a dev-bound program's bound device does not match the target device.",
    "evidence": "osv:CVE-2026-74736",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.153",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.105",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-74736",
      "aliases": [
        "CVE-2026-74736"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2b3486bc2d237ec345b3942b7be5deabf8c8fed1"
                },
                {
                  "fixed": "ec5a552f4b2d841c6c021752450716e1a9676661"
                },
                {
                  "fixed": "daf546ab5763ce6a18280cb4db060e836c515301"
                },
                {
                  "fixed": "adb3e7c26a51a10d94a241c6de7a81a2863dcacf"
                },
                {
                  "fixed": "5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e"
                },
                {
                  "fixed": "120977e2c096deea4e866e4273be9220b957c29e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74736.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.6.153"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.105"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.46"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74736.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.452505384Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/120977e2c096deea4e866e4273be9220b957c29e",
        "https://git.kernel.org/stable/c/5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e",
        "https://git.kernel.org/stable/c/adb3e7c26a51a10d94a241c6de7a81a2863dcacf",
        "https://git.kernel.org/stable/c/daf546ab5763ce6a18280cb4db060e836c515301",
        "https://git.kernel.org/stable/c/ec5a552f4b2d841c6c021752450716e1a9676661",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74736.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74736",
        "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/2026/74xxx/CVE-2026-74736.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74736",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493075,
  "published_at": "2026-08-26T14:36:49.95+00:00"
}