CVE-2025-38031

Medium

In the Linux kernel, the following vulnerability has been resolved: padata: do not leak refcount in reorder_work A recent patch that addressed a UAF introduced a reference count leak: the parallel_data refcount is incremented unconditionally, regardless of the return value of queue_work(). If the work item is already queued, the incremented refcount is never decremented. Fix this by checking the return value of queue_work() and decrementing the refcount when necessary. Resolves: Unreferenced object 0xffff9d9f421e3d80 (size 192): comm "cryptomgr_probe", pid 157, jiffies 4294694003 hex dump (first 32 bytes): 80 8b cf 41 9f 9d ff ff b8 97 e0 89 ff ff ff ff ...A............ d0 97 e0 89 ff ff ff ff 19 00 00 00 1f 88 23 00 ..............#. backtrace (crc 838fb36): __kmalloc_cache_noprof+0x284/0x320 padata_alloc_pd+0x20/0x1e0 padata_alloc_shell+0x3b/0xa0 0xffffffffc040a54d cryptomgr_probe+0x43/0xc0 kthread+0xf6/0x1f0 ret_from_fork+0x2f/0x50 ret_from_fork_asm+0x1a/0x30

Package Linux Kernel
Published 2025-06-18
Last modified 2025-12-18
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14 and later are affected. Fixed in 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, 6.15 and their respective stable series.

Affected from
≥ 5.10.235 ≥ 5.15.179 ≥ 6.1.129 ≥ 6.6.76 ≥ 6.12.13 ≥ 6.13.2 ≥ 6.14
Fixed in
✓ 5.10.238 5.10.x ✓ 5.15.185 5.15.x ✓ 6.1.141 6.1.x ✓ 6.6.93 6.6.x ✓ 6.12.31 6.12.x ✓ 6.14.9 6.14.x ✓ 6.15

References

The following references provide additional information about CVE-2025-38031 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2025-38031?

    CVE-2025-38031 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.10.235 onward and has been patched in 5.10.238, 5.15.185, 6.1.141 and others. CVE-2025-38031 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2025-38031?

    CVE-2025-38031 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2025-38031?

    Yes — CVE-2025-38031 has been patched. Fixed versions include 5.10.238, 5.15.185, 6.1.141 and others. If you are running Linux kernel 5.10.235 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2025-38031 actively exploited?

    No — CVE-2025-38031 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.