Skip to content
Noroxi
CVE-2025-38262· NVD / CVE Program· CNA Linux

tty: serial: uartlite: register uart driver in init

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.

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Jul 9, 2025
Updated
Aug 5, 2026
EPSS
0.2% · 6th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CNA vs NVD score

NVD
5.5
CNA · Linux
7.8
2.3 point gap

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxlinux kernel
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux11.0
  • linux linux kernel5.5 and later · before 5.15.187
  • linux linux kernel5.16 and later · before 6.1.143
  • linux linux kernel2.6.20 and later · before 5.4.296
  • linux linux kernel6.7 and later · before 6.12.36
  • linux linux kernel6.13 and later · before 6.15.5
  • linux linux kernel6.2 and later · before 6.6.96

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.20affected
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 5015eed450005bab6e5cb6810f7a62eab0434fc4affected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 9c905fdbba68a6d73d39a6b7de9b9f0d6c46df87affected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 6db06aaea07bb7c8e33a425cf7b98bf29ee6056eaffected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 8e958d10dd0ce5ae674cce460db5c9ca3f25243baffected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 685d29f2c5057b32c7b1b46f2a7d303b926c8f72affected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before f5e4229d94792b40e750f30c92bcf7a3107c72efaffected · git
    • 238b8721a554a33a451a3f13bdb5be8fe5cfc927 and later · before 6bd697b5fc39fd24e2aa418c7b7d14469f550a93affected · git
    • before 2.6.20not affected · semver
    • 5.4.296 and later · up to and including 5.4.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.147-16.1.147-1
Debian:13linuxbefore 6.12.37-16.12.37-1
openSUSE:Leap 16.0dtb-aarch64before 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-64kbbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-azurebefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-defaultbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-default-basebefore 6.12.0-160000.26.1.160000.2.76.12.0-160000.26.1.160000.2.7
openSUSE:Leap 16.0kernel-docsbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-kvmsmallbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-obs-buildbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-obs-qabefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-rtbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-sourcebefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-symsbefore 6.12.0-160000.26.16.12.0-160000.26.1
openSUSE:Leap 16.0kernel-zfcpdumpbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-azurebefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-docsbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-kvmsmallbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-obs-qabefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Enterprise Server 16.0kernel-zfcpdumpbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Micro 6.2kernel-64kbbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Micro 6.2kernel-defaultbefore 6.12.0-160000.26.16.12.0-160000.26.1
SUSE:Linux Micro 6.2kernel-default-basebefore 6.12.0-160000.26.1.160000.2.76.12.0-160000.26.1.160000.2.7
SUSE:Linux Micro 6.2kernel-rtbefore 6.12.0-160000.26.16.12.0-160000.26.1

+3

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux5015eed450005bab6e5cb6810f7a62eab0434fc4Vendor (CNA)
Linux Linux685d29f2c5057b32c7b1b46f2a7d303b926c8f72Vendor (CNA)
Linux Linux6bd697b5fc39fd24e2aa418c7b7d14469f550a93Vendor (CNA)
Linux Linux6db06aaea07bb7c8e33a425cf7b98bf29ee6056eVendor (CNA)
Linux Linux8e958d10dd0ce5ae674cce460db5c9ca3f25243bVendor (CNA)
Linux Linux9c905fdbba68a6d73d39a6b7de9b9f0d6c46df87Vendor (CNA)
Linux Linuxf5e4229d94792b40e750f30c92bcf7a3107c72efVendor (CNA)
azl3 kernel 6.6.92.2-2 on Azure Linux 3.06.6.96.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.05.15.200.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
debian:linux6.1.147-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-64kb6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-azure6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default-base6.12.0-160000.26.1.160000.2.7 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-docs6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-kvmsmall6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-build6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-qa6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-rt6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-source6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-syms6.12.0-160000.26.1 · openSUSE:Leap 16.0Package registry (OSV)
suse:kernel-64kb6.12.0-160000.26.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-azure6.12.0-160000.26.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-default6.12.0-160000.26.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-default-base6.12.0-160000.26.1.160000.2.7 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-docs6.12.0-160000.26.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-kvmsmall6.12.0-160000.26.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-obs-build6.12.0-160000.26.1 · SUSE:Linux Micro Extras 6.2Package registry (OSV)
suse:kernel-obs-qa6.12.0-160000.26.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records