Vulnerabilities by month / November 2026

CVE-2026-139798

Published November 30, 2026

What it is

The Linux kernel can lose track of protective markers on a program's memory when that memory's settings are changed at the same moment. As a result, parts of a program's memory may not be copied when it starts a child process, or may be wrongly overwritten, and the count of memory locked in place can become wrong.

Written in plain English by AI from the official record. Show the official wording

In the Linux kernel, the following vulnerability has been resolved: mm: do not unintentionally overwrite atomic VMA flags Patch series "mm: avoid losing atomic VMA flags", v1. Since commit 2ab7f1bbafc9 ("mm/madvise: allow guard page install/remove under VMA lock"), VMA_MAYBE_GUARD_BIT can be set atomically under the VMA read lock. However, a number of places wrongly assume the flags are stable under the read lock, which can cause stale atomic VMA flags to overwrite existing valid ones. Additionally, one case in which VMA_SOFTDIRTY_BIT was overwritten is also addressed. This series addresses each of these, while keeping the logic inline with existing conventions. Each patch in this series is a hotfix. This patch (of 4): madvise, mlock and mprotect take a copy of a VMA's flags holding only the VMA read lock, later writing it back under the write lock (in madvise_update_vma(), mlock_fixup(), mlock_vma_pages_range() and mprotect_fixup()). This was done on the assumption that VMA flags cannot change with a read lock held. However this changed in commit 2ab7f1bbafc9 ("mm/madvise: allow guard page install/remove under VMA lock"), which allowed VM_ATOMIC_SET_ALLOWED flags (currently only VMA_MAYBE_GUARD_BIT) to be written concurrently under a VMA read lock. The actual write itself is safe as this is done under the VMA write lock at which point no further concurrent writes can occur, however at this point the stale flags mean that these callers can unintentionally overwrite atomic flags incorrectly. The consequences of this are significant - a missing VMA_MAYBE_GUARD_BIT could result in page tables not being copied on fork (the vma_needs_copy() check can return false) or being overwritten on file-backed THP collapse (the file_backed_vma_is_retractable() can return true). Resolve the issue by always taking care to retain existing atomic flags when overwriting VMA flags, replacing the inconsistently named vma_flags_reset_once() with vma_overwrite_flags() to do so, and always invoking it when flags are overwritten like this. Reads are a problem too - madvise, mlock and mprotect all compare VMA flags without a VMA write lock held via vma_flags_same_pair(). This has more serious impact, as concurrent changes to atomic VMA flags can cause two sets of VMA flags to be wrongly considered different. For mprotect and madvise this causes a useless split, but mlock is impacted more seriously as it can result in mm->locked_vm underflow. Fix this by updating vma_flags_same_pair() to disregard VM_ATOMIC_SET_ALLOWED VMAs - VMA equality is the same as VMA mergeability, and atomic VMA flags are disregarded when comparing VMA flags for merge - so this is justified semantically. Additionally, remove the redundant vma_flags_same_mask() and the unused vma_flags_same() as part of the change, and replace VM_ATOMIC_SET_ALLOWED with VMA_ATOMIC_SET_ALLOWED, using the new VMA flag API. Finally, update userland VMA tests to reflect the changes.

Chance of being attacked in the next 30 days: 0.3 % (EPSS).

What it affects, and the version that fixes it

  • Linux Kernel Each release has its own fixed version: 7.3.6, 7.4-rc2.

The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.

The official record (NVD) · CVE.org

Others attackers have used in the same products

  • CVE-2026-46300 Oct 28, 2026

    A flaw in how the Linux kernel merges incoming network data can make it decrypt data on top of a file's cached contents, changing them. Someone already signed in can use it, and CISA says it can be combined with two other problems to plant web shells and run commands with full control. Attackers are already using this problem.

  • CVE-2026-53266 Sep 18, 2026

    A flaw in the Linux kernel's network bridge filtering lets an address rewrite write into a file's cached contents rather than the network packet. Someone already signed in can use this to change files they should not be able to change. Attackers are already using this problem.

  • CVE-2025-39964 Sep 18, 2026

    A timing flaw in the Linux kernel's encryption interface for programs lets two writes at once leave it in an inconsistent state. Someone already signed in to the computer can trigger it. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem.

  • CVE-2025-39682 Sep 18, 2026

    A flaw in how the Linux kernel receives encrypted (TLS) network data mishandles an empty record, so later data can be processed the wrong way. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem, and CISA notes some affected systems may be past their support life.

  • CVE-2026-53362 Aug 27, 2026

    A flaw in how the Linux kernel builds IPv6 network packets lets a user with no special rights write past the memory set aside for them. CISA says this can be used to gain full control of the system, and attackers are already using it. It can affect many products built on Linux, including SUSE and Red Hat.

Everything attackers have used in Linux Kernel