# CVE-2024-38633: serial: max3100: Update uart\_driver\_registered on driver removal

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-21 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-38633, DEBIAN-CVE-2024-38633
- Record: https://cvemate.com/vulnerability/CVE-2024-38633 · JSON: https://cvemate.com/vulnerability/CVE-2024-38633/json

## Description

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

serial: max3100: Update uart_driver_registered on driver removal

The removal of the last MAX3100 device triggers the removal of
the driver. However, code doesn't update the respective global
variable and after insmod — rmmod — insmod cycle the kernel
oopses:

  max3100 spi-PRP0001:01: max3100_probe: adding port 0
  BUG: kernel NULL pointer dereference, address: 0000000000000408
  ...
  RIP: 0010:serial_core_register_port+0xa0/0x840
  ...
   max3100_probe+0x1b6/0x280 [max3100]
   spi_probe+0x8d/0xb0

Update the actual state so next time UART driver will be registered
again.

Hugo also noticed, that the error path in the probe also affected
by having the variable set, and not cleared. Instead of clearing it
move the assignment after the successfull uart_register_driver() call.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.243%, percentile 16.547%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 132)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-262.296 \| \< 4.15.0-232.244 \| \< 5.4.0-192.212 \| \< 5.15.0-121.131 \| \< 6.8.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1139.145 \| \< 4.4.0-1177.192 \| \< 4.15.0-1176.189 \| \< 5.4.0-1130.140 \| \< 5.15.0-1069.75 \| \< 6.8.0-1015.16
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1130.140~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1015.16~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2114.120 \| All versions (No fix recorded) \| \< 5.4.0-1130.140+fips1 \| \< 5.15.0-1069.75+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1176.189~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1184.199~14.04.1 \| \< 4.15.0-1184.199~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1135.142 \| \< 5.15.0-1072.81 \| \< 6.8.0-1014.16
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1184.199
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 36)

- <https://git.kernel.org/stable/c/21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b>
- <https://git.kernel.org/stable/c/9db4222ed8cd3e50b81c8b910ae74c26427a4003>
- <https://git.kernel.org/stable/c/e8e2a4339decad7e59425b594a98613402652d72>
- <https://git.kernel.org/stable/c/361a92c9038e8c8c3996f8eeaa14522a8ad90752>
- <https://git.kernel.org/stable/c/b6eb7aff23e05f362e8c9b560f6ac5e727b70e00>
- <https://git.kernel.org/stable/c/e8a10089eddba40d4b2080c9d3fc2d2b2488f762>
- <https://git.kernel.org/stable/c/fa84ca78b048dfb00df0ef446f5c35e0a98ca6a0>
- <https://git.kernel.org/stable/c/712a1fcb38dc7cac6da63ee79a88708fbf9c45ec>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2024-38633>
- <https://www.cve.org/CVERecord?id=CVE-2024-38633>
- <https://git.kernel.org/linus/712a1fcb38dc7cac6da63ee79a88708fbf9c45ec>
- <https://ubuntu.com/security/notices/USN-6951-1>
- <https://ubuntu.com/security/notices/USN-6953-1>
- <https://ubuntu.com/security/notices/USN-6951-2>
- <https://ubuntu.com/security/notices/USN-6951-3>
- <https://ubuntu.com/security/notices/USN-6951-4>
- <https://ubuntu.com/security/notices/USN-6979-1>
- <https://ubuntu.com/security/notices/USN-6999-1>
- <https://ubuntu.com/security/notices/USN-7004-1>

---

Data as of 2026-12-05T04:22:26.474Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
