CVE-2022-49940: tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 309aea4b6b813f6678c3a547cfd7fe3a76ffa976, 5.15.66, 5.19.
Low priority for now. Upgrade to Linux Linux 309aea4b6b813f6678c3a547cfd7fe3a76ffa976, 5.15.66, 5.19 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf() A null pointer dereference can happen when attempting to access the "gsm->receive()" function in gsmld_receive_buf(). Currently, the code assumes that gsm->recieve is only called after MUX activation. Since the gsmld_receive_buf() function can be accessed without the need to initialize the MUX, the gsm->receive() function will not be set and a NULL pointer dereference will occur. Fix this by avoiding the call to "gsm->receive()" in case the function is not initialized by adding a sanity check. Call Trace: <TASK> gsmld_receive_buf+0x1c2/0x2f0 drivers/tty/n_gsm.c:2861 tiocsti drivers/tty/tty_io.c:2293 [inline] tty_ioctl+0xa75/0x15d0 drivers/tty/tty_io.c:2692 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd
- Published
- Jun 18, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-476
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.15.61 and later · before 5.15.66
- linux linux kernel5.18.18 and later · before 5.19
- linux linux kernel5.19.2 and later · before 5.19.8
- linux linux kernel6.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2dc1be365a70699f7dda92fd9e48b84546086070affected
- b8faa754b523a845facdc83120b2ecd290d7fa6d and later · before 5a82cf64f8ad63caf6bf115642ce44ddbc64311eaffected · git
- dfa9b6d34aac2154b5e926d7a7a061123bf137c6 and later · before 309aea4b6b813f6678c3a547cfd7fe3a76ffa976affected · git
- 5e59c010c6862da329db17acca086afd8bea1aa8 and later · before 5aa37f9510345a812c0998bcbbc4d88d1dcc4d8baffected · git
- 01aecd917114577c423f07cec0d186ad007d76fc and later · before f16c6d2e58a4c2b972efcf9eb12390ee0ba3befbaffected · git
- 5.18.18 and later · before 5.19affected · semver
- 5.15.61 and later · before 5.15.66affected · semver
- 5.19.2 and later · before 5.19.8affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.19.11-1 | 5.19.11-1 |
| Red Hat:enterprise_linux:8::baseos | bpftool | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | bpftool-debuginfo | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-debuginfo | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-x86_64 | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-devel | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules-extra | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-debuginfo | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
| Red Hat:enterprise_linux:8::baseos | kernel-tools-libs | before 0:4.18.0-553.el8_10 | 0:4.18.0-553.el8_10 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-49938Jun 18, 2025 · cifs: fix small mempool leak in SMB2_negotiate()22Monitor
- ← EarlierCVE-2022-49939Jun 18, 2025 · binder: fix UAF of ref->proc caused by race condition28Monitor
- Later →CVE-2022-49942Jun 18, 2025 · wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 309aea4b6b813f6678c3a547cfd7fe3a76ffa976 | Vendor (CNA) |
| Linux Linux | 5.15.66 | Vendor (CNA) |
| Linux Linux | 5.19 | Vendor (CNA) |
| Linux Linux | 5.19.8 | Vendor (CNA) |
| Linux Linux | 5a82cf64f8ad63caf6bf115642ce44ddbc64311e | Vendor (CNA) |
| Linux Linux | 5aa37f9510345a812c0998bcbbc4d88d1dcc4d8b | Vendor (CNA) |
| Linux Linux | f16c6d2e58a4c2b972efcf9eb12390ee0ba3befb | Vendor (CNA) |
| debian:linux | 5.19.11-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:kernel | 0:4.18.0-553.123.1.el8_10.cloud.0.1 · Rocky Linux:8 | Package registry (OSV) |
| suse:kernel-64kb | 5.14.21-150500.55.113.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-default | 5.14.21-150500.55.113.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-default-base | 5.14.21-150500.55.113.1.150500.6.53.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-docs | 5.14.21-150500.55.113.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_28 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-obs-build | 5.14.21-150500.55.113.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | Package registry (OSV) |
| suse:kernel-rt | 5.14.21-150500.13.100.2 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-source | 5.14.21-150500.55.113.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-source-rt | 5.14.21-150500.13.100.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
+2
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.