Skip to main content
Network Thinking Solutions Logo

CVE-2024-38633

Linux kernel: serial: max3100: Update uart_driver_registered on driver removal

All CVEs
CVE-2024-38633Published 6/21/2024

Linux kernel: serial: max3100: Update uart_driver_registered on driver removal

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.30, < 4.19.316

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.278

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.219

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.161

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.93

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.33

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.4

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < 21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < 9db4222ed8cd3e50b81c8b910ae74c26427a4003

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < e8e2a4339decad7e59425b594a98613402652d72

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < 361a92c9038e8c8c3996f8eeaa14522a8ad90752

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < b6eb7aff23e05f362e8c9b560f6ac5e727b70e00

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < e8a10089eddba40d4b2080c9d3fc2d2b2488f762

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < fa84ca78b048dfb00df0ef446f5c35e0a98ca6a0

Verify advisory

Source
Linux
Linux
≥ 7831d56b0a3544cbb6f82f76c34ca95e24d5b676, < 712a1fcb38dc7cac6da63ee79a88708fbf9c45ec

Verify advisory

Source
Linux
Linux
2.6.30

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.