Skip to main content
Network Thinking Solutions Logo

CVE-2022-49806

Linux kernel: net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()

All CVEs
CVE-2022-49806Published 5/1/2025

Linux kernel: net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start() sparx_stats_init() calls create_singlethread_workqueue() and not checked the ret value, which may return NULL. And a null-ptr-deref may happen: sparx_stats_init() create_singlethread_workqueue() # failed, sparx5->stats_queue is NULL queue_delayed_work() queue_delayed_work_on() __queue_delayed_work() # warning here, but continue __queue_work() # access wq->flags, null-ptr-deref Check the ret value and return -ENOMEM if it is NULL. So as sparx5_start().

Published
5/1/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.14, < 5.15.80

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.10

Verify advisory

Source
linux kernel
linux
6.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 80e590aeb132887102c3fa79d99b338f099dc952

Verify advisory

Source
Linux
Linux
≥ b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 456327e565dc49d18b2f595f39f47df8a36f1057

Verify advisory

Source
Linux
Linux
≥ b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 639f5d006e36bb303f525d9479448c412b720c39

Verify advisory

Source
Linux
Linux
5.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.