EN
FREN
CVE-2025-38282, kernfs: Relax constraint in draining guard
5.5Medium

CVE-2025-38282 : Linux · medium

CVE-2025-38282 · published on July 10, 2025 at 07:42 · updated on November 5, 2026 at 21:02 · CVSS 3.1, read on November 14, 2026

5.5CVSS score
503days since publication
linux

The CVSS score measures technical severity, not your exposure. Here: local attack, no particular condition, no action by the victim. A high score on software you don't use doesn't concern you, and a medium score on exposed software still needs fixing.

What this vulnerability allows, plainly. Denial of service, from the machine itself. The attacker stops the site from answering.

In practice, for a business:

  • shop closed during selling hours
  • customers gone to a competitor, often for good
  • extra bandwidth and callout costs

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2025-38282 vulnerability ?

In the Linux kernel, the following vulnerability has been resolved: kernfs: Relax constraint in draining guard The active reference lifecycle provides the break/unbreak mechanism but the active reference is not truly active after unbreak -- callers don't use it afterwards but it's important for proper pairing of kn->, active counting. Assuming this mechanism is in place, the WARN check in kernfs_should_drain_open_files() is too sensitive -- it may transiently catch those (rightful) callers between kernfs_unbreak_active_protection() and kernfs_put_active() as found out by Chen Ridong: kernfs_remove_by_name_ns kernfs_get_active // active=1 __kernfs_remove // active=0x80000002 kernfs_drain ... wait_event //waiting (active == 0x80000001) kernfs_break_active_protection // active = 0x80000001 // continue kernfs_unbreak_active_protection // active = 0x80000002 ... kernfs_should_drain_open_files // warning occurs kernfs_put_active To avoid the false positives (mind panic_on_warn) remove the check altogether. (This is meant as quick fix, I think active reference break/unbreak may be simplified with larger rework.)

Just before this one, two listings for the same software were published: CVE-2026-99804 (2026-11-20), then CVE-2026-99804 (2026-11-20).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2025-38282 vulnerability ?

  • Linux, jusqu'aux versions 2d6a67c2b3b87808a347dc1047b520a9dd177a4f, 6c81f1c7812c61f187bed1b938f1d2e391d503ab, 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927, 72275c888f8962b406ee9c6885c79bf68cca5a63, 071d8e4c2a3b0999a9b822e2eb8854784a350f8a et 6.1 incluses et à partir de la version 2fd7fc56e197a63c0b0e7e07d25d5e20e7c72

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2025-38282 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2025-38282 vulnerability affects Linux up to versions 2d6a67c2b3b87808a347dc1047b520a9dd177a4f, 6c81f1c7812c61f187bed1b938f1d2e391d503ab, 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927, 72275c888f8962b406ee9c6885c79bf68cca5a63 et 071d8e4c2a3b0999a9b822e2eb8854784a350f8a inclusive. This software does not appear in the estate we measure: our readings cover websites and their components, not network equipment or firmware, which publish no version number visible from outside. The exposure of this vulnerability therefore cannot be quantified by us, and we do not estimate it. The flaw was published on 10 July 2025. It was updated on 5 November 2026. The version reading is dated 14 November 2026. To fix it, Linux must be updated beyond version 2d6a67c2b3b87808a347dc1047b520a9dd177a4f: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 18 924 flaws on this software since the census began, 8 800 of them in 2026, the oldest dating from 10 January 2015. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Linux.

How to fix the CVE-2025-38282 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2025-38282 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 6 references published for this flaw, 6 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue