CVE-2024-38633: serial: max3100: Update uart_driver_registered on driver removal
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-38633 is a Linux kernel bug in the MAX3100 serial driver. A remove-and-reload cycle can leave driver state inconsistent and cause a kernel oops. Business impact is mainly stability risk on systems using this specific driver, not a broadly documented remote compromise issue.
Executive priority
Treat as a targeted kernel reliability issue. Patch through normal kernel maintenance, faster for embedded or hardware-integrated systems using MAX3100 serial devices. There is no cited evidence of active exploitation or broad internet-facing exposure.
Technical view
The max3100 serial driver failed to clear or correctly set a global registration state during device removal and probe error paths. After an insmod, rmmod, insmod sequence, serial_core_register_port can dereference NULL and crash. Kernel stable commits update when uart_driver_registered is set.
Likely exposure
Exposure appears limited to Linux systems that include and use the MAX3100 SPI UART driver. The sources do not show broad default exposure, remote reachability, or impact on systems without this hardware or module path.
Exploitation context
The source bundle says KEV is false and provides no evidence of active exploitation. The described failure is a kernel oops after module/device lifecycle operations. Attacker prerequisites are not stated, so exploitability beyond local or administrative interaction is unconfirmed.
Researcher notes
The root cause is stale uart_driver_registered state across removal and failed probe paths. Public data lacks CVSS, CWE, and attacker model details. Validation should focus on branch-specific stable commits and whether the driver is present and reachable in the environment.
Mitigation direction
Apply Linux kernel or distribution updates that include the referenced stable fixes.
For Debian LTS systems, follow the Debian LTS advisory guidance.
Prioritize systems using MAX3100 serial hardware or the max3100 driver.
If patch timing is unclear, check current vendor kernel guidance before changing configuration.
Validation and detection
Inventory Linux hosts for MAX3100 hardware or max3100 driver usage.
Confirm the running kernel includes the referenced stable fix for its branch.
Check distribution security advisories for the fixed package version.
Review kernel logs for max3100 probe errors or related kernel oops events.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve ยท low confidence lookup
CVE-2024-38633 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.