Lucene search
+L

Linux Distros Unpatched Vulnerability : CVE-2026-99705

🗓️ 20 Nov 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 8 Views

Truncation in mm: memory fails to remove mapped folios, causing a kernel BUG.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2026-99705
20 Nov 202608:45
–circl
cve
CVE
CVE-2026-99705
20 Nov 202605:50
–cve
cvelist
Cvelist
CVE-2026-99705 mm: memory: fix truncation removing mapped folios
20 Nov 202605:50
–cvelist
debiancve
Debian CVE
CVE-2026-99705
20 Nov 202614:54
–debiancve
euvd
EUVD
EUVD-2026-130998
20 Nov 202605:50
–euvd
nvd
NVD
CVE-2026-99705
20 Nov 202606:18
–nvd
osv_bell
osv_bell
BELL-CVE-2026-99705
21 Nov 202606:08
–osv_bell
osv_debian
osv_debian
DEBIAN-CVE-2026-99705
20 Nov 202606:18
–osv_debian
ptsecurity
Positive Technologies
PT-2026-152585
20 Nov 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2026-99705: Linux: In the Linux kernel, the following vulnerability has been resolved: mm: memory: fix truncation removing mapped folios…
20 Nov 202600:00
–rapid7
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(384270);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/11/20");

  script_cve_id("CVE-2026-99705");

  script_name(english:"Linux Distros Unpatched Vulnerability : CVE-2026-99705");

  script_set_attribute(attribute:"synopsis", value:
"The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be
patched.");
  script_set_attribute(attribute:"description", value:
"The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied
patch available.

  - mm: memory: fix truncation removing mapped folios Ayush reported an issue that shmem/tmpfs folios are
    still mapped when truncating them on production:  BUG: Bad page cache in process ... pfn:... page dumped
    because: still mapped when deleted  I reproduced the issue with Ayush's reproducer [1] with the latest
    mm-unstable branch, and I got the following crash info. From the dump message, we can see that
    truncate_inode_folio() is really trying to remove mapped folios, which is incorrect.  [ 189.171977] page:
    refcount:3 mapcount:1 mapping:00000000fe168ee1 index:0x3880 pfn:0x191647 [ 189.171995]
    memcg:ffff0000cc073d40 [ 189.171997] aops:shmem_aops ino:3c01 dentry name(?):memfd:runsc-memory [
    189.172006] flags: 0x17fffef0002022d(locked|referenced|uptodate|lru|
    workingset|swapbacked|node=0|zone=2|lastcpupid=0x3ffff) ....... [ 189.172017] page dumped because:
    VM_BUG_ON_FOLIO(folio_mapped(folio)) [ 189.172026] ------------[ cut here ]------------ [ 189.172027]
    kernel BUG at mm/filemap.c:155! [ 189.172057] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
    ....... [ 189.177721] CPU: 3 UID: 0 PID: 5521 Comm: repro Kdump: loaded Tainted: 7.3.0-rc4+ #277
    PREEMPT(lazy) ....... [ 189.183986] Call trace: [ 189.184124] filemap_unaccount_folio+0xf0/0x1e8 (P) [
    189.184391] __filemap_remove_folio+0x34/0x160 [ 189.184633] filemap_remove_folio+0x4c/0xb0 [ 189.184859]
    truncate_inode_folio+0x34/0x58 [ 189.185087] shmem_undo_range+0x220/0x658 [ 189.185308]
    shmem_fallocate+0x2f0/0x470 [ 189.185527] vfs_fallocate+0x128/0x328 ...... [ 189.187078]
    el0t_64_sync+0x184/0x188  After analysis, I believe the race exists between truncation and MADV_DONTNEED,
    and shmem's ->map_pages() merely makes the issue easier to reproduce. Since MADV_DONTNEED synchronously
    releases the pagetable page before calling tlb_flush_rmaps(), this could cause another thread's truncation
    to skip zap_pte_range() (due to pmd is none) but still observe the folio's mapcount as non-zero. A
    possible race scenario is as follows: CPU 0 CPU 1 shmem_fallocate madvise_dontneed_single_vma
    unmap_mapping_range ....... ...... (filemap_map_pages() remap folios) zap_pte_range truncate_inode_folio
    zap_empty_pte_table(pmd clear) unmap_mapping_folio ...... zap_pmd_range (saw pmd none, skip)
    filemap_remove_folio BUG_ON(folio_mapped) tlb_flush_rmaps(remove rmaps) To fix this issue, we should move
    the pmd clear operation (via zap_empty_pte_table()) to after tlb_flush_rmaps() and use
    sync_with_folio_pmd_zap() to sync with concurrent zapping, so that when we find a pmd_none() while
    unmapping a folio without holding the PTL, the folio's mappings are guaranteed to have been removed via
    tlb_flush_rmaps(). Meanwhile move the second pmd_none() check to where it belongs: if splitting zapped the
    PMD. (CVE-2026-99705)

Note that Nessus relies on the presence of the package as reported by the vendor.");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2026-99705");
  script_set_attribute(attribute:"see_also", value:"https://security-tracker.debian.org/tracker/CVE-2026-99705");
  script_set_attribute(attribute:"solution", value:
"There is no known solution at this time.");
  script_set_attribute(attribute:"agent", value:"unix");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:U/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:U/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-99705");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_set_attribute(attribute:"vendor_unpatched", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/11/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/11/20");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:14.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:10");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:redhat:enterprise_linux:10");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:linux");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:kernel");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info2.nasl", "set_linux_os_id.nasl");
  script_require_keys("Host/cpu", "Host/local_checks_enabled", "global_settings/vendor_unpatched", "Host/OS/identifier");
  script_require_ports("Host/OS/Debian Linux-14", "Host/OS/Red Hat Enterprise Linux-10");

  exit(0);
}

if (!get_kb_item("global_settings/vendor_unpatched")) exit(0, "Unpatched Vulnerabilities Detection not active.");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (empty_or_null(get_one_kb_item("Host/Debian/dpkg-l")) && empty_or_null(get_one_kb_item("Host/RedHat/rpm-list"))) audit(AUDIT_PACKAGE_LIST_MISSING);

include('linux_unpatched.inc');

var distro_constraints_array = {
  "Debian Linux-14": {
    "package_manager": "dpkg-l",
    "constraints": [
      {
        "release": "14",
        "pkgs": [
          {"reference": "bpftool"},
          {"reference": "hyperv-daemons"},
          {"reference": "intel-sdsi"},
          {"reference": "libcpupower-dev"},
          {"reference": "libcpupower1"},
          {"reference": "linux-base-7.3.4+deb14-alpha-generic"},
          {"reference": "linux-base-7.3.4+deb14-amd64"},
          {"reference": "linux-base-7.3.4+deb14-arm64"},
          {"reference": "linux-base-7.3.4+deb14-arm64-16k"},
          {"reference": "linux-base-7.3.4+deb14-armmp"},
          {"reference": "linux-base-7.3.4+deb14-armmp-lpae"},
          {"reference": "linux-base-7.3.4+deb14-cloud-amd64"},
          {"reference": "linux-base-7.3.4+deb14-cloud-arm64"},
          {"reference": "linux-base-7.3.4+deb14-loong64"},
          {"reference": "linux-base-7.3.4+deb14-m68k"},
          {"reference": "linux-base-7.3.4+deb14-parisc"},
          {"reference": "linux-base-7.3.4+deb14-parisc64"},
          {"reference": "linux-base-7.3.4+deb14-powerpc"},
          {"reference": "linux-base-7.3.4+deb14-powerpc64"},
          {"reference": "linux-base-7.3.4+deb14-powerpc64-64k"},
          {"reference": "linux-base-7.3.4+deb14-powerpc64le"},
          {"reference": "linux-base-7.3.4+deb14-powerpc64le-64k"},
          {"reference": "linux-base-7.3.4+deb14-riscv64"},
          {"reference": "linux-base-7.3.4+deb14-rt-amd64"},
          {"reference": "linux-base-7.3.4+deb14-rt-arm64"},
          {"reference": "linux-base-7.3.4+deb14-s390x"},
          {"reference": "linux-base-7.3.4+deb14-sh7751r"},
          {"reference": "linux-base-7.3.4+deb14-sparc64"},
          {"reference": "linux-base-7.3.4+deb14-test"},
          {"reference": "linux-base-alpha-generic"},
          {"reference": "linux-base-armmp"},
          {"reference": "linux-base-armmp-lpae"},
          {"reference": "linux-base-loong64"},
          {"reference": "linux-base-m68k"}
        ]
      }
    ]
  },
  "Red Hat Enterprise Linux-10": {
    "package_manager": "rpm-list",
    "constraints": [
      {
        "release": "10",
        "pkgs": [
          {"reference": "kernel"}
        ]
      }
    ]
  }
};

var distro_constraints_values = linux_unpatched::get_distro_constraints(distro_constraints_arr:distro_constraints_array);
if (empty_or_null(distro_constraints_values)) audit(AUDIT_HOST_NOT, 'affected');

var third_party_support = get_kb_item('Host/OS/extended-third-party');
if (!empty_or_null(third_party_support)) {
    var third_party_vendors = distro_constraints_values['third_party'];
    if (!empty_or_null(third_party_vendors)) {
        var vendor;
        foreach vendor (third_party_vendors) {
            if (vendor == third_party_support) exit(0, 'A third party management patch is available for this vulnerability from ' + vendor + '.\n');
        }
    }
}

var report = linux_unpatched::check_unpatched_constraints(distro_constraints_values:distro_constraints_values);

if (!empty_or_null(report))
{
  security_report_v4(
      port       : 0,
      severity   : SECURITY_WARNING,
      extra      : report
  );
  exit(0);
}
else
{
  audit(AUDIT_HOST_NOT, 'affected');
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Nov 2026 00:00Current
6Medium risk
Vulners AI Score6
EPSS0.00167
8