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

can: isotp: use unconditional synchronize_rcu() in isotp_release()

isotp_notify() unregisters the (RCU) CAN filters via can_rx_unregister()
and clears so->bound without waiting for a grace period. isotp_release()
uses so->bound to decide whether it needs to call synchronize_rcu()
before cancelling so->rxtimer, so when NETDEV_UNREGISTER runs first it
skips that synchronize_rcu() and can cancel the timer while an
in-flight isotp_rcv() is still executing and about to re-arm it via
isotp_send_fc(), leading to a use-after-free timer callback on the
freed socket.

sakisho-bot remarked a problem with rtnl_lock held in isotp_notify(),
therefore make isotp_release() always call synchronize_rcu() before
cancelling the timers, regardless of so->bound. This still closes the
original race (isotp_notify() clearing so->bound without waiting for
in-flight isotp_rcv() callers before isotp_release() cancels the RX
timer) without adding any RCU wait to the netdevice notifier path.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s ISO‑TP (ISO 15765‑2) CAN transport stack. When a CAN device is unregistered, the socket’s bound flag is cleared without giving a grace period for in‑flight receive callbacks. Consequently, a subsequent socket release can cancel an active receive timer while the callback is still executing, causing a use‑after‑free of the socket structure and a timer callback to run on freed memory. This flaw involves improper synchronization (CWE‑367), a use‑after‑free of the socket structure, potentially resulting in a kernel crash or unstable behavior.

Affected Systems

All Linux kernel releases that contain the ISO‑TP implementation, regardless of distribution. The flaw is tied to the generic Linux kernel and any system that enables ISO‑TP CAN filters. No vendor‑specific product version list is available, so the vulnerability exists across the kernel’s code base.

Risk and Exploitability

The CVSS score of 7.8 indicates relatively high severity. The EPSS score is < 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the KEV catalog. The only available detail about how an attacker could trigger the race is that it requires interaction with the CAN network; based on that, the likely attack vector is local or man‑in‑the‑middle access to the CAN bus. This inference is made because the CVE description does not explicitly state the attack vector. The use‑after‑free could lead to a kernel panic; privileged elevation would depend on an attacker being able to influence the freed memory, which is not specified.

Generated by OpenCVE AI on August 18, 2026 at 05:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the commit which unconditionally calls synchronize_rcu() before cancelling the receive timer (the patch is referenced in the provided kernel commit URLs).
  • If a kernel upgrade cannot be performed immediately, disable ISO‑TP support or detach the CAN interface before removing the network device to avoid triggering the race.
  • Consider enabling runtime hardening features such as CONFIG_KASAN or similar race‑condition detection mechanisms to surface use‑after‑free issues during development or testing.

Generated by OpenCVE AI on August 18, 2026 at 05:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-754

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-754

Mon, 17 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: can: isotp: use unconditional synchronize_rcu() in isotp_release() isotp_notify() unregisters the (RCU) CAN filters via can_rx_unregister() and clears so->bound without waiting for a grace period. isotp_release() uses so->bound to decide whether it needs to call synchronize_rcu() before cancelling so->rxtimer, so when NETDEV_UNREGISTER runs first it skips that synchronize_rcu() and can cancel the timer while an in-flight isotp_rcv() is still executing and about to re-arm it via isotp_send_fc(), leading to a use-after-free timer callback on the freed socket. sakisho-bot remarked a problem with rtnl_lock held in isotp_notify(), therefore make isotp_release() always call synchronize_rcu() before cancelling the timers, regardless of so->bound. This still closes the original race (isotp_notify() clearing so->bound without waiting for in-flight isotp_rcv() callers before isotp_release() cancels the RX timer) without adding any RCU wait to the netdevice notifier path.
Title can: isotp: use unconditional synchronize_rcu() in isotp_release()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:40:40.020Z

Reserved: 2026-08-09T03:40:39.907Z

Link: CVE-2026-72126

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:29.963

Modified: 2026-08-17T06:18:12.213

Link: CVE-2026-72126

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72126 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T05:45:03Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition