CVE-2024-35797

Memory disclosure via poisoned shmem swap entry

Published May 17, 2024 · Updated Aug 5, 2026

Out-of-bounds access in Linux kernel cachestat starting in 6.5 allows local users to read kernel memory or interrupt service. get_shadow_from_swap_cache() indexes swapper_spaces[] without first rejecting a poisoned shmem swap entry, and a missing swap-cache shadow is passed to workingset_test_recent(). Reachability requires cachestat on shared memory to race with swapping or invalidation; the second fault can instead report a false recently-evicted count.

CVSS severity7.1
High
EPSS probability0.67%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Out-of-bounds access in Linux kernel cachestat starting in 6.5 allows local users to read kernel memory or interrupt service. get_shadow_from_swap_cache() indexes swapper_spaces[] without first rejecting a poisoned shmem swap entry, and a missing swap-cache shadow is passed to workingset_test_recent(). Reachability requires cachestat on shared memory to race with swapping or invalidation; the second fault can instead report a false recently-evicted count.

The record

CVE
CVE-2024-35797
Published
May 17, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-787
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. May 17, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=6.5
  2. Affected versionversion=cf264e1329fb0307e044f7675849f9f38b44c11a <24a0e73d544439bb9329fbbafac44299e548a677
  3. Affected versionversion=cf264e1329fb0307e044f7675849f9f38b44c11a <b79f9e1ff27c994a4c452235ba09e672ec698e23
  4. Affected versionversion=cf264e1329fb0307e044f7675849f9f38b44c11a <d5d39c707a4cf0bcc84680178677b97aa2cb2627
  5. Affected versionversion=cf264e1329fb0307e044f7675849f9f38b44c11a <d962f6c583458037dc7e529659b2b02b9dd3d94b

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=6.5; version=cf264e1329fb0307e044f7675849f9f38b44c11a <24a0e73d544439bb9329fbbafac44299e548a677; version=cf264e1329fb0307e044f7675849f9f38b44c11a <b79f9e1ff27c994a4c452235ba09e672ec698e23; version=cf264e1329fb0307e044f7675849f9f38b44c11a <d5d39c707a4cf0bcc84680178677b97aa2cb2627; version=cf264e1329fb0307e044f7675849f9f38b44c11a <d962f6c583458037dc7e529659b2b02b9dd3d94b

Published CVSS scores

7.1kernel.orgCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
5.3CISA-ADPCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
5.5NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-787Out-of-bounds Write

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo