CVE-2026-72117

can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 19, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

can: bcm: fix data race on rx_stamp/rx_ifindex in bcm_rx_handler()

For an rx op subscribed on all interfaces (ifindex == 0), the same op is registered once in the shared per-netns wildcard filter list, so bcm_rx_handler() can run concurrently on different CPUs for frames arriving on different net devices.

op->rx_stamp and op->rx_ifindex were written before bcm_rx_update_lock was taken, allowing concurrent writers to race each other - including a torn store of the 64-bit rx_stamp on 32-bit platforms.

Beyond a torn store bcm_send_to_user() must report the timestamp/ifindex of the very same frame whose content it is delivering. So the assignment is placed in the same unbroken bcm_rx_update_lock section as the content comparison.

As a side effect, the RTR-request frame feature (which never reach bcm_send_to_user()) no longer updates rx_stamp/rx_ifindex, since only the notification path needs them.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before b64f60c468d149aca22ea56bb842b9730215aaa5Affected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before c8a5d7cb095d3b12bd9dcf752d6ca0ff50872ac5Affected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before 4b97410f4bba18d2ee2784c8e089104f387bc27cAffected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before 5f246b96ab47523ec9b8ea870b5c567a3cb1eb1cAffected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before 656ff69ef235699035e57d9e1ae417e62a38aa7fAffected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before 136de17f38630307991c59aa7080012a99451783Affected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before c312b750bb5ac3348cfc85dab25e90937bd4d251Affected
  • ffd980f976e7fd666c2e61bf8ab35107efd11828 to before 58fd6cbc8541216af1d7ed272ea7ac2b66d50fd8Affected
LinuxLinux
  • 2.6.25Affected
  • before 2.6.25Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.