{"id":"CVE-2024-38633","aliases":["CVE-2024-38633"],"related":[],"kind":"vulnerability","state":"published","title":"serial: max3100: Update uart_driver_registered on driver removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: max3100: Update uart_driver_registered on driver removal\n\nThe removal of the last MAX3100 device triggers the removal of\nthe driver. However, code doesn't update the respective global\nvariable and after insmod — rmmod — insmod cycle the kernel\noopses:\n\n  max3100 spi-PRP0001:01: max3100_probe: adding port 0\n  BUG: kernel NULL pointer dereference, address: 0000000000000408\n  ...\n  RIP: 0010:serial_core_register_port+0xa0/0x840\n  ...\n   max3100_probe+0x1b6/0x280 [max3100]\n   spi_probe+0x8d/0xb0\n\nUpdate the actual state so next time UART driver will be registered\nagain.\n\nHugo also noticed, that the error path in the probe also affected\nby having the variable set, and not cleared. Instead of clearing it\nmove the assignment after the successfull uart_register_driver() call.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: max3100: Update uart_driver_registered on driver removal\n\nThe removal of the last MAX3100 device triggers the removal of\nthe driver. However, code doesn't update the respective global\nvariable and after insmod — rmmod — insmod cycle the kernel\noopses:\n\n  max3100 spi-PRP0001:01: max3100_probe: adding port 0\n  BUG: kernel NULL pointer dereference, address: 0000000000000408\n  ...\n  RIP: 0010:serial_core_register_port+0xa0/0x840\n  ...\n   max3100_probe+0x1b6/0x280 [max3100]\n   spi_probe+0x8d/0xb0\n\nUpdate the actual state so next time UART driver will be registered\nagain.\n\nHugo also noticed, that the error path in the probe also affected\nby having the variable set, and not cleared. Instead of clearing it\nmove the assignment after the successfull uart_register_driver() call.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: max3100: actualización uart_driver_registered al eliminar el controlador La eliminación del último dispositivo MAX3100 desencadena la eliminación del controlador. Sin embargo, el código no actualiza la variable global respectiva y después del ciclo insmod — rmmod — insmod, el kernel falla: max3100 spi-PRP0001:01: max3100_probe: agregando el puerto 0 ERROR: desreferencia del puntero NULL del kernel, dirección: 0000000000000408... RIP: 0010:serial_core_register_port+0xa0/0x840 ... max3100_probe+0x1b6/0x280 [max3100] spi_probe+0x8d/0xb0 Actualice el estado actual para que la próxima vez el controlador UART se registre nuevamente. Hugo también notó que la ruta de error en la sonda también se veía afectada por tener la variable configurada y no borrada. En lugar de borrarlo, mueva la asignación después de la llamada exitosa a uart_register_driver().","source":"nvd"}],"published":"2024-06-21T10:18:22.905Z","modified":"2026-06-17T07:40:45.910Z","severity":{"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"},"severities":[{"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":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"9db4222ed8cd3e50b81c8b910ae74c26427a4003","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"e8e2a4339decad7e59425b594a98613402652d72","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"361a92c9038e8c8c3996f8eeaa14522a8ad90752","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"b6eb7aff23e05f362e8c9b560f6ac5e727b70e00","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"e8a10089eddba40d4b2080c9d3fc2d2b2488f762","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"fa84ca78b048dfb00df0ef446f5c35e0a98ca6a0","status":"affected"},{"type":"git","introduced":"7831d56b0a3544cbb6f82f76c34ca95e24d5b676","fixed":"712a1fcb38dc7cac6da63ee79a88708fbf9c45ec","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.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"4.19.316","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.278","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","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","introduced":"2.6.30","fixed":"4.19.316"},{"status":"affected","introduced":"4.20","fixed":"5.4.278"},{"status":"affected","introduced":"5.5","fixed":"5.10.219"},{"status":"affected","introduced":"5.11","fixed":"5.15.161"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.9.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9db4222ed8cd3e50b81c8b910ae74c26427a4003","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8e2a4339decad7e59425b594a98613402652d72","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/361a92c9038e8c8c3996f8eeaa14522a8ad90752","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6eb7aff23e05f362e8c9b560f6ac5e727b70e00","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8a10089eddba40d4b2080c9d3fc2d2b2488f762","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa84ca78b048dfb00df0ef446f5c35e0a98ca6a0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/712a1fcb38dc7cac6da63ee79a88708fbf9c45ec","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-24T15:15:33.848Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38633","url":"https://www.cve.org/CVERecord?id=CVE-2024-38633","licence":"CVE Terms of Use","modified":"2026-05-11T20:20:33.247Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38633","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38633","licence":"Public domain","modified":"2026-06-17T07:40:45.910Z"}],"updatedAt":"2026-11-25T22:58:42.119Z","epss":{"score":0.00243,"percentile":0.1659,"date":"2026-12-01T12:00:22.000Z"}}