Bug 2461107 (CVE-2026-31532) - CVE-2026-31532 kernel: can: raw: fix ro->uniq use-after-free in raw_rcv()
Summary: CVE-2026-31532 kernel: can: raw: fix ro->uniq use-after-free in raw_rcv()
Keywords:
Status: NEW
Alias: CVE-2026-31532
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-23 12:01 UTC by OSIDB Bzimport
Modified: 2026-06-10 17:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:13932 0 None None None 2026-05-06 08:16:15 UTC
Red Hat Product Errata RHSA-2026:14339 0 None None None 2026-05-06 20:41:06 UTC
Red Hat Product Errata RHSA-2026:15883 0 None None None 2026-05-11 00:29:57 UTC
Red Hat Product Errata RHSA-2026:19521 0 None None None 2026-05-20 04:05:05 UTC
Red Hat Product Errata RHSA-2026:19568 0 None None None 2026-05-20 12:57:41 UTC
Red Hat Product Errata RHSA-2026:19705 0 None None None 2026-05-20 14:21:51 UTC
Red Hat Product Errata RHSA-2026:19711 0 None None None 2026-05-20 15:44:07 UTC
Red Hat Product Errata RHSA-2026:19875 0 None None None 2026-05-20 23:34:09 UTC
Red Hat Product Errata RHSA-2026:20130 0 None None None 2026-05-21 12:37:51 UTC
Red Hat Product Errata RHSA-2026:20593 0 None None None 2026-05-26 05:47:41 UTC
Red Hat Product Errata RHSA-2026:21706 0 None None None 2026-05-28 08:26:00 UTC
Red Hat Product Errata RHSA-2026:21745 0 None None None 2026-05-28 13:26:26 UTC
Red Hat Product Errata RHSA-2026:25095 0 None None None 2026-06-10 17:36:25 UTC

Description OSIDB Bzimport 2026-04-23 12:01:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

can: raw: fix ro->uniq use-after-free in raw_rcv()

raw_release() unregisters raw CAN receive filters via can_rx_unregister(),
but receiver deletion is deferred with call_rcu(). This leaves a window
where raw_rcv() may still be running in an RCU read-side critical section
after raw_release() frees ro->uniq, leading to a use-after-free of the
percpu uniq storage.

Move free_percpu(ro->uniq) out of raw_release() and into a raw-specific
socket destructor. can_rx_unregister() takes an extra reference to the
socket and only drops it from the RCU callback, so freeing uniq from
sk_destruct ensures the percpu area is not released until the relevant
callbacks have drained.

[mkl: applied manually]

Comment 3 errata-xmlrpc 2026-05-06 08:16:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:13932 https://access.redhat.com/errata/RHSA-2026:13932

Comment 4 errata-xmlrpc 2026-05-06 20:41:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:14339 https://access.redhat.com/errata/RHSA-2026:14339

Comment 5 errata-xmlrpc 2026-05-11 00:29:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:15883 https://access.redhat.com/errata/RHSA-2026:15883

Comment 7 errata-xmlrpc 2026-05-20 04:05:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:19521 https://access.redhat.com/errata/RHSA-2026:19521

Comment 8 errata-xmlrpc 2026-05-20 12:57:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19568 https://access.redhat.com/errata/RHSA-2026:19568

Comment 9 errata-xmlrpc 2026-05-20 14:21:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2026:19705 https://access.redhat.com/errata/RHSA-2026:19705

Comment 10 errata-xmlrpc 2026-05-20 15:44:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2026:19711 https://access.redhat.com/errata/RHSA-2026:19711

Comment 11 errata-xmlrpc 2026-05-20 23:34:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:19875 https://access.redhat.com/errata/RHSA-2026:19875

Comment 12 errata-xmlrpc 2026-05-21 12:37:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:20130 https://access.redhat.com/errata/RHSA-2026:20130

Comment 13 errata-xmlrpc 2026-05-26 05:47:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:20593 https://access.redhat.com/errata/RHSA-2026:20593

Comment 14 errata-xmlrpc 2026-05-28 08:25:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:21706 https://access.redhat.com/errata/RHSA-2026:21706

Comment 15 errata-xmlrpc 2026-05-28 13:26:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:21745 https://access.redhat.com/errata/RHSA-2026:21745

Comment 16 errata-xmlrpc 2026-06-10 17:36:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:25095 https://access.redhat.com/errata/RHSA-2026:25095


Note You need to log in before you can comment on or make changes to this bug.