5.7

CVE-2026-99643: khugepaged: fix readahead lock inversion in collapse_file()

Received
AliasesDEBIAN-CVE-2026-99643UBUNTU-CVE-2026-99643CGA-6vxv-vw9w-9pf6
Published 20-11-2026Last modified 23-11-2026

Vulnerability summary

CVE-2026-99643 is a medium (CVSS 5.7) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.7/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.20%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-11-2026
    PublishedVulnerability first disclosed.
  2. 23-11-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: khugepaged: fix readahead lock inversion in collapse_file() collapse_file() can call page_cache_sync_readahead() while still holding source folios locked. If truncate holds mapping->invalidate_lock exclusively and waits for one of those folios, readahead waits for invalidate_lock and neither side can make progress. We need to release those folio locks before starting readahead. On a page cache miss, roll back first, populate the collapse range, and retry once. Doing readahead after rollback avoids an extra pass when all folios are already present. If another miss occurs on retry, give up rather than keep retrying while truncate or reclaim removes folios. Keep page_cache_sync_readahead() and wait for read I/O with filemap_lock_folio(), releasing each folio before moving to the next. The existing uptodate check during collapse still handles read errors. Shmem uses shmem_get_folio() for swapin and fallocated folios without taking mapping->invalidate_lock, so it is unaffected.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

20-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu157 products
  • linuxAll versions (No fix recorded)
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard42 products
  • linux-aws-6.18All versions (No fix recorded) | < 6.18.66-r0
  • linux-aws-6.18-boot-installedAll versions (No fix recorded) | < 6.18.66-r0
  • linux-aws-6.18-bootcAll versions (No fix recorded)
  • linux-aws-6.18-bootc-boot-installedAll versions (No fix recorded) | < 6.18.66-r0
  • linux-aws-6.18-fips-boot-installedAll versions (No fix recorded) | < 6.18.66-r0
Debian1 product
  • linuxAll versions (No fix recorded) | < 7.3.5-1

3 vendors · 200 products · Showing 200 of 201

References

8 links