UBUNTU-CVE-2023-52531

    Dashboard / Vulnerabilities / UBUNTU-CVE-2023-52531

    UBUNTU-CVE-2023-52531

    Published: 2 Mar 2024Last Modified: 9 Sept 2026
    Upstream:
    Aliases:

    Summary:

    Details: In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: Fix a memory corruption issue A few lines above, space is kzalloc()'ed for: sizeof(struct iwl_nvm_data) + sizeof(struct ieee80211_channel) + sizeof(struct ieee80211_rate) 'mvm->nvm_data' is a 'struct iwl_nvm_data', so it is fine. At the end of this structure, there is the 'channels' flex array. Each element is of type 'struct ieee80211_channel'. So only 1 element is allocated in this array. When doing: mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; We point at the first element of the 'channels' flex array. So this is fine. However, when doing: mvm->nvm_data->bands[0].bitrates = (void *)((u8 *)mvm->nvm_data->channels + 1); because of the "(u8 *)" cast, we add only 1 to the address of the beginning of the flex array. It is likely that we want point at the 'struct ieee80211_rate' allocated just after. Remove the spurious casting so that the pointer arithmetic works as expected.

    Affected packages

    Package

    Name: linux-aws

    Purl: pkg:deb/ubuntu/linux-aws?arch=source&distro=trusty%2Fesm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.4.0-1138.144

    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

    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-2023-52531 | CVE-DB