PT-2025-18523 · Linux+1 · Linux Kernel+1
Published
2025-05-01
·
Updated
2025-05-02
·
CVE-2022-49806
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A potential null pointer dereference issue has been identified in the Linux kernel, specifically in the
sparx stats init() and sparx5 start() functions. The sparx stats init() function calls create singlethread workqueue() without checking the return value, which may be NULL, leading to a null pointer dereference. This occurs when queue delayed work() is called, followed by queue delayed work on() and queue delayed work(), ultimately accessing wq->flags and causing a null pointer dereference. The issue is resolved by checking the return value and returning -ENOMEM if it is NULL.Recommendations
For the Linux kernel, check the return value of
create singlethread workqueue() in sparx stats init() and sparx5 start() and return -ENOMEM if it is NULL to prevent null pointer dereferences.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel