CVE-2022-49307
JSON

5.5medium

tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 14% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelbefore 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.4NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tty: synclink_gt: Fix null-pointer-dereference in slgt_clean() Cuando el controlador falla en alloc_hdlcdev() y luego eliminamos el módulo del controlador, obtendremos el siguiente splat: [ 25.065966] error de protección general, probablemente para la dirección no canónica 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN PTI [ 25.066914] KASAN: null-ptr-deref en el rango [0x000000000000c10-0x0000000000000c17] [ 25.069262] RIP: 0010:detach_hdlc_protocol+0x2a/0x3e0 [ 25.077709] Seguimiento de llamadas: [ 25.077924] [ 25.078108] unregister_hdlc_device+0x16/0x30 [ 25.078481] slgt_cleanup+0x157/0x9f0 [synclink_gt] Solucione esto comprobando primero si 'info-&gt;netdev' es un puntero nulo.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49307 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49307 changed 2026-06-17Public domain