CVE-2026-68387: can: raw: add locking for raw flags bitfield

Published Aug 10, 2026
·
Updated

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

can: raw: add locking for raw flags bitfield

With commit 890e5198a6e5 ("can: raw: use bitfields to store flags in struct rawsock") the formerly separate integer values have been integrated into a single bitfield. This led to a read-modify-write operation when changing a flag in rawsetsockopt() which now needs a locking to prevent concurrent access.

Instead of adding a lock/unlock hell in each of the flag manipulations this patch introduces a wrapper for a new rawsetsockoptlocked() function analogue to the isotpsetsockoptlocked approach in net/can/isotp.c

[mkl: use Closes tag instead of Link]

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel can: raw to a version that resolves this vulnerability.

    Patch 890e5198a6e5

Event History

Aug 10, 2026
CVE Published
via MITRE·12:04 PM
Data Sourced
via MITRE·12:04 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68387?

CVE-2026-68387 has a risk rating of 27, indicating a moderate level of severity.

2

How do I fix CVE-2026-68387?

To resolve CVE-2026-68387, update the Linux kernel to the latest version where the vulnerability has been patched.

3

What systems are affected by CVE-2026-68387?

CVE-2026-68387 impacts systems running affected versions of the Linux kernel that utilize the CAN raw socket interface.

4

Is CVE-2026-68387 a remote attack vulnerability?

CVE-2026-68387 does not provide a remote attack vector and typically requires local access to exploit.

5

What type of flaw is described in CVE-2026-68387?

CVE-2026-68387 involves a locking issue related to the raw flags bitfield in the Linux kernel CAN subsystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203