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

kernel/sys.c: fix the racy usage of task_lock(tsk->group_leader) in sys_prlimit64() paths

In the Linux kernel, the following vulnerability has been resolved: kernel/sys.c: fix the racy usage of task_lock(tsk->group_leader) in sys_prlimit64() paths The usage of task_lock(tsk->group_leader) in sys_prlimit64()->do_prlimit() path is very broken. sys_prlimit64() does get_task_struct(tsk) but this only protects task_struct itself. If tsk != current and tsk is not a leader, this process can exit/exec and task_lock(tsk->group_leader) may use the already freed task_struct. Another problem is that sys_prlimit64() can race with mt-exec which changes ->group_leader. In this case do_prlimit() may take the wrong lock, or (worse) ->group_leader may change between task_lock() and task_unlock(). Change sys_prlimit64() to take tasklist_lock when necessary. This is not nice, but I don't see a better fix for -stable.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Nov 12, 2025
Updated
Aug 5, 2026
EPSS
0.1% · 3th percentile
CWE
—
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

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

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

Affected systems

—

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

    • 5.18affected
    • 18c91bb2d87268d23868bf13508f5bc9cf04e89a and later · before 1bc0d9315ef5296abb2c9fd840336255850ded18affected · git
    • 18c91bb2d87268d23868bf13508f5bc9cf04e89a and later · before 132f827e7bac7373e1522e89709d70b43cae5342affected · git
    • 18c91bb2d87268d23868bf13508f5bc9cf04e89a and later · before 19b45c84bd9fd42fa97ff80c6350d604cb871c75affected · git
    • 18c91bb2d87268d23868bf13508f5bc9cf04e89a and later · before 6796412decd2d8de8ec708213bbc958fab72f143affected · git
    • 18c91bb2d87268d23868bf13508f5bc9cf04e89a and later · before a15f37a40145c986cdf289a4b88390f35efdecc4affected · git
    • before 5.18not affected · semver
    • 6.1.157 and later · up to and including 6.1.*not affected · semver
    • 6.6.113 and later · up to and including 6.6.*not affected · semver
    • 6.12.54 and later · up to and including 6.12.*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.158-16.1.158-1
Debian:13linuxbefore 6.12.57-16.12.57-1
Debian:14linuxbefore 6.17.6-16.17.6-1
SUSE:Linux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_10before 1-150700.15.3.11-150700.15.3.1
SUSE:Linux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_10before 1-150700.1.3.11-150700.1.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-64kbbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-defaultbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-default-basebefore 6.4.0-150700.53.34.1.150700.17.23.16.4.0-150700.53.34.1.150700.17.23.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-sourcebefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7kernel-zfcpdumpbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP7kernel-docsbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP7kernel-obs-buildbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Development Tools 15 SP7kernel-symsbefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP7kernel-azurebefore 6.4.0-150700.53.34.16.4.0-150700.53.34.1
SUSE:Linux Micro 6.1kernel-defaultbefore 6.4.0-41.16.4.0-41.1
SUSE:Linux Micro 6.1kernel-default-basebefore 6.4.0-41.1.21.186.4.0-41.1.21.18
SUSE:Linux Micro 6.1kernel-kvmsmallbefore 6.4.0-41.16.4.0-41.1
SUSE:Linux Micro 6.1kernel-rtbefore 6.4.0-41.16.4.0-41.1
SUSE:Linux Micro 6.1kernel-sourcebefore 6.4.0-41.16.4.0-41.1
SUSE:Linux Micro 6.1kernel-source-rtbefore 6.4.0-41.16.4.0-41.1
SUSE:Real Time Module 15 SP7kernel-rtbefore 6.4.0-150700.7.34.16.4.0-150700.7.34.1
SUSE:Real Time Module 15 SP7kernel-source-rtbefore 6.4.0-150700.7.34.16.4.0-150700.7.34.1
SUSE:Real Time Module 15 SP7kernel-syms-rtbefore 6.4.0-150700.7.34.16.4.0-150700.7.34.1

Other highest-scoring records for the same primary product.

  • CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation
    40Plan
  • CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment
    40Plan
  • CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()
    40Plan
  • CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler
    40Plan
  • CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index
    40Plan
  • CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index
    40Plan

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 Linux132f827e7bac7373e1522e89709d70b43cae5342Vendor (CNA)
Linux Linux19b45c84bd9fd42fa97ff80c6350d604cb871c75Vendor (CNA)
Linux Linux1bc0d9315ef5296abb2c9fd840336255850ded18Vendor (CNA)
Linux Linux6796412decd2d8de8ec708213bbc958fab72f143Vendor (CNA)
Linux Linuxa15f37a40145c986cdf289a4b88390f35efdecc4Vendor (CNA)
debian:linux6.1.158-1 · Debian:12Package registry (OSV)
suse:kernel-64kb6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-default6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-default-base6.4.0-150700.53.34.1.150700.17.23.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-docs6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7Package registry (OSV)
suse:kernel-livepatch-SLE15-SP7-RT_Update_101-150700.1.3.1 · SUSE:Linux Enterprise Live Patching 15 SP7Package registry (OSV)
suse:kernel-obs-build6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7Package registry (OSV)
suse:kernel-rt6.4.0-150700.7.34.1 · SUSE:Real Time Module 15 SP7Package registry (OSV)
suse:kernel-source6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)
suse:kernel-source-rt6.4.0-150700.7.34.1 · SUSE:Real Time Module 15 SP7Package registry (OSV)
suse:kernel-syms6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7Package registry (OSV)
suse:kernel-syms-rt6.4.0-150700.7.34.1 · SUSE:Real Time Module 15 SP7Package registry (OSV)
suse:kernel-zfcpdump6.4.0-150700.53.34.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7Package registry (OSV)

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
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

—

CVSS vector

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

nvd-secondary

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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; 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

Change log

  1. Fix✗ → ✓

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

References

All records