{"id":"CVE-2022-49307","aliases":["CVE-2022-49307"],"related":[],"kind":"vulnerability","state":"published","title":"tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: synclink_gt: Fix null-pointer-dereference in slgt_clean()\n\nWhen the driver fails at alloc_hdlcdev(), and then we remove the driver\nmodule, we will get the following splat:\n\n[   25.065966] general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN PTI\n[   25.066914] KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17]\n[   25.069262] RIP: 0010:detach_hdlc_protocol+0x2a/0x3e0\n[   25.077709] Call Trace:\n[   25.077924]  <TASK>\n[   25.078108]  unregister_hdlc_device+0x16/0x30\n[   25.078481]  slgt_cleanup+0x157/0x9f0 [synclink_gt]\n\nFix this by checking whether the 'info->netdev' is a null pointer first.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: synclink_gt: Fix null-pointer-dereference in slgt_clean()\n\nWhen the driver fails at alloc_hdlcdev(), and then we remove the driver\nmodule, we will get the following splat:\n\n[   25.065966] general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN PTI\n[   25.066914] KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17]\n[   25.069262] RIP: 0010:detach_hdlc_protocol+0x2a/0x3e0\n[   25.077709] Call Trace:\n[   25.077924]  <TASK>\n[   25.078108]  unregister_hdlc_device+0x16/0x30\n[   25.078481]  slgt_cleanup+0x157/0x9f0 [synclink_gt]\n\nFix this by checking whether the 'info->netdev' is a null pointer first.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-02-26T02:10:39.151Z","modified":"2026-06-17T05:17:40.053Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"078212ad15dbd88840c82c97f12c93d83703c8fd","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"ba08cbc5b53e151d0acf1930fb526fc65b7f3e65","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"f6e07eb7ebec53ffe81fc2489589320fbe4a6b75","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"d68d5e68b7f64de7170f8e04dd9b995c36b2c71c","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"8a95696bdc0e13f8980f05b54a3b9081963d1256","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"ddd67751ab86c6a65f95c35293c42f85a42ac05d","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"1ceb4ca9543a8a788febf6bc8dad2e605e172d5e","status":"affected"},{"type":"git","introduced":"705b6c7b34f2621f95f606d0e683daa10cdb8eb9","fixed":"689ca31c542687709ba21ec2195c1fbce34fd029","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.16","status":"unaffected"},{"type":"semver","introduced":"4.9.318","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.122","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.47","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.15","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.4","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.318"},{"status":"affected","introduced":"4.10","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.122"},{"status":"affected","introduced":"5.11","fixed":"5.15.47"},{"status":"affected","introduced":"5.16","fixed":"5.17.15"},{"status":"affected","introduced":"5.18","fixed":"5.18.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/50c341f9a2adc4c32a8ad5a39eb99d9c4a419e0d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078212ad15dbd88840c82c97f12c93d83703c8fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba08cbc5b53e151d0acf1930fb526fc65b7f3e65","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6e07eb7ebec53ffe81fc2489589320fbe4a6b75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d68d5e68b7f64de7170f8e04dd9b995c36b2c71c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a95696bdc0e13f8980f05b54a3b9081963d1256","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddd67751ab86c6a65f95c35293c42f85a42ac05d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ceb4ca9543a8a788febf6bc8dad2e605e172d5e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/689ca31c542687709ba21ec2195c1fbce34fd029","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:44:25.712Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49307","url":"https://www.cve.org/CVERecord?id=CVE-2022-49307","licence":"CVE Terms of Use","modified":"2026-05-11T18:57:09.382Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49307","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49307","licence":"Public domain","modified":"2026-06-17T05:17:40.053Z"}],"updatedAt":"2026-11-25T22:58:20.385Z","epss":{"score":0.00292,"percentile":0.14243,"date":"2026-11-30T12:00:22.000Z"}}