{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2024-41046",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2024-41046"
  ],
  "published": "2024-07-29T14:32:49Z",
  "summary": "net: ethernet: lantiq_etop: fix double free in detach",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: lantiq_etop: fix double free in detach\n\nThe number of the currently released descriptor is never incremented\nwhich results in the same skb being released multiple times.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.100",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-41046"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1a2db00a554cfda57c397cce79b2804bf9633fec"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/907443174e76b854d28024bd079f0e53b94dc9a1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22b16618a80858b3a9d607708444426948cc4ae1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/69ad5fa0ce7c548262e0770fc2b726fe7ab4f156"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c2b66e2b3939af63699e4a4bd25a8ac4a9b1d1b3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9d23909ae041761cb2aa0c3cb1748598d8b6bc54"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/84aaaa796a19195fc59290154fef9aeb1fba964f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e1533b6319ab9c3a97dad314dd88b3783bc41b69"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:52:36Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - The teardown path is reached via `ndo_tx_timeout`, which `dev_watchdog()` fires when the TX queue stays stopped for 10 s with carrier up \u2014 inducible by an attacker on the same Ethernet segment via sustained 802.3x PAUSE flooding or link-level stalling of the 100 Mbit MAC on these Lantiq CPE devices. The stall mechanism is link-local L2 and does not survive a router hop, so Adjacent rather than Network.\nAC:L - The attacker fully controls the stalling condition and can simply keep transmitting PAUSE frames past the 10-second watchdog window, and the buggy loop then unconditionally frees the same skb 192 times with no race or layout precondition. Heap grooming of the freed skb is also attacker-controlled since the same interface is receiving their traffic.\nPR:N - No account, credential, or authentication on the target is needed \u2014 an unauthenticated peer on the link segment only has to emit flow-control/traffic frames to trip the transmit watchdog. No local access or capability is involved on this path.\nUI:N - The watchdog timer fires automatically from `dev_watchdog()` and calls `ltq_etop_tx_timeout()` with no administrator or user action. No interface down/up, unbind, or module unload by a legitimate user is required.\nS:U - The double free corrupts kernel slab state within the same kernel security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - The 191 redundant frees operate on freed sk_buff memory, dereferencing `skb->head`/`skb->end` to reach `skb_shinfo()` and re-inserting the object into the skb slab freelist, producing overlapping allocations that let an attacker read reallocated kernel heap contents (other packets, credentials, kernel pointers). Per kernel guidance, use-after-free/double-free is scored High confidentiality.\nI:H - Freeing the same object 192 times corrupts the `skbuff_cache` freelist into aliased allocations (arbitrary write primitive) and drives an indirect call through the attacker-influenceable `skb->destructor` field in `skb_release_head_state()`, plus a controlled `skb->head` free and page refcount decrements. This is a control-flow-hijack-capable memory corruption, not a bounded modification.\nA:H - Even without exploitation the 191-fold double free reliably triggers slab corruption, list poisoning, and kernel panic/oops, and the DMA engine may still have the freed buffer mapped. The trigger is repeatable at will by the adjacent attacker."
    }
  }
}
