can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error
Summary
| CVE | CVE-2026-74456 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-15 13:17:50 UTC |
| Updated | 2026-08-19 17:21:02 UTC |
| Description | 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"). |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001290000 probability, percentile 0.029420000 (date 2026-08-19)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 914c3b8fa175acf8476ad31cf04e308638e3578e git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 5f2fa5840c34d3a558c57855781be75e03bef752 git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d b9088d581fff971a7eb1628f8dcc30df6cfef4dc git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 525640b93d3e5f82f4ebea4730f4e0cf799522ba git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 4bb3325075138dd5346b71589a959878b564dc0b git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 92d0de80ca2223b9c7da78020155b6cb27824cc0 git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d dfb17bf04a764462000f11258a7c06aa92d1f261 git | Not specified |
| CNA | Linux | Linux | affected bb4785551f64e18b2c8bb15a3bd2b22f5ebf624d 9b3d5a6d952c38bbcf07f903cbeadefdb56b9bc9 git | Not specified |
| CNA | Linux | Linux | affected 3.4 | Not specified |
| CNA | Linux | Linux | unaffected 3.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.265 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.216 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.183 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.151 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.103 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.44 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.8 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b9088d581fff971a7eb1628f8dcc30df6cfef4dc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5f2fa5840c34d3a558c57855781be75e03bef752 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9b3d5a6d952c38bbcf07f903cbeadefdb56b9bc9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/525640b93d3e5f82f4ebea4730f4e0cf799522ba | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/92d0de80ca2223b9c7da78020155b6cb27824cc0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4bb3325075138dd5346b71589a959878b564dc0b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/914c3b8fa175acf8476ad31cf04e308638e3578e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/dfb17bf04a764462000f11258a7c06aa92d1f261 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.