CVE-2025-22074

ksmbd: fix r_count dec/increment mismatch

State
Published
Severity
8.8 High
Published
Apr 16, 2025
Updated
Oct 30, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

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

ksmbd: fix r_count dec/increment mismatch

r_count is only increased when there is an oplock break wait, so r_count inc/decrement are not paired. This can cause r_count to become negative, which can lead to a problem where the ksmbd thread does not terminate.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8e6508c7ecb1802909f294827eff38f301d0c937 to before 8829849da3f68697b830a5b36047b0d8a50ae3edAffected
  • 09aeab68033161cb54f194da93e51a11aee6144b to before 4790bcb269e5d6d88200a67c54ae6d627332a3beAffected
  • a4261bbc33fbf99b99c80aa3a2c5097611802980 to before 457db486203c90e10c3efc87fd45cc7000b1cd36Affected
  • f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa to before 20378cf48359f39dee0ef9b61470ebe77bd49c0dAffected
  • 3aa660c059240e0c795217182cf7df32909dd917 to before c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9Affected
  • 3aa660c059240e0c795217182cf7df32909dd917 to before ddb7ea36ba7129c2ed107e2186591128618864e1Affected
  • 6.6.84 to before 6.6.87Affected
  • 6.12.20 to before 6.12.23Affected
  • 6.13.8 to before 6.13.11Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.6.87 through 6.6.*Not affected
  • 6.12.23 through 6.12.*Not affected
  • 6.13.11 through 6.13.*Not affected
  • 6.14.2 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.