---
id: CVE-2024-58014
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

  In 'wlc_phy_iqcal_gainparams_nphy()', add gain range check to WARN()
  instead of possible out-of…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

  In 'wlc_phy_iqcal_gainparams_nphy()', add gain range check to WARN()
  instead of possible out-of…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.2, < 5.4.291'
  - 'linux_kernel >= 5.5, < 5.10.235'
  - 'linux_kernel >= 5.11, < 5.15.179'
  - 'linux_kernel >= 5.16, < 6.1.129'
  - 'linux_kernel >= 6.2, < 6.6.78'
  - 'linux_kernel >= 6.7, < 6.12.14'
  - 'linux_kernel >= 6.13, < 6.13.3'
patched:
  - linux_kernel 6.13.3
published: '2025-02-27'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:17:18.320'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58014'
references:
  - url: 'https://git.kernel.org/stable/c/093286c33409bf38896f2dab0c0bb6ca388afb33'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0a457223cb2b9ca46bae7de387d0f4c093b0220d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/13ef16c4fe384b1e70277bbe1d87934ee6c81e12'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3f4a0948c3524ae50f166dbc6572a3296b014e62'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6f6e293246dc1f5b2b6b3d0f2d757598489cda79'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ada9df08b3ef683507e75b92f522fb659260147f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c27ce584d274f6ad3cba2294497de824a3c66646'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d280a12e9b87819a8a209639d600b48a2d6d65dc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00223
epssPercentile: 0.12852
ingestedAt: '2026-10-15T03:30:12.791Z'
---

## Overview

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

wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

In 'wlc_phy_iqcal_gainparams_nphy()', add gain range check to WARN()
instead of possible out-of-bounds 'tbl_iqcal_gainparams_nphy' access.
Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

## Affected

- `linux_kernel >= 3.2, < 5.4.291`
- `linux_kernel >= 5.5, < 5.10.235`
- `linux_kernel >= 5.11, < 5.15.179`
- `linux_kernel >= 5.16, < 6.1.129`
- `linux_kernel >= 6.2, < 6.6.78`
- `linux_kernel >= 6.7, < 6.12.14`
- `linux_kernel >= 6.13, < 6.13.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.3`
