Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38614

HIGH 7.8EPSS 15%

eventpoll: Fix semi-unbounded recursion

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 71379495ab70eaba19224bd71b5b9b399eb85e04; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 1b13b033062824495554e836a1ff5f85ccf6b039; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 2a0c0c974bea9619c6f41794775ae4b97530e0e6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 7a2125962c42d5336ca0495a9ce4cb38a63e9161; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < ea5f97dbdcb1651581a22bd10afd2f0dd9dc11d6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 3542c90797bc3ab83ebab54b737d751cf3682036; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < f2e467a48287c868818085aa35389a224d226732; 8216e1a0d47cae06a75c42346f19dffe14e42d57; 28a92748aa4bc57d35e7b079498b0ac2e7610a37; 7eebcd4792c5a341559aed327b6afecbb1c46402; …
  • Anyone running Linux 2.6.38

Vulnerability facts

Affected
Linux >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 71379495ab70eaba19224bd71b5b9b399eb85e04; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 1b13b033062824495554e836a1ff5f85ccf6b039; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 2a0c0c974bea9619c6f41794775ae4b97530e0e6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 7a2125962c42d5336ca0495a9ce4cb38a63e9161; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < ea5f97dbdcb1651581a22bd10afd2f0dd9dc11d6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 3542c90797bc3ab83ebab54b737d751cf3682036; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < f2e467a48287c868818085aa35389a224d226732; 8216e1a0d47cae06a75c42346f19dffe14e42d57; 28a92748aa4bc57d35e7b079498b0ac2e7610a37; 7eebcd4792c5a341559aed327b6afecbb1c46402; …; Linux 2.6.38
Fixed in
Linux 71379495ab70eaba19224bd71b5b9b399eb85e04, Linux 1b13b033062824495554e836a1ff5f85ccf6b039, Linux 2a0c0c974bea9619c6f41794775ae4b97530e0e6, Linux 7a2125962c42d5336ca0495a9ce4cb38a63e9161, Linux 3542c90797bc3ab83ebab54b737d751cf3682036
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-674
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: eventpoll: Fix semi-unbounded recursion Ensure that epoll instances can never form a graph deeper than EP_MAX_NESTS+1 links. Currently, ep_loop_check_proc() ensures that the graph is loop-free and does some recursion depth checks, but those recursion depth checks don't limit the depth of the resulting tree for two reasons: - They don't look upwards in the tree. - If there are multiple downwards paths of different lengths, only one of the paths is actually considered for the depth check since commit 28d82dc1c4ed ("epoll: limit paths"). Essentially, the current recursion depth check in ep_loop_check_proc() just serves to prevent it from recursing too deeply while checking for loops. A more thorough check is done in reverse_path_check() after the new graph edge has already been created; this checks, among other things, that no paths going upwards from any non-epoll file with a length of more than 5 edges exist. However, this check does not apply to non-epoll files. As a result, it is possible to recurse to a depth of at least roughly 500, tested on v6.15. (I am unsure if deeper recursion is possible; and this may have changed with commit 8c44dac8add7 ("eventpoll: Fix priority inversion problem").) To fix it: 1. In ep_loop_check_proc(), note the subtree depth of each visited node, and use subtree depths for the total depth calculation even when a subtree has already been visited. 2. Add ep_get_upwards_depth_proc() for similarly determining the maximum depth of an upwards walk. 3. In ep_loop_check(), use these values to limit the total path length between epoll nodes to EP_MAX_NESTS edges.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 71379495ab70eaba19224bd71b5b9b399eb85e04; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 1b13b033062824495554e836a1ff5f85ccf6b039; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 2a0c0c974bea9619c6f41794775ae4b97530e0e6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 7a2125962c42d5336ca0495a9ce4cb38a63e9161; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < ea5f97dbdcb1651581a22bd10afd2f0dd9dc11d6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 3542c90797bc3ab83ebab54b737d751cf3682036; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < f2e467a48287c868818085aa35389a224d226732; 8216e1a0d47cae06a75c42346f19dffe14e42d57; 28a92748aa4bc57d35e7b079498b0ac2e7610a37; 7eebcd4792c5a341559aed327b6afecbb1c46402; …—cvelist
Linux2.6.38—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38614. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38614.md
Affected: Linux >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 71379495ab70eaba19224bd71b5b9b399eb85e04; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 1b13b033062824495554e836a1ff5f85ccf6b039; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 2a0c0c974bea9619c6f41794775ae4b97530e0e6; >= 22bacca48a1755f79b7e0f1…
Fixed in: Linux 71379495ab70eaba19224bd71b5b9b399eb85e04, Linux 1b13b033062824495554e836a1ff5f85ccf6b039, Linux 2a0c0c974bea9619c6f41794775ae4b97530e0e6, Linux 7a2125962c42d5336ca0495a9ce4cb38a63e9161, Linux 3542c90797bc3ab83ebab54b737d751cf3682036

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38614 being exploited?

There is no confirmed exploitation: CVE-2025-38614 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38614?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38614?

Linux >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 71379495ab70eaba19224bd71b5b9b399eb85e04; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 1b13b033062824495554e836a1ff5f85ccf6b039; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 2a0c0c974bea9619c6f41794775ae4b97530e0e6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 7a2125962c42d5336ca0495a9ce4cb38a63e9161; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < ea5f97dbdcb1651581a22bd10afd2f0dd9dc11d6; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < 3542c90797bc3ab83ebab54b737d751cf3682036; >= 22bacca48a1755f79b7e0f192ddb9fbb7fc6e64e, < f2e467a48287c868818085aa35389a224d226732; 8216e1a0d47cae06a75c42346f19dffe14e42d57; 28a92748aa4bc57d35e7b079498b0ac2e7610a37; 7eebcd4792c5a341559aed327b6afecbb1c46402; …; Linux 2.6.38.

Is there a fix for CVE-2025-38614?

Yes. Fixed in Linux 71379495ab70eaba19224bd71b5b9b399eb85e04, Linux 1b13b033062824495554e836a1ff5f85ccf6b039, Linux 2a0c0c974bea9619c6f41794775ae4b97530e0e6, Linux 7a2125962c42d5336ca0495a9ce4cb38a63e9161, Linux 3542c90797bc3ab83ebab54b737d751cf3682036. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38614?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors