CVE-2022-49940
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.0 |
| linux | linux_kernel | 6.0 |
| linux | linux_kernel | 6.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a null pointer dereference in the Linux kernel's tty: n_gsm driver. It occurs because the code calls the gsm->receive() function without checking if it has been initialized. The function gsmld_receive_buf() can be accessed without initializing the MUX, so gsm->receive() may be NULL, leading to a crash when it is called. The fix adds a sanity check to avoid calling gsm->receive() if it is not set.
How can this vulnerability impact me? :
This vulnerability can cause a null pointer dereference, which may lead to a kernel crash or denial of service on affected Linux systems using the n_gsm driver. This could disrupt system operations or services relying on this driver.