CVE-2024-35797
mediumpriority · track · 22EPSS 0.007 · 51 %ileDEEURUUSEPSS · scored 2026-10-23
In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix two shmem bugs When cachestat on shmem races with swapping and invalidation, there are two possible bugs: 1) A swapin error can have resulted in a poisoned swap entry in the shmem inode's xarray. Calling get_shadow_from_swap_cache() on it will result in an out-of-bounds access to swapper_spaces[]. Validate the entry with non_swap_entry() before going further. 2) When we find a valid swap entry in the shmem's inode, the shadow entry in the swapcache might not exist yet: swap IO is still in progress and we're before __remove_mapping; swapin, invalidation, or swapoff have removed the shadow from swapcache after we saw the shmem swap entry. This will send a NULL to workingset_test_recent(). The latter purely operates on pointer bits, so it won't crash - node 0, memcg ID 0, eviction timestamp 0, etc. are all valid inputs - but it's a bogus test. In theory that could result in a false "recently evicted" count. Such a false positive wouldn't be the end of the world. But for code clarity and (future) robustness, be explicit about this case. Bail on get_shadow_from_swap_cache() returning NULL.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.1–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (75)
Products and version ranges known to be affected.
- IBM Business Automation Workflow 24.0.0all versionscert_bundDEcpe:/a:ibm:business_automation_workflow:24.0.0
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1188Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2024-05-20csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Linux Kernel ausnutzen, um einen Denial of Service Angriff durchzuführen.
- WID-SEC-W-2025-1293IBM DataPower Gateway: Mehrere SchwachstellenDeutsch2025-06-10csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM DataPower Gateway ausnutzen, um seine Privilegien zu erhöhen, Informationen auszuspähen, einen Denial-of-Service auszulösen oder weitere unspezifizierte Auswirkungen zu erzielen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-35797cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-35797/cnnvd
- https://git.kernel.org/stable/c/24a0e73d544439bb9329fbbafac44299e548a677cnnvd
- https://git.kernel.org/stable/c/b79f9e1ff27c994a4c452235ba09e672ec698e23cnnvd
- https://git.kernel.org/stable/c/d5d39c707a4cf0bcc84680178677b97aa2cb2627cnnvd
- https://git.kernel.org/stable/c/d962f6c583458037dc7e529659b2b02b9dd3d94bcnnvd
- https://vigilance.fr/vulnerability/Linux-kernel-multiple-vulnerabilities-dated-20-05-2024-44342cnnvd
- https://git.kernel.org/stable/c/24a0e73d544439bb9329fbbafac44299e548a677enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan