CVE-2025-40153: mm: hugetlb: avoid soft lockup when mprotect to large memory area
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.21% (FIRST EPSS).
- Fixed version: Linux Linux 30498c44c2a0b20f6833ed7d8fc3df901507f760, 4975c975ed9457a77953a26aeef85fdba7cf5498, 547e123e9d342a44c756446640ed847a8aeec611.
Low priority for now. Upgrade to Linux Linux 30498c44c2a0b20f6833ed7d8fc3df901507f760, 4975c975ed9457a77953a26aeef85fdba7cf5498, 547e123e9d342a44c756446640ed847a8aeec611 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: avoid soft lockup when mprotect to large memory area When calling mprotect() to a large hugetlb memory area in our customer's workload (~300GB hugetlb memory), soft lockup was observed: watchdog: BUG: soft lockup - CPU#98 stuck for 23s! [t2_new_sysv:126916] CPU: 98 PID: 126916 Comm: t2_new_sysv Kdump: loaded Not tainted 6.17-rc7 Hardware name: GIGACOMPUTING R2A3-T40-AAV1/Jefferson CIO, BIOS 5.4.4.1 07/15/2025 pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mte_clear_page_tags+0x14/0x24 lr : mte_sync_tags+0x1c0/0x240 sp : ffff80003150bb80 x29: ffff80003150bb80 x28: ffff00739e9705a8 x27: 0000ffd2d6a00000 x26: 0000ff8e4bc00000 x25: 00e80046cde00f45 x24: 0000000000022458 x23: 0000000000000000 x22: 0000000000000004 x21: 000000011b380000 x20: ffff000000000000 x19: 000000011b379f40 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : ffffc875e0aa5e2c x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : fffffc01ce7a5c00 x4 : 00000000046cde00 x3 : fffffc0000000000 x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff0046cde7c000 Call trace: mte_clear_page_tags+0x14/0x24 set_huge_pte_at+0x25c/0x280 hugetlb_change_protection+0x220/0x430 change_protection+0x5c/0x8c mprotect_fixup+0x10c/0x294 do_mprotect_pkey.constprop.0+0x2e0/0x3d4 __arm64_sys_mprotect+0x24/0x44 invoke_syscall+0x50/0x160 el0_svc_common+0x48/0x144 do_el0_svc+0x30/0xe0 el0_svc+0x30/0xf0 el0t_64_sync_handler+0xc4/0x148 el0t_64_sync+0x1a4/0x1a8 Soft lockup is not triggered with THP or base page because there is cond_resched() called for each PMD size. Although the soft lockup was triggered by MTE, it should be not MTE specific. The other processing which takes long time in the loop may trigger soft lockup too. So add cond_resched() for hugetlb to avoid soft lockup.
- Published
- Nov 12, 2025
- Updated
- Oct 19, 2026
- EPSS
- 0.2% · 11th percentile
- CWE
- —
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
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.17affected
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 30498c44c2a0b20f6833ed7d8fc3df901507f760affected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 5783485ab2be06be5312b26c8793526edc09123daffected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 547e123e9d342a44c756446640ed847a8aeec611affected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 957faf9582f92bb2be8ebe4ab6aa1c2bc71d9859affected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 964598e6f70a1be9fe675280bf16b4f96b0a6809affected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before 4975c975ed9457a77953a26aeef85fdba7cf5498affected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before c6096f3947f68f96defedb8764b3b1ca4cf3469faffected · git
- 8f860591ffb29738cf5539b6fbf27f50dcdeb380 and later · before f52ce0ea90c83a28904c7cc203a70e6434adfecbaffected · git
- before 2.6.17not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.158-1 | 6.1.158-1 |
| Debian:13 | linux | before 6.12.57-1 | 6.12.57-1 |
| Debian:14 | linux | before 6.17.6-1 | 6.17.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2025-40151Nov 12, 2025 · LoongArch: BPF: No support of struct argument in trampoline programs31Monitor
- ← EarlierCVE-2025-40152Nov 12, 2025 · drm/msm: Fix bootup splat with separate_gpu_drm modparam0Monitor
- Later →CVE-2025-40154Nov 12, 2025 · ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 30498c44c2a0b20f6833ed7d8fc3df901507f760 | Vendor (CNA) |
| Linux Linux | 4975c975ed9457a77953a26aeef85fdba7cf5498 | Vendor (CNA) |
| Linux Linux | 547e123e9d342a44c756446640ed847a8aeec611 | Vendor (CNA) |
| Linux Linux | 5783485ab2be06be5312b26c8793526edc09123d | Vendor (CNA) |
| Linux Linux | 957faf9582f92bb2be8ebe4ab6aa1c2bc71d9859 | Vendor (CNA) |
| Linux Linux | 964598e6f70a1be9fe675280bf16b4f96b0a6809 | Vendor (CNA) |
| Linux Linux | c6096f3947f68f96defedb8764b3b1ca4cf3469f | Vendor (CNA) |
| Linux Linux | f52ce0ea90c83a28904c7cc203a70e6434adfecb | Vendor (CNA) |
| debian:linux | 6.1.158-1 · Debian:12 | Package 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.
No history yet (it accumulates with the daily EPSS job).
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.
Credits
All researchersFinders, 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
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/4975c975ed9457a77953a26aeef85fdba7cf5498
- git.kernel.org/stable/c/547e123e9d342a44c756446640ed847a8aeec611
- git.kernel.org/stable/c/5783485ab2be06be5312b26c8793526edc09123d
- git.kernel.org/stable/c/957faf9582f92bb2be8ebe4ab6aa1c2bc71d9859
- git.kernel.org/stable/c/964598e6f70a1be9fe675280bf16b4f96b0a6809
- git.kernel.org/stable/c/c6096f3947f68f96defedb8764b3b1ca4cf3469f
- git.kernel.org/stable/c/f52ce0ea90c83a28904c7cc203a70e6434adfecb
Vendor advisories and official records. Exploit/PoC links are deliberately left out.