CVE-2026-31589

Aliases:UBUNTU-CVE-2026-31589DEBIAN-CVE-2026-31589CGA-25gx-jr8x-2mg9CGA-4v23-c285-84f4CGA-5r9m-768x-r6vvCGA-6r4v-qw33-926xCGA-956w-qhwc-2wvvCGA-98c9-xwgc-3c9hCGA-cqc8-g29j-cc78CGA-f3jh-v8x6-48qvCGA-gxxv-x52f-cr86CGA-m53c-74hp-cj77CGA-r25f-36qw-g5pwCGA-vhj3-rhjg-hw33CGA-5rrv-hmwq-4cm9CGA-jgc3-hf3v-5gj3CGA-2mjp-873v-2p95CGA-2q65-m3hh-v8j7CGA-536h-9g48-8ccrCGA-7v9r-97mj-wrpfCGA-8cpf-8fpg-24mvCGA-jc2p-5cx8-w83xCGA-p4mv-fg8c-fxxgCGA-q982-44pg-x6mfCGA-wcxv-w4xp-wmp6CGA-x66j-q75q-j9fmCGA-x6rh-vpf9-8g56CGA-94w3-pjf4-2w9m
Advisory lineage Upstream: 0 Downstream: 8
Modified
Published: 24 Apr 2026, 14:42
Last modified:05 Aug 2026, 12:23

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (cve.org)
EPSS Score
0.44% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

24 Apr 2026, 14:42
Published
Vulnerability first disclosed
05 Aug 2026, 12:23
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: mm: call ->free_folio() directly in folio_unmap_invalidate() We can only call filemap_free_folio() if we have a reference to (or hold a lock on) the mapping. Otherwise, we've already removed the folio from the mapping so it no longer pins the mapping and the mapping can be removed, causing a use-after-free when accessing mapping->a_ops. Follow the same pattern as __remove_mapping() and load the free_folio function pointer before dropping the lock on the mapping. That lets us make filemap_free_folio() static as this was the only caller outside filemap.c.

CVSS Metrics

  • v4.0HIGHScore: 7.3CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.44% Percentile: 38%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • chainguardlinux-aws-6.18

    < 6.18.31-r0

  • chainguardlinux-azure-6.18

    < 0

  • chainguardlinux-desktop-6.18

    all

  • chainguardlinux-desktop-6.18-bootc

    all

  • chainguardlinux-desktop-6.18-bootc-boot-installed

    all

  • chainguardlinux-desktop-6.18-headers

    all

  • chainguardlinux-desktop-6.18-modules

    all

  • chainguardlinux-firecracker-6.18

    all

  • chainguardlinux-gcp-6.18

    < 6.18.38-r2 | < 0

  • chainguardlinux-gcp-6.18-bootc

    < 6.18.38-r2

  • chainguardlinux-gcp-6.18-bootc-boot-installed

    < 0

  • chainguardlinux-qemu-6.18

    < 0 | < 6.18.38-r2

  • chainguardlinux-qemu-6.18-bootc

    < 6.18.38-r2

  • chainguardlinux-qemu-6.18-bootc-boot-installed

    < 0

  • chainguardlinux-qemu-melange

    < 0

  • chainguardlinux-vmware-6.18

    < 0

  • debianlinux

    < 6.19.14-1

  • ubuntulinux

    all | < 7.0.0-27.27

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 7.0.0-1008.8

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.14

    all

  • ubuntulinux-aws-6.17

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-azure

    all | all | < 7.0.0-1010.10

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    all

  • ubuntulinux-azure-6.14

    all

  • ubuntulinux-azure-6.17

    < 6.17.0-1022.22

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all | < 7.0.0-1009.9

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.14

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-nvidia-6.14

    all

  • ubuntulinux-bluefield

    all

  • ubuntulinux-gcp

    all | all | < 7.0.0-1007.7

  • ubuntulinux-gcp-5.11

    all

Showing first 50 affected entries in server-rendered view.

References (19)