CVE-2025-37868
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
09/05/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/xe/userptr: fix notifier vs folio deadlock<br />
<br />
User is reporting what smells like notifier vs folio deadlock, where<br />
migrate_pages_batch() on core kernel side is holding folio lock(s) and<br />
then interacting with the mappings of it, however those mappings are<br />
tied to some userptr, which means calling into the notifier callback and<br />
grabbing the notifier lock. With perfect timing it looks possible that<br />
the pages we pulled from the hmm fault can get sniped by<br />
migrate_pages_batch() at the same time that we are holding the notifier<br />
lock to mark the pages as accessed/dirty, but at this point we also want<br />
to grab the folio locks(s) to mark them as dirty, but if they are<br />
contended from notifier/migrate_pages_batch side then we deadlock since<br />
folio lock won&#39;t be dropped until we drop the notifier lock.<br />
<br />
Fortunately the mark_page_accessed/dirty is not really needed in the<br />
first place it seems and should have already been done by hmm fault, so<br />
just remove it.<br />
<br />
(cherry picked from commit bd7c0cb695e87c0e43247be8196b4919edbe0e85)
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12.19 (including) | 6.12.25 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13.7 (including) | 6.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.14.1 (including) | 6.14.4 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



