wifi: wilc1000: use vmm_table as array in wilc struct (Linux Linux)

CVE-2023-52768
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: use vmm_table as array in wilc struct Enabling KASAN and running some iperf tests raises some memory issues with vmm_table: BUG: KASAN: slab-out-of-bounds in wilc_wlan_handle_txq+0x6ac/0xdb4 Write of size 4 at addr c3a61540 by task wlan0-tx/95 KASAN detects that we are writing data beyond range allocated to vmm_table. There is indeed a mismatch between the size passed to allocator in wilc_wlan_init, and the range of possible indexes used later: allocation size is missing a multiplication by sizeof(u32)

Weaknesses (CWE)

  • CWE-129 — Improper Validation of Array Index

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 32dd0b22a5ba1dd296ccf2caf46ad44c3a8d5d98 < 541b3757fd443a68ed8d25968eae511a8275e7c8 ; affected 40b717bfcefab28a0656b8caa5e43d5449e5a671 < 4b0d6ddb6466d10df878a7787f175a0e4adc3e27 ; affected 40b717bfcefab28a0656b8caa5e43d5449e5a671 < 6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e ; affected 40b717bfcefab28a0656b8caa5e43d5449e5a671 < 3ce1c2c3999b232258f7aabab311d47dda75605c ; affected 40b717bfcefab28a0656b8caa5e43d5449e5a671 < 05ac1a198a63ad66bf5ae8b7321407c102d40ef3 ; affected 5212d958f6518003cd98c9886f8e8aedcfc25741
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD