CVE Database›CVE-2025-21944

CVE-2025-21944

kernel: ksmbd: fix bug on trap in smb2_lock

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · April 1, 2025

Updated · June 30, 2026

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified