CVE-2025-22042 ksmbd: add bounds check for create lease context

High 8.1 Published Updated

Missing bounds check in ksmbd allows attackers to cause denial of service or potentially escalate privileges via crafted SMB requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-22042?

CVE-2025-22042 is a high-severity missing authorization vulnerability in Debian Debian Linux, published on 16 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

ksmbd: add bounds check for create lease context

Add missing bounds check for create lease context.

Which versions are affected by CVE-2025-22042?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-22042?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-22042 being exploited?

There is no known exploitation of CVE-2025-22042 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-77564, BELL-CVE-2025-22042, DEBIAN-CVE-2025-22042, GHSA-9x7h-v87g-j6jw, ROOT-OS-UBUNTU-2204-CVE-2025-22042, ROOT-OS-UBUNTU-2404-CVE-2025-22042 and 1 more.

Is CVE-2025-22042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free