CVE-2025-38411

netfs: Fix double put of request

published July 25, 2025

CVSS
—
EPSS
0%
Percentile
27.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

netfs: Fix double put of request

If a netfs request finishes during the pause loop, it will have the ref

that belongs to the IN_PROGRESS flag removed at that point - however, if it

then goes to the final wait loop, that will *also* put the ref because it

sees that the IN_PROGRESS flag is clear and incorrectly assumes that this

happened when it called the collector.

In fact, since IN_PROGRESS is clear, we shouldn't call the collector again

since it's done all the cleanup, such as calling ->ki_complete().

Fix this by making netfs_collect_in_app() just return, indicating that

we're done if IN_PROGRESS is removed.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00354 · 27.8th percentile
Published
2025-07-25T13:20Z
EPSS history
Timeline
  • 25 JUL 13:20Z
    netfs: Fix double put of request
    cvelistv5