Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2025-22074

ksmbd: fix r_count dec/increment mismatch

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 09aeab68033161cb54f194da93e51a11aee6144b to < 4790bcb269e5d6d88200a67c54ae6d627332a3beaffected
  • a4261bbc33fbf99b99c80aa3a2c5097611802980 to < 457db486203c90e10c3efc87fd45cc7000b1cd36affected
  • f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa to < 20378cf48359f39dee0ef9b61470ebe77bd49c0daffected
  • 3aa660c059240e0c795217182cf7df32909dd917 to < c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9affected
  • 3aa660c059240e0c795217182cf7df32909dd917 to < ddb7ea36ba7129c2ed107e2186591128618864e1affected
  • 6.6.84 to < 6.6.87affected
  • 6.12.20 to < 6.12.23affected
  • 6.13.8 to < 6.13.11affected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.6.87 to ≤ 6.6.*unaffected
  • 6.12.23 to ≤ 6.12.*unaffected
  • 6.13.11 to ≤ 6.13.*unaffected
  • 6.14.2 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References