# CVE-2022-49307: tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Published: 2025-02-26T02:10:39.151Z
- Modified: 2026-06-17T05:17:40.053Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before 50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before 078212ad15dbd88840c82c97f12c93d83703c8fd; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before ba08cbc5b53e151d0acf1930fb526fc65b7f3e65; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before f6e07eb7ebec53ffe81fc2489589320fbe4a6b75; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before d68d5e68b7f64de7170f8e04dd9b995c36b2c71c; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before 8a95696bdc0e13f8980f05b54a3b9081963d1256; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before ddd67751ab86c6a65f95c35293c42f85a42ac05d; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before 1ceb4ca9543a8a788febf6bc8dad2e605e172d5e; from 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 before 689ca31c542687709ba21ec2195c1fbce34fd029; 2.6.16 (not affected: before 2.6.16; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49307](https://www.cve.org/CVERecord?id=CVE-2022-49307), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49307](https://nvd.nist.gov/vuln/detail/CVE-2022-49307), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49307 · Whole record: https://cve.day/CVE-2022-49307.json · Rebuilt by cve.day 2026-11-25T22:58:20.385Z
