CVE-2025-21944

ksmbd: fix bug on trap in smb2_lock

State
Published
Severity
Not scored
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 11e0e74e14f1832a95092f2c98ed3b99f57797eeAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 8994f0ce8259f812b4f4a681d8298c6ff682efaaAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before dbcd7fdd86f77529210fe8978154a81cd479844cAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 2b70e3ac79eacbdf32571f7af48dd81cdd957ca8Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before e26e2d2e15daf1ab33e0135caf2304a0cfa2744bAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.1.131 through 6.1.*Not affected
  • 6.6.83 through 6.6.*Not affected
  • 6.12.19 through 6.12.*Not affected
  • 6.13.7 through 6.13.*Not affected
  • 6.14 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.