Skip to content
Heist/ feed
Back to feed
HighFix available

can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error In peak_usb_start(), each RX URB transfer buffer is allocated with kmalloc() and the URB is flagged URB_FREE_BUFFER so that the final usb_free_urb() also frees the transfer buffer. If usb_submit_urb() fails, the error path frees the buffer explicitly with kfree(buf) and then calls usb_free_urb(urb). Because URB_FREE_BUFFER is set, usb_free_urb() -> urb_destroy() frees the same buffer a second time, a double free of the transfer buffer. BUG: KASAN: double-free in usb_free_urb.part.0+0x91/0xb0 Free of addr ffff8881069ccb80 by task trigger.sh/285 Call Trace: kfree+0x113/0x3c0 usb_free_urb.part.0+0x91/0xb0 Drop the redundant kfree(buf); usb_free_urb() already releases the transfer buffer. This mirrors commit 03819abbeb11 ("net: usb: lan78xx: Fix double free issue with interrupt buffer allocation").

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.265, 5.15.216, 6.1.183, 6.12.103, 6.18.44, 6.6.151, 7.1.8
CVEs
CVE-2026-74456
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:03 UTC · Revision 1

Source evidence

can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error

core-osv · Original source

Published 15 Aug 2026, 12:26 UTC

In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error In peak_usb_start(), each RX URB transfer buffer is allocated with kmalloc() and the URB is flagged URB_FREE_BUFFER so that the final usb_free_urb() also frees the transfer buffer. If usb_submit_urb() fails, the error path frees the buffer explicitly with kfree(buf) and then calls usb_free_urb(urb). Because URB_FREE_BUFFER is set, usb_free_urb() -> urb_destroy() frees the same buffer a second time, a double free of the transfer buffer. BUG: KASAN: double-free in usb_free_urb.part.0+0x91/0xb0 Free of addr ffff8881069ccb80 by task trigger.sh/285 Call Trace: kfree+0x113/0x3c0 usb_free_urb.part.0+0x91/0xb0 Drop the redundant kfree(buf); usb_free_urb() already releases the transfer buffer. This mirrors commit 03819abbeb11 ("net: usb: lan78xx: Fix double free issue with interrupt buffer allocation").

osv:CVE-2026-74456

Kernel

Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8

Complete source record
{
  "id": "65774ab36235dff0c8370bc9cd98f7e288c0d2f1e2bc93880219be7281817156",
  "url": "https://osv.dev/vulnerability/CVE-2026-74456",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error In peak_usb_start(), each RX URB transfer buffer is allocated with kmalloc() and the URB is flagged URB_FREE_BUFFER so that the final usb_free_urb() also frees the transfer buffer. If usb_submit_urb() fails, the error path frees the buffer explicitly with kfree(buf) and then calls usb_free_urb(urb). Because URB_FREE_BUFFER is set, usb_free_urb() -> urb_destroy() frees the same buffer a second time, a double free of the transfer buffer. BUG: KASAN: double-free in usb_free_urb.part.0+0x91/0xb0 Free of addr ffff8881069ccb80 by task trigger.sh/285 Call Trace: kfree+0x113/0x3c0 usb_free_urb.part.0+0x91/0xb0 Drop the redundant kfree(buf); usb_free_urb() already releases the transfer buffer. This mirrors commit 03819abbeb11 (\"net: usb: lan78xx: Fix double free issue with interrupt buffer allocation\").",
    "evidence": "osv:CVE-2026-74456",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.265",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.216",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.183",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.151",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.44",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-74456",
      "aliases": [
        "CVE-2026-74456"
      ],
      "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": "bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d"
                },
                {
                  "fixed": "914c3b8fa175acf8476ad31cf04e308638e3578e"
                },
                {
                  "fixed": "5f2fa5840c34d3a558c57855781be75e03bef752"
                },
                {
                  "fixed": "b9088d581fff971a7eb1628f8dcc30df6cfef4dc"
                },
                {
                  "fixed": "525640b93d3e5f82f4ebea4730f4e0cf799522ba"
                },
                {
                  "fixed": "4bb3325075138dd5346b71589a959878b564dc0b"
                },
                {
                  "fixed": "92d0de80ca2223b9c7da78020155b6cb27824cc0"
                },
                {
                  "fixed": "dfb17bf04a764462000f11258a7c06aa92d1f261"
                },
                {
                  "fixed": "9b3d5a6d952c38bbcf07f903cbeadefdb56b9bc9"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74456.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.4.0"
                },
                {
                  "fixed": "5.10.265"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.216"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.183"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.151"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.44"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74456.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.196757174Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4bb3325075138dd5346b71589a959878b564dc0b",
        "https://git.kernel.org/stable/c/525640b93d3e5f82f4ebea4730f4e0cf799522ba",
        "https://git.kernel.org/stable/c/5f2fa5840c34d3a558c57855781be75e03bef752",
        "https://git.kernel.org/stable/c/914c3b8fa175acf8476ad31cf04e308638e3578e",
        "https://git.kernel.org/stable/c/92d0de80ca2223b9c7da78020155b6cb27824cc0",
        "https://git.kernel.org/stable/c/9b3d5a6d952c38bbcf07f903cbeadefdb56b9bc9",
        "https://git.kernel.org/stable/c/b9088d581fff971a7eb1628f8dcc30df6cfef4dc",
        "https://git.kernel.org/stable/c/dfb17bf04a764462000f11258a7c06aa92d1f261",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74456.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74456",
        "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-74456.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74456",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507807,
  "published_at": "2026-08-15T12:26:58.808+00:00"
}