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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-38262— tty: serial: uartlite: register uart driver in init

EPSS 0.05% · P17
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-38262

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
tty: serial: uartlite: register uart driver in init
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: tty: serial: uartlite: register uart driver in init When two instances of uart devices are probing, a concurrency race can occur. If one thread calls uart_register_driver function, which first allocates and assigns memory to 'uart_state' member of uart_driver structure, the other instance can bypass uart driver registration and call ulite_assign. This calls uart_add_one_port, which expects the uart driver to be fully initialized. This leads to a kernel panic due to a null pointer dereference: [ 8.143581] BUG: kernel NULL pointer dereference, address: 00000000000002b8 [ 8.156982] #PF: supervisor write access in kernel mode [ 8.156984] #PF: error_code(0x0002) - not-present page [ 8.156986] PGD 0 P4D 0 ... [ 8.180668] RIP: 0010:mutex_lock+0x19/0x30 [ 8.188624] Call Trace: [ 8.188629] ? __die_body.cold+0x1a/0x1f [ 8.195260] ? page_fault_oops+0x15c/0x290 [ 8.209183] ? __irq_resolve_mapping+0x47/0x80 [ 8.209187] ? exc_page_fault+0x64/0x140 [ 8.209190] ? asm_exc_page_fault+0x22/0x30 [ 8.209196] ? mutex_lock+0x19/0x30 [ 8.223116] uart_add_one_port+0x60/0x440 [ 8.223122] ? proc_tty_register_driver+0x43/0x50 [ 8.223126] ? tty_register_driver+0x1ca/0x1e0 [ 8.246250] ulite_probe+0x357/0x4b0 [uartlite] To prevent it, move uart driver registration in to init function. This will ensure that uart_driver is always registered when probe function is called.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于uartlite驱动注册竞争条件,可能导致空指针取消引用。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 238b8721a554a33a451a3f13bdb5be8fe5cfc927 ~ 5015eed450005bab6e5cb6810f7a62eab0434fc4 -
LinuxLinux 2.6.20 -

II. Public POCs for CVE-2025-38262

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38262

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-07-09 · 26 CVEs total

CVE-2025-38252cxl/ras: Fix CPER handler device confusion
CVE-2025-38264nvme-tcp: sanitize request list handling
CVE-2025-38263bcache: fix NULL pointer in cache_set_flush()
CVE-2025-38261riscv: save the SR_SUM status over switches
CVE-2025-38260btrfs: handle csum tree error with rescue=ibadroots correctly
CVE-2025-38259ASoC: codecs: wcd9335: Fix missing free of regulator supplies
CVE-2025-38258mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
CVE-2025-38257s390/pkey: Prevent overflow in size calculation for memdup_user()
CVE-2025-38256io_uring/rsrc: fix folio unpinning
CVE-2025-38255lib/group_cpus: fix NULL pointer dereference from group_cpus_evenly()
CVE-2025-38254drm/amd/display: Add sanity checks for drm_edid_raw()
CVE-2025-38253HID: wacom: fix crash in wacom_aes_battery_handler()
CVE-2025-38251atm: clip: prevent NULL deref in clip_push()
CVE-2025-38238scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out
CVE-2025-38249ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()
CVE-2025-38250Bluetooth: hci_core: Fix use-after-free in vhci_flush()
CVE-2025-38247userns and mnt_idmap leak in open_tree_attr(2)
CVE-2025-38248bridge: mcast: Fix use-after-free during router port configuration
CVE-2025-38246bnxt: properly flush XDP redirect lists
CVE-2025-38244smb: client: fix potential deadlock when reconnecting channels

Showing top 20 of 26 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38262

No comments yet


Leave a comment