Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于serial:max3100模块没有在驱动程序移除时更新uart_driver_registered。

AI Predicted 5.5 Difficulty: Easy EPSS 0.24% · P15

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 7831d56b0a3544cbb6f82f76c34ca95e24d5b676< 21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< 9db4222ed8cd3e50b81c8b910ae74c26427a4003 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< e8e2a4339decad7e59425b594a98613402652d72 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< 361a92c9038e8c8c3996f8eeaa14522a8ad90752 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< b6eb7aff23e05f362e8c9b560f6ac5e727b70e00 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< e8a10089eddba40d4b2080c9d3fc2d2b2488f762 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< fa84ca78b048dfb00df0ef446f5c35e0a98ca6a0 affected
7831d56b0a3544cbb6f82f76c34ca95e24d5b676< 712a1fcb38dc7cac6da63ee79a88708fbf9c45ec affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-38633

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
serial: max3100: Update uart_driver_registered on driver removal
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于serial:max3100模块没有在驱动程序移除时更新uart_driver_registered。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 7831d56b0a3544cbb6f82f76c34ca95e24d5b676 ~ 21a61a7fbcfdd3493cede43ebc7c4dfae2147a8b -
Linux Linux 2.6.30 -

II. Public POCs for CVE-2024-38633

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-38633

请登录查看更多情报信息。

Mailing List Discussions for CVE-2024-38633 (1)

Other References for CVE-2024-38633 (7)

Same Patch Batch · Linux · 2024-06-21 · 40 CVEs total

CVE-2024-36288 9.8 CRITICAL SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
CVE-2024-38381 8.8 HIGH nfc: nci: Fix uninit-value in nci_rx_work
CVE-2024-38628 7.8 HIGH usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
CVE-2024-38626 7.8 HIGH fuse: clear FR_SENT when re-adding requests into pending list
CVE-2024-38623 7.8 HIGH fs/ntfs3: Use variable length array instead of fixed size
CVE-2024-38635 7.8 HIGH soundwire: cadence: fix invalid PDI offset
CVE-2024-38388 7.8 HIGH ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup
CVE-2024-36286 7.8 HIGH netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()
CVE-2024-36477 7.8 HIGH tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer
CVE-2024-33619 7.8 HIGH efi: libstub: only free priv.runtime_map when allocated
CVE-2024-38659 7.3 HIGH enic: Validate length of nl attributes in enic_set_vf_port
CVE-2024-38780 dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
CVE-2024-38662 bpf: Allow delete from sockmap/sockhash only if update is allowed
CVE-2024-39277 dma-mapping: benchmark: handle NUMA_NO_NODE correctly
CVE-2024-38637 greybus: lights: check return of get_channel_from_mode
CVE-2024-34777 dma-mapping: benchmark: fix node id validation
CVE-2024-38636 f2fs: multidev: fix to recognize valid zero block address
CVE-2024-38634 serial: max3100: Lock port->lock when calling uart_handle_cts_change()
CVE-2024-38632 vfio/pci: fix potential memory leak in vfio_intx_enable()
CVE-2024-31076 genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline

Showing top 20 of 40 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-38633

No comments yet


Leave a comment