CVE-2024-56593

Aliases:UBUNTU-CVE-2024-56593DEBIAN-CVE-2024-56593
Advisory lineage Upstream: 0 Downstream: 59
Modified
Published: 27 Dec 2024, 14:51
Last modified:11 May 2026, 20:55

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (cve.org)
EPSS Score
0.24% LOW
0% probability +0.20%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

27 Dec 2024, 14:51
Published
Vulnerability first disclosed
11 May 2026, 20:55
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw() This patch fixes a NULL pointer dereference bug in brcmfmac that occurs when a high 'sd_sgentry_align' value applies (e.g. 512) and a lot of queued SKBs are sent from the pkt queue. The problem is the number of entries in the pre-allocated sgtable, it is nents = max(rxglom_size, txglom_size) + max(rxglom_size, txglom_size) >> 4 + 1. Given the default [rt]xglom_size=32 it's actually 35 which is too small. Worst case, the pkt queue can end up with 64 SKBs. This occurs when a new SKB is added for each original SKB if tailroom isn't enough to hold tail_pad. At least one sg entry is needed for each SKB. So, eventually the "skb_queue_walk loop" in brcmf_sdiod_sglist_rw may run out of sg entries. This makes sg_next return NULL and this causes the oops. The patch sets nents to max(rxglom_size, txglom_size) * 2 to be able handle the worst-case. Btw. this requires only 64-35=29 * 16 (or 20 if CONFIG_NEED_SG_DMA_LENGTH) = 464 additional bytes of memory.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.24% Percentile: 15%

Techniques & Countermeasures

  • CWE-476NULL Pointer Dereference

    The product dereferences a pointer that it expects to be valid but is NULL.

Affected Systems

  • debianlinux

    < 5.10.234-1 | < 6.1.123-1 | < 6.12.5-1 | < 6.12.5-1

  • debianlinux-6.1

    < 6.1.128-1~deb11u1

  • ubuntulinux

    < 4.4.0-278.312 | < 4.15.0-247.259 | < 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-58.60

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 4.4.0-1152.158 | < 4.4.0-1190.205 | < 4.15.0-1189.202 | < 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1027.29

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1080.87~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1142.152~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1027.29~22.04.1

  • ubuntulinux-aws-fips

    < 4.15.0-2127.133 | all | < 5.4.0-1142.153+fips1 | < 5.15.0-1080.87+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1189.202~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1197.212~14.04.1 | < 4.15.0-1197.212~16.04.1 | all | < 5.4.0-1147.154 | < 5.15.0-1084.93 | < 6.8.0-1027.32

  • ubuntulinux-azure-4.15

    < 4.15.0-1197.212

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1086.95~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1147.154~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    < 6.11.0-1012.12~24.04.1

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1027.32~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2106.112 | all | < 5.4.0-1147.154+fips1 | < 5.15.0-1083.92+fips1

  • ubuntulinux-azure-nvidia

    < 6.8.0-1014.15

  • ubuntulinux-bluefield

    all | < 5.4.0-1101.108 | < 5.15.0-1062.64

  • ubuntulinux-fips

    < 4.4.0-1122.129 | all | < 4.15.0-1144.156 | < 5.4.0-1116.126 | < 5.15.0-135.146+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    < 4.15.0-1182.199~16.04.1 | all | < 5.4.0-1145.154 | < 5.15.0-1079.88 | < 6.8.0-1028.30

  • ubuntulinux-gcp-4.15

    < 4.15.0-1182.199

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1081.90~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1145.154~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.11

    < 6.11.0-1011.11~24.04.1

  • ubuntulinux-gcp-6.2

    all

Showing first 50 affected entries in server-rendered view.

References (57)