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-38282

MEDIUM 5.5EPSS 12%

kernfs: Relax constraint in draining guard

Mitigation

  • Upgrade Linux to 071d8e4c2a3b0999a9b822e2eb8854784a350f8a or later.

Who should check

  • Anyone running Linux >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 2d6a67c2b3b87808a347dc1047b520a9dd177a4f; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6c81f1c7812c61f187bed1b938f1d2e391d503ab; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 72275c888f8962b406ee9c6885c79bf68cca5a63; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 071d8e4c2a3b0999a9b822e2eb8854784a350f8a
  • Anyone running Linux 6.1

Vulnerability facts

Affected
Linux >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 2d6a67c2b3b87808a347dc1047b520a9dd177a4f; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6c81f1c7812c61f187bed1b938f1d2e391d503ab; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 72275c888f8962b406ee9c6885c79bf68cca5a63; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 071d8e4c2a3b0999a9b822e2eb8854784a350f8a; Linux 6.1
Fixed in
Linux 2d6a67c2b3b87808a347dc1047b520a9dd177a4f, Linux 6c81f1c7812c61f187bed1b938f1d2e391d503ab, Linux 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927, Linux 72275c888f8962b406ee9c6885c79bf68cca5a63, Linux 071d8e4c2a3b0999a9b822e2eb8854784a350f8a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
Published
Modified

Description

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.)

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 2d6a67c2b3b87808a347dc1047b520a9dd177a4f; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6c81f1c7812c61f187bed1b938f1d2e391d503ab; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 72275c888f8962b406ee9c6885c79bf68cca5a63; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 071d8e4c2a3b0999a9b822e2eb8854784a350f8a—cvelist
Linux6.1—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-38282. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38282.md
Affected: Linux >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 2d6a67c2b3b87808a347dc1047b520a9dd177a4f; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6c81f1c7812c61f187bed1b938f1d2e391d503ab; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927; >= bdb2fd7fc56e197a63c0b0e…
Fixed in: Linux 2d6a67c2b3b87808a347dc1047b520a9dd177a4f, Linux 6c81f1c7812c61f187bed1b938f1d2e391d503ab, Linux 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927, Linux 72275c888f8962b406ee9c6885c79bf68cca5a63, Linux 071d8e4c2a3b0999a9b822e2eb8854784a350f8a

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-38282 being exploited?

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

How serious is CVE-2025-38282?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38282?

Linux >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 2d6a67c2b3b87808a347dc1047b520a9dd177a4f; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6c81f1c7812c61f187bed1b938f1d2e391d503ab; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 72275c888f8962b406ee9c6885c79bf68cca5a63; >= bdb2fd7fc56e197a63c0b0e7e07d25d5e20e7c72, < 071d8e4c2a3b0999a9b822e2eb8854784a350f8a; Linux 6.1.

Is there a fix for CVE-2025-38282?

Yes. Fixed in Linux 2d6a67c2b3b87808a347dc1047b520a9dd177a4f, Linux 6c81f1c7812c61f187bed1b938f1d2e391d503ab, Linux 6bfb154f95d5f0ab7ed056f23aba8c1a94cb3927, Linux 72275c888f8962b406ee9c6885c79bf68cca5a63, Linux 071d8e4c2a3b0999a9b822e2eb8854784a350f8a. Upgrade Linux to 071d8e4c2a3b0999a9b822e2eb8854784a350f8a or later.

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

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