Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-21944

ksmbd: fix bug on trap in smb2_lock

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix bug on trap in smb2_lock If lock count is greater than 1, flags could be old value. It should be checked with flags of smb_lock, not flags. It will cause bug-on trap from locks_free_lock in error handling routine.

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

  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 11e0e74e14f1832a95092f2c98ed3b99f57797eeaffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 8994f0ce8259f812b4f4a681d8298c6ff682efaaaffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < dbcd7fdd86f77529210fe8978154a81cd479844caffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < e26e2d2e15daf1ab33e0135caf2304a0cfa2744baffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 6.1.131 to ≤ 6.1.*unaffected
  • 6.6.83 to ≤ 6.6.*unaffected
  • 6.12.19 to ≤ 6.12.*unaffected
  • 6.13.7 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References