Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47505

7.8 · HIGH
Published May 24, 2024 linux CWE-416 EPSS 0.25% (17th pctl)

Overview

CVE-2021-47505 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

aio: fix use-after-free due to missing POLLFREE handling

signalfd_poll() and binder_poll() are special in that they use a

waitqueue whose lifetime is the current task, rather than the struct

file as is normally the case. This is okay for blocking polls, since a

blocking poll occurs within one task; however, non-blocking polls

require another solution. This solution is for the queue to be cleared

before it is freed, by sending a POLLFREE notification to all waiters.

Unfortunately, only eventpoll handles POLLFREE. A second type of

non-blocking poll, aio poll, was added in kernel v4.18, and it doesn't

handle POLLFREE. This allows a use-after-free to occur if a signalfd or

binder fd is polled with aio poll, and the waitqueue gets freed.

Fix this by making aio poll handle POLLFREE.

A patch by Ramji Jiyani <[email protected]>

(https://lore.kernel.org/r/[email protected])

tried to do th

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.18, < 4.19.221 Affected

Frequently Asked Questions

What is CVE-2021-47505?

CVE-2021-47505 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47505?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47505?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47505?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47505 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.