UBUNTU-CVE-2026-31532

    Dashboard / Vulnerabilities / UBUNTU-CVE-2026-31532

    UBUNTU-CVE-2026-31532

    Published: 23 Apr 2026Last Modified: 9 Sept 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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]

    References: https://ubuntu.com/security/CVE-2026-31532, https://www.cve.org/CVERecord?id=CVE-2026-31532, https://git.kernel.org/linus/a535a9217ca3f2fccedaafb2fddb4c48f27d36dc, https://ubuntu.com/security/notices/USN-8488-1, https://ubuntu.com/security/notices/USN-8488-2, https://ubuntu.com/security/notices/USN-8507-1, https://ubuntu.com/security/notices/USN-8569-1, https://ubuntu.com/security/notices/USN-8567-1, https://ubuntu.com/security/notices/USN-8574-1, https://ubuntu.com/security/notices/USN-8575-1, https://ubuntu.com/security/notices/USN-8576-1, https://ubuntu.com/security/notices/USN-8574-2, https://ubuntu.com/security/notices/USN-8595-1, https://ubuntu.com/security/notices/USN-8596-1, https://ubuntu.com/security/notices/USN-8575-2, https://ubuntu.com/security/notices/USN-8576-2, https://ubuntu.com/security/notices/USN-8597-1, https://ubuntu.com/security/notices/USN-8603-1, https://ubuntu.com/security/notices/USN-8595-2, https://ubuntu.com/security/notices/USN-8606-1, https://ubuntu.com/security/notices/USN-8607-1, https://ubuntu.com/security/notices/USN-8608-1, https://ubuntu.com/security/notices/USN-8609-1, https://ubuntu.com/security/notices/USN-8575-3, https://ubuntu.com/security/notices/USN-8610-1, https://ubuntu.com/security/notices/USN-8574-3, https://ubuntu.com/security/notices/USN-8595-3, https://ubuntu.com/security/notices/USN-8619-1, https://ubuntu.com/security/notices/USN-8620-1, https://ubuntu.com/security/notices/USN-8620-2, https://ubuntu.com/security/notices/USN-8620-3, https://ubuntu.com/security/notices/USN-8620-4, https://ubuntu.com/security/notices/USN-8665-1, https://ubuntu.com/security/notices/USN-8668-1

    Affected packages

    Package

    Name: linux-aws

    Purl: pkg:deb/ubuntu/linux-aws?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    4.4.0-1002.2
    4.4.0-1003.3
    4.4.0-1005.5
    4.4.0-1006.6
    4.4.0-1009.9
    4.4.0-1010.10
    4.4.0-1011.11
    4.4.0-1012.12
    4.4.0-1014.14
    4.4.0-1016.16
    4.4.0-1017.17
    4.4.0-1019.19
    4.4.0-1022.22
    4.4.0-1023.23
    4.4.0-1024.25
    4.4.0-1025.26
    4.4.0-1027.30
    4.4.0-1028.31
    4.4.0-1029.32
    4.4.0-1031.34
    4.4.0-1032.35
    4.4.0-1034.37
    4.4.0-1036.39
    4.4.0-1037.40
    4.4.0-1038.41
    4.4.0-1039.42
    4.4.0-1040.43
    4.4.0-1042.45
    4.4.0-1044.47
    4.4.0-1045.48
    4.4.0-1046.50
    4.4.0-1048.52
    4.4.0-1050.54
    4.4.0-1052.56
    4.4.0-1054.58
    4.4.0-1055.59
    4.4.0-1056.60
    4.4.0-1058.62
    4.4.0-1059.63
    4.4.0-1060.64
    4.4.0-1061.65
    4.4.0-1062.66
    4.4.0-1064.68
    4.4.0-1065.69
    4.4.0-1066.70
    4.4.0-1067.71
    4.4.0-1073.77
    4.4.0-1074.78
    4.4.0-1075.79
    4.4.0-1076.80
    4.4.0-1077.81
    4.4.0-1078.82
    4.4.0-1081.85
    4.4.0-1082.86
    4.4.0-1083.87
    4.4.0-1085.89
    4.4.0-1086.90
    4.4.0-1087.91
    4.4.0-1088.92
    4.4.0-1090.94
    4.4.0-1091.95
    4.4.0-1092.96
    4.4.0-1093.97
    4.4.0-1094.99
    4.4.0-1095.100
    4.4.0-1096.101
    4.4.0-1097.102
    4.4.0-1098.103
    4.4.0-1099.104
    4.4.0-1101.106
    4.4.0-1102.107
    4.4.0-1103.108
    4.4.0-1104.109
    4.4.0-1107.113
    4.4.0-1109.115
    4.4.0-1110.116
    4.4.0-1111.117
    4.4.0-1112.118
    4.4.0-1113.119
    4.4.0-1114.120
    4.4.0-1115.121
    4.4.0-1116.122
    4.4.0-1117.123
    4.4.0-1118.124
    4.4.0-1119.125
    4.4.0-1120.126
    4.4.0-1121.127
    4.4.0-1122.128
    4.4.0-1123.129
    4.4.0-1124.130
    4.4.0-1125.131
    4.4.0-1127.133
    4.4.0-1128.134
    4.4.0-1129.135
    4.4.0-1130.136
    4.4.0-1131.137
    4.4.0-1133.139
    4.4.0-1134.140
    4.4.0-1135.141
    4.4.0-1136.142
    4.4.0-1137.143
    4.4.0-1138.144
    4.4.0-1139.145
    4.4.0-1140.146
    4.4.0-1141.147
    4.4.0-1142.148
    4.4.0-1143.149
    4.4.0-1144.150
    4.4.0-1145.151
    4.4.0-1146.152
    4.4.0-1147.153
    4.4.0-1148.154
    4.4.0-1149.155
    4.4.0-1150.156
    4.4.0-1151.157
    4.4.0-1152.158
    4.4.0-1153.159
    4.4.0-1154.160
    4.4.0-1155.161
    4.4.0-1156.162
    4.4.0-1157.163
    4.4.0-1158.164

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2026-31532 | CVE-DB