Skip to content
DoS Advisory Intermediate CVE-2021-4115

GHSL-2021-077: Local denial of service in polkit - CVE-2021-4115

A file descriptor leak in polkit allows an unprivileged user to exhaust the file descriptor quota and crash polkit, causing a local denial of service.

kevinbackhouse Follow

Originally disclosed on GitHub Security Lab

There is a file descriptor leak in polkit, which can enable an unprivileged user to cause polkit to crash, due to file descriptor exhaustion.

kevinbackhouse, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A local unprivileged user could cause polkit to crash, resulting in a denial of service.

What the attacker needed

Local unprivileged user

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Polkit is a system service that decides whether a user is allowed to perform privileged actions. A file descriptor is a small handle a program uses to talk to files or other services, and each program has a limited number of them. Because polkit sometimes forgets to release one of these handles, a normal user can keep triggering that mistake until polkit runs out of handles and crashes.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by kevinbackhouse

View all

47 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.