CVE-2022-49805
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
01/05/2025
Last modified:
07/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()<br />
<br />
lan966x_stats_init() calls create_singlethread_workqueue() and not<br />
checked the ret value, which may return NULL. And a null-ptr-deref may<br />
happen:<br />
<br />
lan966x_stats_init()<br />
create_singlethread_workqueue() # failed, lan966x->stats_queue is NULL<br />
queue_delayed_work()<br />
queue_delayed_work_on()<br />
__queue_delayed_work() # warning here, but continue<br />
__queue_work() # access wq->flags, null-ptr-deref<br />
<br />
Check the ret value and return -ENOMEM if it is NULL.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 6.0.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



