CVE-2024-38633: serial: max3100: Update uart_driver_registered on driver removal

Published Jun 21, 2024
·
Updated

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

serial: max3100: Update uartdriverregistered 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: max3100probe: adding port 0 BUG: kernel NULL pointer dereference, address: 0000000000000408 ... RIP: 0010:serialcoreregisterport+0xa0/0x840 ... max3100probe+0x1b6/0x280 [max3100] spiprobe+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 uartregisterdriver() call.

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=2.6.30<4.19.316
Linux Linux kernel>=4.20<5.4.278
Linux Linux kernel>=5.5<5.10.219
Linux Linux kernel>=5.11<5.15.161
Linux Linux kernel>=5.16<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 8, 2024
Data Sourced
via Launchpad·11:30 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:31 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38633?

CVE-2024-38633 has been classified with a critical severity level due to its impact on system stability.

2

How do I fix CVE-2024-38633?

To fix CVE-2024-38633, update your Linux kernel to the latest patched version such as 5.10.223-1 or 6.12.12-1.

3

Which versions of the Linux kernel are affected by CVE-2024-38633?

CVE-2024-38633 affects Linux kernel versions from 2.6.30 up to 6.6.33.

4

What systems are vulnerable to CVE-2024-38633?

Systems running affected versions of the Linux kernel with the MAX3100 driver are vulnerable to CVE-2024-38633.

5

Is there a patch available for CVE-2024-38633?

Yes, patches are available in the newer kernel releases to address CVE-2024-38633.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203