# CVE-2022-49307: tty: synclink\_gt: Fix null-pointer-dereference in slgt\_clean()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T02:10:39.151Z
- **Modified:** 2026-06-17T05:17:40.053Z

## Who should check

- Anyone running Linux \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 078212ad15dbd88840c82c97f12c93d83703c8fd; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ba08cbc5b53e151d0acf1930fb526fc65b7f3e65; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< f6e07eb7ebec53ffe81fc2489589320fbe4a6b75; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< d68d5e68b7f64de7170f8e04dd9b995c36b2c71c; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 8a95696bdc0e13f8980f05b54a3b9081963d1256; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ddd67751ab86c6a65f95c35293c42f85a42ac05d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 689ca31c542687709ba21ec2195c1fbce34fd029
- Anyone running Linux 2.6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

tty: synclink\_gt: Fix null-pointer-dereference in slgt\_clean()

When the driver fails at alloc\_hdlcdev(), and then we remove the driver
module, we will get the following splat:

\[   25.065966\] general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 \[\#1\] PREEMPT SMP KASAN PTI
\[   25.066914\] KASAN: null-ptr-deref in range \[0x0000000000000c10-0x0000000000000c17\]
\[   25.069262\] RIP: 0010:detach\_hdlc\_protocol+0x2a/0x3e0
\[   25.077709\] Call Trace:
\[   25.077924\]  \<TASK\>
\[   25.078108\]  unregister\_hdlc\_device+0x16/0x30
\[   25.078481\]  slgt\_cleanup+0x157/0x9f0 \[synclink\_gt\]

Fix this by checking whether the 'info-\>netdev' is a null pointer first.

## Affected and fixed versions

- Linux: \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 078212ad15dbd88840c82c97f12c93d83703c8fd; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ba08cbc5b53e151d0acf1930fb526fc65b7f3e65; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< f6e07eb7ebec53ffe81fc2489589320fbe4a6b75; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< d68d5e68b7f64de7170f8e04dd9b995c36b2c71c; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 8a95696bdc0e13f8980f05b54a3b9081963d1256; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ddd67751ab86c6a65f95c35293c42f85a42ac05d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 689ca31c542687709ba21ec2195c1fbce34fd029 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 689ca31c542687709ba21ec2195c1fbce34fd029 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49307. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49307.md
Affected: Linux >= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, < 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d; >= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, < 078212ad15dbd88840c82c97f12c93d83703c8fd; >= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, < ba08cbc5b53e151d0acf1930fb526fc65b7f3e65; >= 705b6c7b34f2621f95f606d…
Fixed in: Linux 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d, Linux 078212ad15dbd88840c82c97f12c93d83703c8fd, Linux 8a95696bdc0e13f8980f05b54a3b9081963d1256, Linux 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e, Linux 689ca31c542687709ba21ec2195c1fbce34fd029

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49307 being exploited?

There is no confirmed exploitation: CVE-2022-49307 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49307?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49307?

Linux \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 078212ad15dbd88840c82c97f12c93d83703c8fd; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ba08cbc5b53e151d0acf1930fb526fc65b7f3e65; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< f6e07eb7ebec53ffe81fc2489589320fbe4a6b75; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< d68d5e68b7f64de7170f8e04dd9b995c36b2c71c; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 8a95696bdc0e13f8980f05b54a3b9081963d1256; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< ddd67751ab86c6a65f95c35293c42f85a42ac05d; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e; \>= 705b6c7b34f2621f95f606d0e683daa10cdb8eb9, \< 689ca31c542687709ba21ec2195c1fbce34fd029; Linux 2.6.16.

### Is there a fix for CVE-2022-49307?

Yes. Fixed in Linux 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d, Linux 078212ad15dbd88840c82c97f12c93d83703c8fd, Linux 8a95696bdc0e13f8980f05b54a3b9081963d1256, Linux 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e, Linux 689ca31c542687709ba21ec2195c1fbce34fd029. Upgrade Linux to 689ca31c542687709ba21ec2195c1fbce34fd029 or later.

### How do I check if I'm affected by CVE-2022-49307?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d>
- patch: <https://git.kernel.org/stable/c/078212ad15dbd88840c82c97f12c93d83703c8fd>
- patch: <https://git.kernel.org/stable/c/ba08cbc5b53e151d0acf1930fb526fc65b7f3e65>
- patch: <https://git.kernel.org/stable/c/f6e07eb7ebec53ffe81fc2489589320fbe4a6b75>
- patch: <https://git.kernel.org/stable/c/d68d5e68b7f64de7170f8e04dd9b995c36b2c71c>
- patch: <https://git.kernel.org/stable/c/8a95696bdc0e13f8980f05b54a3b9081963d1256>
- patch: <https://git.kernel.org/stable/c/ddd67751ab86c6a65f95c35293c42f85a42ac05d>
- patch: <https://git.kernel.org/stable/c/1ceb4ca9543a8a788febf6bc8dad2e605e172d5e>
- patch: <https://git.kernel.org/stable/c/689ca31c542687709ba21ec2195c1fbce34fd029>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49307>

HTML: <https://flawdb.com/CVE-2022-49307> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49307>
