From: AL-KERNEL <[email protected]>
To: [email protected]
Subject: [CVE-2026-99652][MODERATE REGULAR] mm: fix deadlock of mremap() against UFFDIO_MOVE [ Upstream commit d03df42ddae196f20e9cfb775704e60269eb6b44 ]
Date: Sat, 21 Nov 2026 23:48:03 -0400 [thread overview]
Message-ID: <[email protected]> (raw)
CVE: CVE-2026-99652
Priority: MODERATE REGULAR
AL-KERNEL base severity: MODERATE
KPANIC flag: NO
Patch: mm: fix deadlock of mremap() against UFFDIO_MOVE [ Upstream commit d03df42ddae196f20e9cfb775704e60269eb6b44 ]
Commit: 3627d4eaa7f4426b979d497544ce23cb8884134b
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3627d4eaa7f4426b979d497544ce23cb8884134b
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99652
Analysis date: Sat, 21 Nov 2026 23:48:03 -0400
ActionableScore: 2
ActionableScore lower bound: unknown
Actionable bucket: Ordinary Moderate
Manual review required: NO
Summary:
A local low-privilege process can race `mremap()` with `UFFDIO_MOVE` to deadlock shared page-table locks and potentially hang or watchdog-panic the kernel.
======================================================================
ABOUT THIS REPORT
======================================================================
The original Linux kernel CVE announcement for CVE-2026-99652 is available here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99652
The original announcement does not normally provide a security severity
estimate, CVSS assessment, or enough information to determine whether the
reported kernel bug represents a practically relevant security issue.
This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin. It combines
an autonomous classifier with LLM-assisted technical analysis and a
separate ActionableScore mechanism.
The purpose of this report is to prioritize Linux kernel CVEs before
manual review, identify cases that require prompt investigation, and
support automatic closure of issues that are unlikely to have meaningful
security impact.
Published priority for this report: MODERATE REGULAR
Manual review required: NO
A detailed explanation of the methodology and priority rules is included
at the end of this message.
======================================================================
AL-KERNEL CLASSIFICATION RESULT
======================================================================
CVE-2026-99652 MODERATE https://www.kernelcve.org/list/?q=CVE-2026-99652 CHECK WITH IMPACT FROM ORIG NN MODERATE | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=1 LEGACY=MODERATE RESULT=DIFF (final Legacy and Aegis differ; FINAL: MODERATE, Aegis: MODERATE_KPANIC) Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H';*CWE-833;CWE-667;CWE-362;Other CVSS 'AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H';BEST CVSS score: '5.5';DESCR 'A lock ordering inversion can occur when mremap and UFFDIO_MOVE run concurrently on different VMAs in the same mm while sharing a pair of page table locks. One operation orders the locks by address while the vulnerable mremap paths take the source lock first, allowing two threads to hold one lock each and wait indefinitely for the other. For the CVSS the PR:L value reflects that a local user or process must create the relevant mappings and invoke mremap and userfaultfd operations. The demonstrated impact is a kernel deadlock and denial of service through stuck spinlocks, blocked memory management operations, CPU consumption, and a possible watchdog panic. There is no supported UAF, OOB access, information leak, or write primitive, so confidentiality and integrity remain unaffected. Automated impact decision path. The original SimpleNet classifier selected MODERATE. The primary LLM estimated paranoid CVSS 5.5 and the production ActionableScore returned 2 with recommendation Ordinary Moderate. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. No severity changing production threshold or specialist override was recorded. The legacy KP specialist has no review artifact for this run. The legacy FD or DH downgrade specialist has no review artifact for this run. Exact triggered rule markers were V41_INHERITED_KPANIC_PROMOTION_BLOCKED and MANUAL_REVIEW_REQUIRED. The independent weaker Aegis shadow evaluated CVSS 3.9 and ActionableScore 1 with primitive class CLASS_C and manual review REQUIRED. Its independently reconciled impact was MODERATE_KPANIC. The models disagreed but the aggregation rules retained the production result. The final reported impact is MODERATE.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Ordinary Moderate (with actual score 2) MAYBE READ OOB LOCK DEADLOCK IMPROVEONLY LINUS V41_INHERITED_KPANIC_PROMOTION_BLOCKED MANUAL_REVIEW_REQUIRED - - checked
======================================================================
ACTIONABLESCORE ANALYSIS
======================================================================
ActionableScore=2
PrimitiveClass=CLASS_C
RealUAF=NO
HostAdminRequired=NO
NamespaceScopedPrivilege=NO
ImportantCandidate=NO
ManualReview=RECOMMENDED
AutoDowngradeAllowed=YES
RequiresHostUID0=NO
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO
1. ActionableScore
* Raw base score: 2.
* Conservative score: 2; no floor or cap applied.
* Raw paranoid score: 2.
* Paranoid score: 2; no distinct effect supports an additional point.
* Final recommended bucket: **Ordinary Moderate**::
2. Signal breakdown
* +1 Local unprivileged trigger: supplied call-path evidence supports a local process operating on its own mappings through `mremap()` and `UFFDIO_MOVE`; host-administrator authority is not required.
* +1 Reliable kernel deadlock / strong DoS: conflicting page-table lock order allows two threads to hold one lock each indefinitely, potentially causing CPU stalls and watchdog termination.
* No race penalty: concurrency is required, but the attacker can drive both operations repeatedly; no narrow or one-shot timing is shown.
* No memory-corruption points: the patch establishes lock inversion, not UAF, OOB access, stale-object use, or a write primitive.
* No additional availability point: blocked MM activity, CPU spinning, and possible watchdog panic are consequences of the same deadlock.
* No B5-R or B3-PENDING signal: there is no retry-accumulated OOB write or shared-backing write.
* No authorization signal: no DENY-to-ALLOW decision or omitted security guard exists.
3. Reachability analysis
A local non-root process can create the relevant mappings and invoke the two MM operations concurrently. No capability, namespace-scoped privilege, prior privileged setup, special hardware, or unusual boot mode is evidenced. The complete trigger is below host-admin, but it does not rely on namespace capabilities. Userfaultfd policy can affect deployment exposure, without changing the supplied below-admin path.
4. Primitive and severity reading
The primitive is a page-table spinlock ordering inversion: `UFFDIO_MOVE` orders both locks by address, while vulnerable `mremap()` paths acquire the source lock first. The fix consistently uses `double_pt_lock()` and revalidates PMDs after both locks are acquired. This is CLASS_C deadlock/DoS behavior, with no active-state corruption or useful non-crash primitive shown. ImportantCandidate is therefore NO, and automatic Moderate treatment remains allowed.
5. One-sentence report phrase
A local low-privilege process can race `mremap()` with `UFFDIO_MOVE` to deadlock shared page-table locks and potentially hang or watchdog-panic the kernel.
6. Manual review advice
MANUAL CHECK RECOMMENDED
Confirm product userfaultfd availability and whether the deadlock causes host-wide failure under the deployed watchdog configuration.
7. Call-site confidence
Call-site confidence: high
======================================================================
UPSTREAM PATCH SUMMARY
======================================================================
Patch: mm: fix deadlock of mremap() against UFFDIO_MOVE [ Upstream commit d03df42ddae196f20e9cfb775704e60269eb6b44 ]
Commit: 3627d4eaa7f4426b979d497544ce23cb8884134b
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3627d4eaa7f4426b979d497544ce23cb8884134b
Commit description:
With per-VMA locks, UFFDIO_MOVE can run concurrently with mremap()
on different VMAs in the same mm. Those VMAs can share page tables, so
both operations can acquire the same pair of page-table locks.
UFFDIO_MOVE orders the locks by address, while mremap() takes the source
lock first. These conflicting orders can deadlock; mremap() holding
mmap_lock for writing no longer helps.
Move double_pt_lock() and double_pt_unlock() to mm/internal.h and use
them for all page-table moves in mremap(). Preserve the source entry
checks after acquiring both locks. Remove the comments claiming that
exclusive mmap_lock makes lock ordering irrelevant.
In move_ptes(), make sure to just recheck source and destination PMD
after taking the locks and drop the overly-long comment.
Fix generated by an LLM and sent by Chris Mason in private.
[ david: use new helpers consistently; simplify description and comments;
move_ptes() fixup ]
Fixes: 867a43a34ff8 ("userfaultfd: use per-vma locks in userfaultfd operations")
Cc: [email protected]
Signed-off-by: Chris Mason <[email protected]>
Reviewed-by: Lorenzo Stoakes (ARM) <[email protected]>
Acked-by: Muchun Song <[email protected]>
Tested-by: Muhammad Usama Anjum <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Lance Yang <[email protected]>
Signed-off-by: David Hildenbrand (Arm) <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Diffstat -rw-r--r-- include/linux/userfaultfd_k.h 2
-rw-r--r-- mm/huge_memory.c 19
-rw-r--r-- mm/hugetlb.c 14
-rw-r--r-- mm/internal.h 28
-rw-r--r-- mm/mremap.c 87
-rw-r--r-- mm/userfaultfd.c 27
Changed files:
mm/huge_memory.c
mm/hugetlb.c
mm/internal.h
mm/mremap.c
mm/userfaultfd.c
Diff excerpt:
Not included in this email. See the upstream URL for the full patch.
Full patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3627d4eaa7f4426b979d497544ce23cb8884134b
======================================================================
DETAILED REPORT METHODOLOGY
======================================================================
The original Linux kernel CVE announcement for CVE-2026-99652 can be found here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99652
The original CVE announcement normally does not include a security-level
estimate. In particular, it may not contain a CVSS assessment, an impact
level, or enough information to determine whether the reported bug is a
practically relevant security issue. One purpose of this parallel CVE list
is to provide that missing technical and prioritization information.
The original goal of the AL-KERNEL project was to prioritize Linux kernel
CVE analysis automatically before manual review. The system can also help
identify non-security issues that may be suitable for automatic closure.
This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin.
The first analysis stage combines an autonomous classifier with additional
LLM-based analysis. The autonomous classifier runs locally on a CPU and is
based on a backpropagation neural network. Together, these mechanisms
produce a technical vulnerability description, identify likely weakness
types, estimate CVSS severity, and provide input for ActionableScore.
Two CVSS estimates are retained because incomplete kernel vulnerability
information often permits more than one defensible interpretation:
Conservative CVSS vector: AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
The Best / paranoid CVSS vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
The Best / paranoid CVSS score: 5.5
The conservative vector represents a lower-impact interpretation.
The Best/paranoid vector intentionally represents a plausible upper-bound
interpretation and should not automatically be treated as demonstrated
real-world impact.
CVSS may also need to be adjusted for a particular Linux deployment,
because actual reachability, privileges, enabled kernel configuration,
hardware, namespaces, exposed device nodes, and other environmental
conditions can differ significantly between systems.
A separate ActionableScore mechanism evaluates practical remediation
urgency. Its analysis may include reachability, attack prerequisites,
subsystem exposure, memory-corruption characteristics, denial-of-service
reliability, and possible confidentiality, integrity, or
privilege-escalation impact.
Conservative ActionableScore: unknown
Paranoid ActionableScore: 2
The final base severity is taken directly from the second tab-separated
field of the AL-KERNEL classification result. ActionableScore does not
replace or independently override that final AL-KERNEL decision, and
if ActionableScore adjusted impact level of ALKERNEL, then you would see
self-readable flags above like INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHEREQTHAN7.
For an AL-KERNEL result of MODERATE, this report uses the following
additional presentation split:
ActionableScore below 5 -> MODERATE REGULAR
ActionableScore 5 or more -> MODERATE 7.0
The distinction between MODERATE REGULAR and MODERATE 7.0 makes it
possible to identify Moderate issues that should receive manual analysis
and fixes before lower-priority MODERATE REGULAR issues. In many cases,
MODERATE REGULAR fixes may wait for a later rebase or routine update.
There is one override in which MODERATE REGULAR becomes MODERATE 7.0
even when the ActionableScore is below 5. When the AL-KERNEL result
contains the KPANIC flag, a MODERATE result is always presented as
MODERATE 7.0. The KPANIC flag selected with few regexps without
usage of AI at all, so it helps to detect cases when Kernel Crash happens
and similar (to filter False-Negative results from the LLM usage).
KPANIC indicates that a reliable kernel crash, kernel panic, or similarly
serious kernel availability impact was identified by the classification
workflow.
AL-KERNEL base severity for this report: MODERATE
KPANIC detected for this report: NO
Published priority for this report (same as in Subject): MODERATE REGULAR
These results are intended to support engineering triage. They are
machine-generated estimates, and cases marked for manual review should
be validated by a human security engineer before final disposition.
For more info read docs linked from here: https://kernelcve.org/
(and you can submit you own patch there to generate such a report
for non-existant CVE-id yet).
Note that in many cases this AI tool selects higher severity, than
real is (means you can expect Importants instead of Moderate 7.0 or
Moderates 7.0 instead of regular Moderates). If you see such cases,
please use reply email interface to add additional manual analyses
info to this particular CVE.
And please, please, let me know when you see Lows instead of Importants
or Important instead of Low (because particular for such cases I
need to tune this AI tool to make it better for this one and next similar).
My contact email for such notifications is [email protected] (and both
send reply to CVE record itself too and see "reply" button below for howto reply).
reply other threads:[~2026-11-22 3:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --from, and --in-reply-to
switches of git-send-email(1) and next cmd tested by kernelcve.org admin:
git send-email --smtp-server=mail.kernelcve.org --smtp-server-port=25 --smtp-auth=none --from='Your Name <youremail@domain.is>' --suppress-cc=all --no-cc \
--in-reply-to=cve-2026-99652.7757fc14264c4c4d458fa54a@kernelcve.org \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
The file with msg could look like this then:
cat YOUR_REPLY
Subject: Re: [CVE-2026-64206][MODERATE REGULAR] Bluetooth: L2CAP test
Just testing public-inbox replies.
Thanks,
MyName
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox