CVE-2026-72113

Source
https://cve.org/CVERecord?id=CVE-2026-72113
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72113.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72113
Downstream
Published
2026-08-15T05:52:54.001Z
Modified
2026-08-20T03:55:04.137100669Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
can: bcm: add missing device refcount for CAN filter removal
Details

In the Linux kernel, the following vulnerability has been resolved:

can: bcm: add missing device refcount for CAN filter removal

sashiko-bot remarked a problem with a concurrent device unregistration in isotp.c which also is present in the bcm.c code. A former fix for raw.c commit c275a176e4b6 ("can: raw: add missing refcount for memory leak fix") introduced a netdevice_tracker which solves the issue for bcm.c too.

bcmrelease(), bcmdeleterxop() and bcmnotifier() relied on devgetbyindex(ifindex) to re-find the device for an rxop before unregistering its filter. If a concurrent NETDEVUNREGISTER has already unlisted the device from the ifindex table, that lookup fails and canrxunregister() is silently skipped, leaving a stale CAN filter pointing at the soon-to-be-freed bcm_op/socket.

Hold a netdevhold()/netdevput() tracked reference on op->rxregdev from the moment the rx filter is registered in bcmrxsetup() until it is unregistered in bcmrxunreg(), and use that reference directly in bcmrelease() and bcmdeleterxop() instead of re-looking the device up by ifindex.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72113.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ffd980f976e7fd666c2e61bf8ab35107efd11828
Fixed
bd5232663524e94cc5aad861dca11e3db8e2ab6f
Fixed
ee8b36d0faca08f35b889b6e9aa850695e5b8ba9
Fixed
dcaee869913c7210cd47ed0a8f27349d7bdcdb7b
Fixed
84aa4807816e405c1bf87114fc63e06d244281ef
Fixed
633bda66fbf309f5de5e1ad6defe8e6b1d77a20f
Fixed
b024c21c9066f6957b7d4a8f2037e4b000c5e041
Fixed
04d23061bbf18d5d81022eb21e9d32e99d24468d
Fixed
d59948293ea34b6337ce2b5febab8510de70048c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72113.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.25
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.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72113.json"